SPException:灾难性故障(来自HRESULT的异常:Sharepoint中的0x8000FFF(E_UNEXPECTED)

问题描述 投票:0回答:1

我一直在尝试以编程方式将自定义内容类型及其自定义列从一个Web复制到另一个Web一段时间,并且每次都会遇到不同的错误或异常。经过多次尝试后,在点击自定义内容类型中新复制的自定义列后,我从Sharepoint收到了更多奇怪和神秘的异常。我检查了日志,这就是我得到的:

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在这里尝试做的事情感到困惑,以及为什么将自定义内容类型从一个网络复制到另一个网站的简单过程与在网络上找到的信息相比不起作用,例如this

感谢任何帮助克服这个问题。谢谢。

sharepoint sharepoint-2007 content-type
1个回答
0
投票

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

问候,M

© www.soinside.com 2019 - 2024. All rights reserved.