SharePoint 导入错误 - “访问被拒绝”
我正在尝试导入网站集,但收到以下错误:
[9/22/2009 4:59:43 PM]: Start Time: 9/22/2009 4:59:43 PM.
[9/22/2009 4:59:43 PM]: Progress: Initializing Import.
[9/22/2009 5:00:11 PM]: Progress: Starting content import.
[9/22/2009 5:00:11 PM]: Progress: De-Serializing Objects to Database.
[9/22/2009 5:00:11 PM]: Debug: Security check failed in OnWebImport
[9/22/2009 5:00:11 PM]: Progress: Importing Folder /.
[9/22/2009 5:00:11 PM]: FatalError: Access denied.
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAndFolderProperties(String bstrUrl, String bstrStartUrl, ListDocsFlags ListDocsFlags, Boolean bThrowException, Int32& phrStatus, Object& pvarFiles, Object& pvarDirs, UInt32& pdwNumberOfFiles, UInt32& pdwNumberOfDirs)
at Microsoft.SharePoint.SPWeb.GetFileOrFolderProperties(String strUrl, ListDocsFlags listDocsFlags, Boolean throwException)
at Microsoft.SharePoint.SPFolder.PropertiesCore(Boolean throwException)
at Microsoft.SharePoint.SPFolder.get_Properties()
at Microsoft.SharePoint.SPFolder.get_UniqueId()
at Microsoft.SharePoint.Deployment.FolderSerializer.AddFolderToImportMaps(Guid folderId, SPFolder folder, ImportObjectManager objectManager)
at Microsoft.SharePoint.Deployment.FolderSerializer.GetFolder(SerializationInfoHelper infoHelper, SPWeb parentWeb, ImportObjectManager objectManager)
at Microsoft.SharePoint.Deployment.FolderSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, 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.ImportObjectManager.ProcessObject(XmlReader xmlReader)
at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
at Microsoft.SharePoint.Deployment.SPImport.Run()
[9/22/2009 5:00:12 PM]: Progress: Import Completed.
[9/22/2009 5:00:12 PM]: Finish Time: 9/22/2009 5:00:12 PM.
[9/22/2009 5:00:12 PM]: Completed with 0 warnings.
[9/22/2009 5:00:12 PM]: Completed with 1 errors.
我正在执行的命令是:
Stsadm -o import -url http://spssvr:2000/ -filename sps_export.dat
环境: 操作系统: Windows Server 2008 SharePoint: MOSS 2007 SharePoint 版本: 12.0.0.6421 用户帐户:管理员 权限:管理员、网站所有者
导出是由来自不同环境的管理员完成的。日志显示导出已成功完成。 我在某处看到关闭 UAC 会有所帮助,但这并没有解决我的问题。我有什么想法吗?
I am trying to import a site collection and I get the following error:
[9/22/2009 4:59:43 PM]: Start Time: 9/22/2009 4:59:43 PM.
[9/22/2009 4:59:43 PM]: Progress: Initializing Import.
[9/22/2009 5:00:11 PM]: Progress: Starting content import.
[9/22/2009 5:00:11 PM]: Progress: De-Serializing Objects to Database.
[9/22/2009 5:00:11 PM]: Debug: Security check failed in OnWebImport
[9/22/2009 5:00:11 PM]: Progress: Importing Folder /.
[9/22/2009 5:00:11 PM]: FatalError: Access denied.
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAndFolderProperties(String bstrUrl, String bstrStartUrl, ListDocsFlags ListDocsFlags, Boolean bThrowException, Int32& phrStatus, Object& pvarFiles, Object& pvarDirs, UInt32& pdwNumberOfFiles, UInt32& pdwNumberOfDirs)
at Microsoft.SharePoint.SPWeb.GetFileOrFolderProperties(String strUrl, ListDocsFlags listDocsFlags, Boolean throwException)
at Microsoft.SharePoint.SPFolder.PropertiesCore(Boolean throwException)
at Microsoft.SharePoint.SPFolder.get_Properties()
at Microsoft.SharePoint.SPFolder.get_UniqueId()
at Microsoft.SharePoint.Deployment.FolderSerializer.AddFolderToImportMaps(Guid folderId, SPFolder folder, ImportObjectManager objectManager)
at Microsoft.SharePoint.Deployment.FolderSerializer.GetFolder(SerializationInfoHelper infoHelper, SPWeb parentWeb, ImportObjectManager objectManager)
at Microsoft.SharePoint.Deployment.FolderSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, 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.ImportObjectManager.ProcessObject(XmlReader xmlReader)
at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
at Microsoft.SharePoint.Deployment.SPImport.Run()
[9/22/2009 5:00:12 PM]: Progress: Import Completed.
[9/22/2009 5:00:12 PM]: Finish Time: 9/22/2009 5:00:12 PM.
[9/22/2009 5:00:12 PM]: Completed with 0 warnings.
[9/22/2009 5:00:12 PM]: Completed with 1 errors.
The command I am executing is:
Stsadm -o import -url http://spssvr:2000/ -filename sps_export.dat
Environment:
OS: Windows Server 2008
SharePoint: MOSS 2007
SharePoint Version: 12.0.0.6421
User Account: Administrator
Permissions: Administrators, Site Owners
The export was done by an admin from a different environment. The log shows that the export was completed successfully.
I saw somewhere that turning off UAC would help, but that did not solve my problem. Any ideas what I'm missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否遇到本地环回检查问题?
Are you having issues with the local loopback check?
我想我会回答我自己的问题。不确定问题到底出在哪里,但使用 localhost 而不是服务器名称“spssvr”有效!一定与环境配置方式有关。
I guess I'll answer my own question. Not sure exactly where the problem is but using localhost instead of server name 'spssvr' worked! Must be something to do with how the environment is configured.