SharePoint导入错误 - “拒绝访问”

时间:2009-09-22 21:19:57

标签: sharepoint import access-denied

我正在尝试导入网站集,但我收到以下错误:

[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会有所帮助,但这并没有解决我的问题。我缺少什么想法?

2 个答案:

答案 0 :(得分:1)

您是否遇到local loopback check的问题?

答案 1 :(得分:0)

我想我会回答我自己的问题。不确定问题的确切位置,但使用 localhost 而不是服务器名称'spssvr'工作!必须与环境的配置方式有关。