SharePoint 站点定义 [英] SharePoint SiteDefinitions
问题描述
我基于发布门户创建了一个简单的站点定义.每次我想使用模板创建网站集时,我都会收到以下错误消息:
I have created a simple site definition based on the publishing portal. Every time I want to use the template to create a site-collection I get the following error-message:
您选择的模板无效或无法找到.
我不使用任何自定义功能,仅使用发布门户站点定义的默认功能.有什么提示吗?
I do not use any custom feature, just the default features with the publishing portal site-def. Any hints?
有一个错误日志,但它只是给了我上面的信息:
There is a error log but it just gives me the information above:
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)它可能与现有模板冲突.你可以检查
Check your custom template's ID,(open it and view the xml) it may be conflicting with an existing template. You can check
Program Files\Common Files\Microsoft共享\网络服务器扩展\12\TEMPLATE\1033\XML
Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML
对于其他模板及其 ID
for the other templates and their IDs
这篇关于SharePoint 站点定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!