【问题标题】:SharePoint import error - 'Access Denied'SharePoint 导入错误 - “拒绝访问”
【发布时间】:2009-09-22 21:19:56
【问题描述】:

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

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

【问题讨论】:

    标签: sharepoint import access-denied


    【解决方案1】:

    您对local loopback check 有疑问吗?

    【讨论】:

    • 不确定是不是这个问题,我会测试并报告。
    【解决方案2】:

    我想我会回答我自己的问题。不确定问题出在哪里,但使用 localhost 而不是服务器名称 'spssvr' 有效!一定与环境的配置方式有关。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-18
      • 2011-05-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多