Join me at Google+ ...

Last month I got some error messages after creating a customized onet.xml and content types in SharePoint.

One of the error messages was: A duplicate name "Item" was found. After taking a look into the SharePoint log files I found more details:

w3wp.exe (0x0474) 0x0D34 Windows SharePoint Services General 8l35 High Failed to activate site-collection-scoped features for template 'TEMPLATE#0' in site collection 'http://moss2007'.
w3wp.exe (0x0474) 0x0D34 Windows SharePoint Services General 72h9 High Failed to apply template "TEMPLATE#0" to web at URL http://moss2007.
w3wp.exe (0x0474) 0x0D34 Windows SharePoint Services General 72k2 High Failed to apply template "TEMPLATE#0" to web at URL http://moss2007, error Provisioning did not succeed. Details: Failed to create the 'Cache Profiles' list. OriginalException: A duplicate name "Item" was found. 0x8107058a

I tried to create a website based on my custom ont.xml and my custom content types. The reason for this error message was a spelling error in my custom content type:

<ContentType ID="0x010100............08}"

After removing the bracket at the end the site creation process was successful.



Get updates

 

Add comment




  Country flag
biuquote
Loading