sharepoint - Unable to create a content type - A duplicate content type was found -


i'm having problem , didnt find answers on web.

i have content type named "document x" original "document" parent. (id 0x010100acea2663b318874aa9192ca9af678614)

i have content type named "document x 1" "document x" parent. (id 0x010100acea2663b318874aa9192ca9af67861401)

when create new content type named "document x 2" parent "document x", error "a duplicate content type 'document x 2' found"...

i checked uls , error isn't reported there. can create new content type other content type (out of box or others created "calendar x") cant create new 1 "document x". (and no dont have content type named that.. whatever name use, same error)

full error is:

a duplicate content type "document x" found. troubleshoot issues microsoft sharepoint foundation. correlation id: b9d36bb8-1a8e-4ef4-bbd0-fbdf8e70d73b date , time: 1/24/2011 3:00:36 pm

this error happening on content type hub site use , create content type on site only. dont create them using visual studio, in production environnement , have create them site settings or designer both give me same error.

i know dont have info give here, dont know first..

if have any idea me, appreciate lost few hours on , dont know anymore...

thanks lot!

i found problem, if can people day.

looks sharepoint have problems update field in content database.

the field nextchildbyte dbo.contenttypes table problem.

lets create content type id 0x010100acea2663b318874aa9192ca9af678614 document parent (0x0101)

sharepoint create entry in dbo.contenttypes table.

when create other content type first 1 parent.. id of new content type 0x010100acea2663b318874aa9192ca9af678614*01*) 01 came nextchildbyte field dbo.contenttypes table.

now sharepoint should update dbo.contenttypes table , set field nextchildbyte 2 next content type created using same parent 0x010100acea2663b318874aa9192ca9af678614*02*

my problem was.. sharepoint didnt update nextchildbyte field sharepoint trying create content type id 0x010100acea2663b318874aa9192ca9af678614*01* when existed...

in case.. have been able delete content type 0x010100acea2663b318874aa9192ca9af678614*01*. when recreated it, sharepoint did update nextchildbyte 2 able create more child content type after that.

edit: found afterwards blog post. looks script have fix me. best option since updating database not solution.

http://www.mattjimison.com/blog/2011/06/21/a-duplicate-content-type-found-error/

cheers!


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -