SharePoint

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


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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ />

Adding null=”true” resolved this issue:

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

Advertisements

2 thoughts on “XSLTListViewWebPart returns: WebPartPageUserException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).]

    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.

      Like

Please leave a comment or feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s