子网站导入错误 [英] Error on sub site import

查看:53
本文介绍了子网站导入错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我们有一个SharePoint 2013 Foundation服务器场和几个站点.我们需要在同一父站点上将一个子站点复制/导入一个新的子站点.我们尝试了网站导出/导入方法,并将该子网站另存为模板,并使用 模板.但是在这两种情况下,都会引发如下错误:

We have a SharePoint 2013 Foundation farm and few sites. we need to copy/import one of our sub site a new sub site on the same parent site. we have tried site export/import methods as well as save this subsite as template and creating new subsite with the template. But in both occasions error was throws as follows:

在使用power-shell命令导入子站点时出错:

error while using importing sub site using power-shell command:

错误:无法完成此操作.

请重试.
[12.10.2017 10:32:29] [列表] [门票]   Debug:   在Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
 在Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(字符串bstrUrl,Guid& pguidListId,字符串bstrTitle,字符串bstrDescription,Int32 lTemplateID,字符串bstrFeatureId,GUID guidRootFolderId,Int64 llFlags,Int32 iVersion, 字符串bstrFields,字符串bstrContentTypes,字符串bstrImageUrl,字符串bstrEventSinkAssembly,字符串bstrEventSinkClass,字符串bstrEventSinkData,GUID guidDocTemplateId,字符串bstrViews,字符串bstrForms,布尔值bCompressedSchema,日期时间dtTimeCreated)
    at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb父网站,Dictionary`2 listMetaData,布尔值使用PublicSchema)
    at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(对象obj,序列化信息,StreamingContext上下文,ISurrogateSelector选择器)
    at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(对象obj,序列化信息objectData,ISerializationSurrogate代理,ISurrogateSelector选择器)
[12.10.2017 10:32:29] FatalError:无法完成此操作.

请重试.
[12.10.2017 10:32:29]调试:   在Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
 在Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(字符串bstrUrl,Guid& pguidListId,字符串bstrTitle,字符串bstrDescription,Int32 lTemplateID,字符串bstrFeatureId,GUID guidRootFolderId,Int64 llFlags,Int32 iVersion, 字符串bstrFields,字符串bstrContentTypes,字符串bstrImageUrl,字符串bstrEventSinkAssembly,字符串bstrEventSinkClass,字符串bstrEventSinkData,GUID guidDocTemplateId,字符串bstrViews,字符串bstrForms,布尔值bCompressedSchema,日期时间dtTimeCreated)
    at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb父网站,Dictionary`2 listMetaData,布尔值使用PublicSchema)
    at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(对象obj,SerializationInfo信息,StreamingContext上下文,ISurrogateSelector选择器)
    at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(对象obj,序列化信息objectData,ISerializationSurrogate代理,ISurrogateSelector选择器)
    at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType,Boolean isChildObject)
    at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(类型objectType,布尔值isChildObject,DeploymentObject信封)
    at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream)
    at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream)
    at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
    at Microsoft.SharePoint.Deployment.SPImport.Run()

Error: Cannot complete this action.

Please try again.
[12.10.2017 10:32:29] [List] [Tickets]   Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema, DateTime dtTimeCreated)
   at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema)
   at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, ISurrogateSelector selector)
[12.10.2017 10:32:29] FatalError: Cannot complete this action.

Please try again.
[12.10.2017 10:32:29] Debug:    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema, DateTime dtTimeCreated)
   at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema)
   at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject)
   at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope)
   at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream)
   at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream)
   at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
   at Microsoft.SharePoint.Deployment.SPImport.Run()

从ULS日志中获得以下错误,同时从模板创建子站点:

Following error was obtained from ULS logs while creating sub site from template:

访问/_layouts/15/newsbweb.aspx时出现应用程序错误,错误=无法完成此操作.请再试一次.< nativehr> 0x80004005</nativehr>< nativestack></nativestack>  
Microsoft.SharePoint.Library.SPRequestInternalClass.CreateList(字符串bstrWebUrl,字符串bstrTitle,字符串bstrDescription,字符串bstrListUrl,字符串bstrFeatureId,Int32 lTemplateID,字符串bstrDocTemplateType,ListQuickLaunchOptions qlOpt,布尔值 bProvisionViewsAndForms,ISPEnableModuleCallback pListInstanceModuleCallback,字符串bstrListInstanceSolutionInfo,字符串bstrListInstanceFeaturePath,字符串bstrListInstanceFeatureId,字符串bstrCustomSchemaXml,ISPEnableModuleCallback pListTemplateModuleCallback, 字符串bstrListTemplateSolutionInfo)   
  at Microsoft.SharePoint.Library.SPRequest.CreateList(String bstrWebUrl,String bstrTitle,String bstrDescription,String bstrListUrl,String bstrFeatureId,Int32 lTemplateID,String bstrDocTemplateType,ListQuickLaunchOptions qlOpt,布尔值bProvisionViewsAndForms, ISPEnableModuleCallback pListInstanceModuleCallback,字符串bstrListInstanceSolutionInfo,字符串bstrListInstanceFeaturePath,字符串bstrListInstanceFeatureId,字符串bstrCustomSchemaXml,ISPEnableModuleCallback pListTemplateModuleCallback,字符串bstrListTemplateSolutionInfo)

Application error when access /_layouts/15/newsbweb.aspx, Error=Cannot complete this action.  Please try again.<nativehr>0x80004005</nativehr><nativestack></nativestack>  
 at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateList(String bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt, Boolean bProvisionViewsAndForms, ISPEnableModuleCallback pListInstanceModuleCallback, String bstrListInstanceSolutionInfo, String bstrListInstanceFeaturePath, String bstrListInstanceFeatureId, String bstrCustomSchemaXml, ISPEnableModuleCallback pListTemplateModuleCallback, String bstrListTemplateSolutionInfo)    
 at Microsoft.SharePoint.Library.SPRequest.CreateList(String bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt, Boolean bProvisionViewsAndForms, ISPEnableModuleCallback pListInstanceModuleCallback, String bstrListInstanceSolutionInfo, String bstrListInstanceFeaturePath, String bstrListInstanceFeatureId, String bstrCustomSchemaXml, ISPEnableModuleCallback pListTemplateModuleCallback, String bstrListTemplateSolutionInfo)

请帮助.

推荐答案

请检查您是否有权访问新创建的网站,如网站所有者或完全控制者一样.
Please check if you have access to the newly created site as in site owner or full control.


这篇关于子网站导入错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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