问题: 在全新安装SharePoint 2013后创建发布网站集时,我一直遇到错误。
错误: 访问被拒绝。 (HRESULT异常:0x80070005(E_ACCESSDENIED))
说明 在执行当前Web请求期间发生了未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。
例外详细信息:
System.UnauthorizedAccessException:访问被拒绝。 (HRESULT异常:0x80070005(E_ACCESSDENIED))
异常: [UnauthorizedAccessException:访问被拒绝。 (HRESULT异常:0x80070005(E_ACCESSDENIED))]
Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException UnauthorizedAccessException ex)+46 Microsoft.SharePoint.Library.SPRequest.GetWebMetainfo(String bstrUrl)+521 Microsoft.SharePoint.SPWeb.GetProperties()+ 125 Microsoft.SharePoint.Utilities.SPPropertyBag .. ctor(GetProperties getProperties,UpdateProperties updateProperties)+100 Microsoft.SharePoint.SPWeb.get_Properties()+ 145 Microsoft.SharePoint.Taxonomy.TaxonomyField.GetLookupListId(SPSite site)+67 Microsoft.SharePoint.Taxonomy。<> c__DisplayClassc.b__a( )+162 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)+193 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode,Object param)+426 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)+95 Microsoft.SharePoint.Taxonomy.TaxonomyField.Initialize(SPFieldCollection字段)+230
[TargetInvocationException:调用目标抛出了异常。]
Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl,String bstrWebTemplateContent,Int32 fWebTemplateContentFromSubweb,Int32 fDeleteGlobalListsWithWebTemplateContent,Int32 fIgnoreMissingFeatures,String& bstrWebTemplate,Int32& plWebTemplateId)+0
Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl,String bstrWebTemplateContent,Int32 fWebTemplateContentFromSubweb,Int32 fDeleteGlobalListsWithWebTemplateContent,Int32 fIgnoreMissingFeatures,String& bstrWebTemplate,Int32& plWebTemplateId)+2579
Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate,String webTemplateToUse,SPFeatureWebTemplate featureWebTemplate,Page page,SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior,ICollection 1& featureDependencyErrors) +1085
Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection
1& featureDependencyErrors)+582
Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile,SPWeb rootWeb)+565
[SPException:供应未成功。详细信息:未成功配置网站模板。在管理中心中删除此网站集,然后创建新的网站集。 OriginalException:调用目标抛出了异常。]
Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile,SPWeb rootWeb)+1250
Microsoft.SharePoint.Publishing。<> c__DisplayClass3.b__0()+42
Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code)+167
Microsoft.SharePoint.Publishing.PortalProvisioningProvider.Provision(SPWebProvisioningProperties properties)+421
Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate,String webTemplateToUse,SPFeatureWebTemplate featureWebTemplate,Page page,SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior,ICollection 1& featureDependencyErrors) +403
Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection
1& featureDependencyErrors)+582
Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration,String strWebTemplate,String strRedirect,Boolean bCreateDefaultGroups,Page page,Boolean bDeleteOnError)+745
Microsoft.SharePoint.ApplicationPages.CreateSitePage.BtnCreateSite_Click(Object sender,EventArgs e)+2421
System.Web.UI.WebControls.Button.OnClick(EventArgs e)+126
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)+141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint
参考图片:
答案 0 :(得分:0)
重新安装SharePoint 2013安装程序后问题已得到解决。
提前谢谢你:)