SharePoint Internals – Hristo Pavlov’s Blog

1 May, 2008

A duplicate name “Item” was found

Filed under: SharePoint — hristopavlov @ 7:29 am

This is another strange error I got when trying to create a site or a site collection. At the time I wrote this there was only one post about this error:

http://www.eggheadcafe.com/software/aspnet/30673124/a-duplicate-name-item-w.aspx

I was experiencing exactly the same symptoms as described in the above post. However the case there was due to forgotten two zeroes between the system content type you are inheriting from and your GUID.

However this was not my case. After an hour or more investigation I found that some of the IDs of our content types were recently updated to have a different parent. However one of them was missed out so we were having an id such as:

 

<ContentTypeID=0x0101007D9DECFFC8C2403B8A74F65174E2557502” …

or if I split it

0x0101 + 00 + GUID-OF-THE-PARENT-CONTENT-TYPE + 02

That is the id of the “Item” content type + the two zeroes you shouldn’t forget (which if you do will lead to the same error message) + the GUID of the parent content type + the unique part of this child content type (02 in this case).

So the problem was that the parent content type didn’t exist anymore and after updating the GUID with the new one everything was working again.

Hope this could be useful to someone.

1 Comment »

  1. […] time trying to know how to make a layouts guid inheriting from another content type and i found out that link and that […]

    Pingback by Layouts Guid | Abdel-Rahman.IT — 27 July, 2010 @ 8:38 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

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

Create a free website or blog at WordPress.com.

%d bloggers like this: