SPEException:灾难性故障(Sharepoint中的HRESULT:0x8000FFF(E_意外)异常)

SPEException:灾难性故障(Sharepoint中的HRESULT:0x8000FFF(E_意外)异常),sharepoint,sharepoint-2007,content-type,Sharepoint,Sharepoint 2007,Content Type,一段时间以来,我一直试图通过编程方式将自定义内容类型及其自定义列从一个网站复制到另一个,每次我都会遇到不同的错误或异常。在多次尝试之后,在点击c中新复制的自定义列后,我从Sharepoint收到了更多奇怪而神秘的异常ustom内容类型。我检查了日志,结果如下: Unknown SPRequest erorr occurred. More information: 0x80070002 Unable to locate the xml-definition for FieldName with F

一段时间以来,我一直试图通过编程方式将自定义内容类型及其自定义列从一个网站复制到另一个,每次我都会遇到不同的错误或异常。在多次尝试之后,在点击c中新复制的自定义列后,我从Sharepoint收到了更多奇怪而神秘的异常ustom内容类型。我检查了日志,结果如下:

Unknown SPRequest erorr occurred. More information: 0x80070002
Unable to locate the xml-definition for FieldName with FieldId 'guid without braces', exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException...
... at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt 32 lcid, Object varIdBytes...
Failed to find the content type schema for ct-1033-0x1000blahblahblahcontenttypeId while caching feature data.
Unknown SPRequest error occurred.  More informationL 0x8000ffff
Unable to locate the xml-definition for CType with SPContentTypeId '0x0100MorecontenttypeId', exception: Microsoft.SharePoint.SPException: Catastrophic failure(Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure...
... at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt 32 lcid, Object varIdBytes...
它找不到很多内容类型架构。我不明白Sharepoint在这里试图做什么,也不明白为什么从一个网站复制自定义内容类型到另一个网站的简单过程与在网站上找到的信息相比根本不起作用,例如


感谢您为解决此问题提供的任何帮助。谢谢。

内容类型是在XML文件中定义的,这些文件必须位于文件系统(在12配置单元中)。如果要将内容类型从web应用程序复制到另一个应用程序,则必须确保这些定义也被复制。
我建议您在每个目标web应用程序上安装包含这些自定义内容类型的功能

问候,,
M

我通过SharePoint手动创建了自定义内容类型和自定义列,然后以编程方式将它们复制到新网站。我可以在12单元中的何处找到它们?