sharepoint - SharePoint网站定义

标签 sharepoint sharepoint-2007

我已经基于发布门户创建了一个简单的站点定义。每次我想使用模板创建网站集时,都会收到以下错误消息:

您选择的模板无效或找不到。

我不使用任何自定义功能,仅使用发布门户site-def的默认功能。有什么提示吗?

有一个错误日志,但它只为我提供上述信息:

Applying template "PalfingerPlatformsOrderRoot#0" to web at URL "http://datsa0004:8080/Platforms/Orders/0000112233".     
Failed to get the site template for language 1031, search key 'PalfingerPlatformsOrderRoot'. This warning is expected when provisioning from a custom web template.  
Failed to apply template "PalfingerPlatformsOrderRoot#0" to web at URL "http://datsa0004:8080/Platforms/Orders/0000112233".  
Failed to apply template "PalfingerPlatformsOrderRoot#0" to web at URL "http://datsa0004:8080/Platforms/Orders/0000112233", error The template you have chosen is invalid or cannot be found. 0x81071e44     
The template you have chosen is invalid or cannot be found.  
CreatePortal failed creating portal webs. Microsoft.SharePoint.SPException: The template you have chosen is invalid or cannot be found. ---> System.Runtime.InteropServices.COMException (0x81071E44): The template you have chosen is invalid or cannot be found.     at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId)     at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId)     at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)     at Microsoft.ShareP...  
...oint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile, SPWeb rootWeb)   

最佳答案

检查您的自定义模板的ID(打开它并查看xml),它可能与现有模板冲突。你可以检查一下

Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML



其他模板及其ID

关于sharepoint - SharePoint网站定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1171489/

相关文章:

silverlight - 在 Silverlight 应用程序中访问共享点 Web 服务错误

c# - 将 Sharepoint 2007 解决方案转换为 2010

sharepoint - SharePoint 2007日志查看器

sharepoint-2007 - 如何找到列表的Sharepoint Guid

css - 使共享点网站响应

javascript - 如何更改按钮的大小并为其添加背景颜色?

javascript - Sharepoint 多值查找值

SharePoint 列表最佳做法

javascript - 如何从远程应用程序(无 SharePoint 应用程序)接收 SkyDrive Pro REST 调用的访问 token

sharepoint - 如何开始学习 SharePoint