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

How do you organise your SharePoint Projects?

In the past 5 years I've worked on quite a few projects and I've seen quite few SharePoint Developers/Consultants/Architect delivering solutions. I started in London What is the best way of deploying SharePoint Solutions? In general if the my customer wants a new website or intranet I deploy my new projects as a Partial Site … Continue reading How do you organise your SharePoint Projects?

SharePoint 2007 – Site Definition fails to deploy

There are many articles about site definitions. The trend seems to go towards using less site definitions or at least smaller site definitions and adding features to do all the work. Having said that, I still like to use site definitions for an initial deployment (read deployments before the cusotmer has gone into production) as … Continue reading SharePoint 2007 – Site Definition fails to deploy