Today I added a XSLTListViewWebPart to my Site Definition and I receivede the following error:

WebPartPageUserException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

My ListId in the XML looked like this:

<property name=”ListId” type=”System.Guid, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089″ />

Adding null=”true” resolved this issue:

<property name=”ListId” type=”System.Guid, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089″ null=”true” />

Avatar for Pieter Veenstra

By Pieter Veenstra

Business Applications and Office Apps & Services Microsoft MVP working as a Microsoft Productivity Principal Consultant at HybrIT Services. You can contact me using

2 thoughts on “XSLTListViewWebPart returns: WebPartPageUserException”
    1. thank you for your comment.

      That solution does help if you’re looking at the same named list on a different site, however on my case I was running on the same site. I simple exported and imported my web part.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.