Unable to locate the xml-definition for FieldName with FieldId ‘ID’

January 25, 2008   10:12


Unable to locate the xml-definitionLast week I was building a feature to create a new content type and a few site columns. After publishing it to my SharePoint site, I was unable to activate the feature and in the log files I retrieved the following exception message:

Unable to locate the xml-definition for FieldName with FieldId ‘92d1b674-dd3a-4c43-9a50-37803d8252d1′, exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0×8000FFFF (E_UNEXPECTED)) —> System.Runtime.InteropServices.COMException (0×8000FFFF): Catastrophic failure (Exception from HRESULT: 0×8000FFFF (E_UNEXPECTED)) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes) at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes) — End of inner exception stack trace — at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varId…

I was unlucky, because uncle Google returned the magic number of zero results.

It took me some time to figure out what was the problem, and the answer is to include brackets { } around the used GUIDs in the SiteColumn field ID’s. It’s a strange inconsistency in the GUID usage, because on all other places it is not required.

Let’s hope you know what to do now, when you ever experience this error ;)

Tags: , , , , , , .





4 Comments »

  1. Thank you so much for posting this. I spent hours trying to solve this problem, and you probably saved me weeks!

    Comment by Brian — February 27, 2008 @ 2:52 pm

  2. Very useful and thanks for posting. I always thought that braces will not make differences. In this case, it did.

    Comment by Ramu — October 5, 2008 @ 5:27 am

  3. look this GeeksWithBlogs

    Comment by Antarh — February 6, 2009 @ 1:13 pm

  4. Thank you for refreshing my mind ;)

    Comment by MartinB — June 10, 2009 @ 1:06 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment





The content expressed in this blog are those of Edwin Vriethoff and do not represent his employer's view in anyway. The contents of this blog has been carefully put together, but Edwin Vriethoff is not responsible in any way for any direct or indirect harm caused by individuals or organizations using the content of this blog in any way.