问题描述
我在2013年创建了一个自定义项目网站模板,因为我们需要一些不在默认项目网站上的网页部件。我使用默认站点作为基础,添加了Web部件并保存。一切都好看。但是,在我附上基本项目计划
EPT之后,创建一个新项目,然后尝试在发布时创建一个项目站点,它总是失败。我甚至尝试使用默认值并且除了名称之外什么都没改变但仍然失败。我收到下面的错误消息,似乎表明名称中有特殊的
字符,但是我检查了三次并且没有(模板名称是CsProjectSiteTemplate151116)。奇怪的是默认模板工作正常,但是任何其他模板创建,甚至是默认的完全重复,都会失败。任何人都有任何想法
我做错了什么??????????????? b
- CreateWssSiteContent:创建项目网站失败了! Project Uid = 713d7675-a68c-e511-b343-ecf4bb4e9df5,site URL = http:// veocpsap001 / PWA / Template Test 6,site name = Template Test 6. System.Runtime.InteropServices.COMException(0x8107058A):< nativehr> 0x8107058a< / nativehr>< nativestack>< / nativestack>
内容类型名称_ $ Resources:ReportServerResources,DataSourceContentTypeName; _不能包含:\ /:*? " #%< > {} | 〜& ,两个连续的句点(..),或特殊字符,如标签。 at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String
bstrUrl,String bstrWebTemplateContent,Int32 fWebTemplateContentFromSubweb,Int32 fDeleteGlobalListsWithWebTemplateContent,Int32 fIgnoreMissingFeatures,String& bstrWebTemplate,Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String
bstrUrl,String bstrWebTemplateContent,Int32 fWebTemplateContentFromSubweb,Int32 fDeleteGlobalListsWithWebTemplateContent,Int32 fIgnoreMissingFeatures,String& bstrWebTemplate,Int32& plWebTemplateId)Microsoft.SharePoint.SPException:内容
类型名称_ $ Resources:ReportServerResources,DataSourceContentTypeName; _不能包含:\ /:*? " #%< > {} | 〜& ,两个连续的句点(..),或特殊字符,如标签。 ---> System.Runtime.InteropServices.COMException:
< nativehr> 0x8107058a< / nativehr>< nativestack>< / nativestack>内容类型名称_ $ Resources:ReportServerResources,DataSourceContentTypeName; _不能包含:\ /:*? " #%< > {} | 〜& ,两个连续的期间
(..),或特殊字符,如标签。 at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl,String bstrWebTemplateContent,Int32 fWebTemplateContentFromSubweb,Int32 fDeleteGlobalListsWithWebTemplateContent,
Int32 fIgnoreMissingFeatures,String& bstrWebTemplate,Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl,String bstrWebTemplateContent,Int32 fWebTemplateContentFromSubweb,Int32 fDeleteGlobalListsWithWebTemplateContent,
Int32 fIgnoreMissingFeatures,String& bstrWebTemplate,Int32& plWebTemplateId) ---内部异常堆栈跟踪结束--- 在Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) 在Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String
bstrUrl,String bstrWebTemplateContent,Int32 fWebTemplateContentFromSubweb,Int32 fDeleteGlobalListsWithWebTemplateContent,Int32 fIgnoreMissingFeatures,String& bstrWebTemplate,Int32& plWebTemplateId) 在Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate
webTemplate,String webTemplateToUse,SPFeatureWebTemplate featureWebTemplate,Page page,SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior,ICollection`1& featureDependencyErrors) 在Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate
webTemplate,Page page,SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior,ICollection`1& featureDependencyErrors) 在Microsoft.SharePoint.SPSite.CreateWeb(String strUrl,String strTitle,String strDescription,UInt32 nLCID,String
strWebTemplate,Boolean bCreateUniqueSubweb,Boolean bConvertIfThere,Guid webId,Guid rootFolderId,Boolean createSystemCatalogs,Guid appInstanceId,String appWebDomainId)  ;&NBSP;在Microsoft.SharePoint.SPSite.SPWebCollectionProvider.CreateWeb(String
strWebUrl,String strTitle,String strDescription,UInt32 nLCID,String strWebTemplate,Boolean bCreateUniqueSubweb,Boolean bConvertIfThere,Guid appInstanceId) at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl,String strTitle,String
strDescription,UInt32 nLCID,String strWebTemplate,Boolean useUniquePermissions,Boolean bConvertIfThere,Guid appInstanceId) 在Microsoft.Office.Project.Server.BusinessLayer.AdminProjectSiteAllocator.CreateSPWeb(ProjectSiteConfigurationInfo
configInfo,SPSite topSite):
- WSSCreateSiteFailure 强>(16400)。详细信息:id ='16400'name ='WSSCreateSiteFailure'uid ='1a479c7f-a68c-e511-8113-005056886d32'projectUID ='713d7675-a68c-e511-b343-ecf4bb4e9df5'clusterUrl ='http:// veocpsap001 / PWA / Template测试6 /模板测试
6'projectWorkspaceName ='模板测试6'。
- WSSCreateSiteFailure 强>(16400)。详细信息:id ='16400'name ='WSSCreateSiteFailure'uid ='1a479c7f-a68c-e511-8113-005056886d32'projectUID ='713d7675-a68c-e511-b343-ecf4bb4e9df5'clusterUrl ='http:// veocpsap001 / PWA / Template测试6 /模板测试
- 队列:
- GeneralQueueJobFailed (26000) - CreateWssSite.CreateWssSiteMessage 。详细信息:id ='26000'name ='GeneralQueueJobFailed'uid ='1b479c7f-a68c-e511-8113-005056886d32'JobUID ='8c7c4977-a68c-e511-8113-005056886d32'ComputerName ='b3149361-4b9a-4f09-b7ae-a2728221ef59 '
GroupType ='CreateWssSite'MessageType ='CreateWssSiteMessage'MessageId ='1'Stage =''CorrelationUID ='f644429d-229f-5070-1ef5-9e09892ae677'。有关详细信息,请查看计算机上的ULS日志
b3149361-4b9a-4f09-b7ae-a2728221ef59 ,以获取有关JobUID
8c7c4977-a68c-e511-8113-005056886d32的条目即可。
- GeneralQueueJobFailed (26000) - CreateWssSite.CreateWssSiteMessage 。详细信息:id ='26000'name ='GeneralQueueJobFailed'uid ='1b479c7f-a68c-e511-8113-005056886d32'JobUID ='8c7c4977-a68c-e511-8113-005056886d32'ComputerName ='b3149361-4b9a-4f09-b7ae-a2728221ef59 '
Hi,
I've created a custom project site template in 2013 as we need a few web parts not on the default project site. I used the default site as the base, added the web parts, and saved. All looked ok. However, after I attach to the basic project plan EPT, create a new project, then try to create a project site on publish, it always fails. I even tried using the default and changing nothing except the name and still it fails. I get the error message below which seems to indicate there are special characters in the name, but I triple checked and there is not (template name is CsProjectSiteTemplate151116). Strange the default template works fine, but any other template created, even an exact duplicate of the default, fails. Anybody got any ideas as to what I am doing wrong???????
- CreateWssSiteContent: Creating project site failed! Project Uid=713d7675-a68c-e511-b343-ecf4bb4e9df5, site URL=http://veocpsap001/PWA/Template Test 6, site name=Template Test 6. System.Runtime.InteropServices.COMException (0x8107058A): <nativehr>0x8107058a</nativehr><nativestack></nativestack>The content type name _$Resources:ReportServerResources,DataSourceContentTypeName;_ cannot contain: \ / : * ? " # % < > { } | ~ & , two consecutive periods (..), or special characters such as a tab. at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId)Microsoft.SharePoint.SPException: The content type name _$Resources:ReportServerResources,DataSourceContentTypeName;_ cannot contain: \ / : * ? " # % < > { } | ~ & , two consecutive periods (..), or special characters such as a tab. ---> System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack></nativestack>The content type name _$Resources:ReportServerResources,DataSourceContentTypeName;_ cannot contain: \ / : * ? " # % < > { } | ~ & , two consecutive periods (..), or special characters such as a tab. at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) at Microsoft.SharePoint.SPSite.CreateWeb(String strUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid webId, Guid rootFolderId, Boolean createSystemCatalogs, Guid appInstanceId, String appWebDomainId) at Microsoft.SharePoint.SPSite.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId) at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere, Guid appInstanceId) at Microsoft.Office.Project.Server.BusinessLayer.AdminProjectSiteAllocator.CreateSPWeb(ProjectSiteConfigurationInfo configInfo, SPSite topSite):
- WSSCreateSiteFailure (16400). Details: id='16400' name='WSSCreateSiteFailure' uid='1a479c7f-a68c-e511-8113-005056886d32' projectUID='713d7675-a68c-e511-b343-ecf4bb4e9df5' workspaceUrl='http://veocpsap001/PWA/Template Test 6/Template Test 6' projectWorkspaceName='Template Test 6'.
- Queue:
- GeneralQueueJobFailed (26000) - CreateWssSite.CreateWssSiteMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='1b479c7f-a68c-e511-8113-005056886d32' JobUID='8c7c4977-a68c-e511-8113-005056886d32' ComputerName='b3149361-4b9a-4f09-b7ae-a2728221ef59' GroupType='CreateWssSite' MessageType='CreateWssSiteMessage' MessageId='1' Stage='' CorrelationUID='f644429d-229f-5070-1ef5-9e09892ae677'. For more details, check the ULS logs on machineb3149361-4b9a-4f09-b7ae-a2728221ef59 for entries with JobUID 8c7c4977-a68c-e511-8113-005056886d32.
这篇关于PS2013自定义项目站点模板失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!