在本地共享点2013中创建子网站时出错 [英] Error when creating subsite in an on prem sharepoint 2013

查看:64
本文介绍了在本地共享点2013中创建子网站时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

prem上有一个SharePoint 2013,用于为特定部门托管许多网站集. Intranet的其余部分托管在EpiServer解决方案中.

There is a SharePoint 2013 on prem that is being used to host a number of site collections for specific departments. The rest of the intranet is hosted in a EpiServer solution.

当用户登录Intranet时,他们首先看到的是EpiServer页面,直到他们单击指向指向SP子站点的部门的链接为止.

When the user login in the intranet the first thing they see is the EpiServer pages until they click on the link to the department who leads to the SP subsite.

问题如下:与EpiServer部件开发相关的人员创建了一个表单,用于在SP中构建子站点.因此,如果管理员需要一个新的子站点,他们将在EpiServer端填写表单并将其发送给创建子站点的SP.

The issue is the following: The guys that works with development of the EpiServer part created a form to build subsites in SP. So, if the admin needs a new subsite they fill the form in the EpiServer side and send it to SP who create the subsite.

一切正常,直到第三家公司将SP解决方案从一台服务器迁移到另一台服务器.现在,每次管理员想要创建子站点时,都会得到以下错误堆栈:

Well everything worked fine until a third company migrate the SP solution from one server to another. Now everytime when the admin wants to create a subsite gets this error stack:

Stack trace:
   at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal
    (String bstrUrl, Guid& pguidID, DateTime& pdtTimeCreated, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, 
    String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, 
    String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, 
    String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion, Int32& plSiteSchemaMinorVersion, Int32& plSiteSchemaBuildVersion, Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, 
    Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid& pgEvalSiteId, Guid& pguidAppInstanceId, String& pbstrRemoteAppUrl, String& pbstrOAuthAppId, String& pbstrAppDatabaseName, 
    Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId, Int32& plUpgradeFlags, DateTime& pdtReminderDate, DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, UInt64& pmaskDeny)

   at Microsoft.SharePoint.Library.SPRequest.OpenWebInternal(
       String bstrUrl, Guid& pguidID, DateTime& pdtTimeCreated, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, 
       String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, 
       String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, 
       String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion, Int32& plSiteSchemaMinorVersion, Int32& plSiteSchemaBuildVersion, Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, 
       Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid& pgEvalSiteId, Guid& pguidAppInstanceId, String& pbstrRemoteAppUrl, String& pbstrOAuthAppId, String& pbstrAppDatabaseName, 
       Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId, Int32& plUpgradeFlags, DateTime& pdtReminderDate, DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, UInt64& pmaskDeny)

   at Microsoft.SharePoint.SPWeb.InitWebPublic()
   at Microsoft.SharePoint.SPWeb.get_AppInstanceId()
   at Microsoft.SharePoint.SPWeb.get_IsAppWeb()
   at Microsoft.SharePoint.SPWeb.get_Url()
   at Microsoft.SharePoint.SPUser.InitMember()
   at Microsoft.SharePoint.SPUser..ctor(
       SPWeb web, SPSecurableObject scope, String strIdentifier, Object[,] arrUsersData, UInt32 index, Int32 iByParamId, String strByParamSID, String strByParamEmail, SPUserCollectionType userCollectionType, SPUserCollectionFlags ucf, Boolean isSiteAuditor)

   at Microsoft.SharePoint.SPUserCollection.GetByLoginNoThrow(String loginName, SPUserCollectionFlags ucf)
   at Microsoft.SharePoint.SPUserCollection.get_Item(String loginName)
   at Microsoft.SharePoint.Administration.SPSiteCollection.Add(
       SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, Int32 compatibilityLevel, String webTemplate, 
       String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, 
       String sscRootWebUrl, Boolean useHostHeaderAsSiteName, Boolean overrideCompatibilityRestriction)

   at Microsoft.SharePoint.Administration.SPSiteCollection.Add(
       SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, Int32 compatibilityLevel, String webTemplate, 
       String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate,
        String sscRootWebUrl, Boolean useHostHeaderAsSiteName)

   at Microsoft.SharePoint.Administration.SPSiteCollection.Add(
       SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, Int32 compatibilityLevel, String webTemplate, String ownerLogin, String ownerName, 
       String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)
       
   at SvenskHandel.SharePoint.Services.ISAPI.IntegrationService.<>c__DisplayClass8_2.<CreateWorkRoom>b__2()
   at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
   at SvenskHandel.SharePoint.Services.ISAPI.IntegrationService.<>c__DisplayClass8_0.<CreateWorkRoom>b__1()

Task log:
Executed task 'Load existing Site Collections' after 0ms

我能理解它的意思.我测试了直接从中央管理员创建一个子站点的方法,它确实有效.这就是为什么我认为表单一定有问题,但是我不知道是什么原因.

And I can understand what it means. I tested create a subsite direct from the central admin and it worked. That is why I think that something has to be wrong with the form but I don't know what.

有人知道什么是错的吗?

Has somebody any idea what can be wrong?

最诚挚的问候

美国

推荐答案

基于下面的线程,该问题似乎已经解决.

https://techcommunity.microsoft.com/t5/SharePoint-Developer/Error-when-creating-subsite-in-SP-on-Prem/mp/185852

最好在此处发布详细的解决方案并将其标记为答案,这样可以帮助其他社区成员找到帮助信息迅速.

最好的问候,

Lee


这篇关于在本地共享点2013中创建子网站时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆