我正在尝试将数据从其他环境导入我们刚刚设置的新服务器。我最初遇到this error,但我最终通过使用 localhost 而不是服务器名称来解决它。现在,导入完成但跳过一些项目时出现以下错误:
[9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/masterpage/Forms/AllItems.aspx.
[9/28/2009 6:34:30 PM]: Error: Current item failed in the export with the error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
[9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/masterpage/Forms/DispForm.aspx.
[9/28/2009 6:34:30 PM]: Error: Current item failed in the export with the error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
[9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/masterpage/Forms/EditForm.aspx.
[9/28/2009 6:34:30 PM]: Error: Current item failed in the export with the error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
[9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/masterpage/Forms/mod-view.aspx.
[9/28/2009 6:34:30 PM]: Error: Current item failed in the export with the error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
[9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/masterpage/Forms/my-sub.aspx.
[9/28/2009 6:34:30 PM]: Error: Current item failed in the export with the error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
[9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/masterpage/Forms/Publishing Master Page/PublishingMasterTemplate.master.
[9/28/2009 6:34:30 PM]: Error: Current item failed in the export with the error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
[9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/masterpage/Forms/Upload.aspx.
[9/28/2009 6:34:30 PM]: Error: Current item failed in the export with the error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
[9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/masterpage/Forms/View with Title.aspx.
[9/28/2009 6:34:30 PM]: Error: Current item failed in the export with the error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
知道会发生什么事吗?
修改
经过一番挖掘后,我在导出日志文件中找到了以下条目:
[9/23/2009 2:07:46 PM]: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob)
at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)
[9/23/2009 2:07:46 PM]: Progress: Exporting File _catalogs/masterpage/Forms/DispForm.aspx.
[9/23/2009 2:07:46 PM]: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob)
at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)
[9/23/2009 2:07:46 PM]: Progress: Exporting File _catalogs/masterpage/Forms/EditForm.aspx.
[9/23/2009 2:07:46 PM]: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob)
at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)
[9/23/2009 2:07:46 PM]: Progress: Exporting File _catalogs/masterpage/Forms/mod-view.aspx.
[9/23/2009 2:07:46 PM]: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob)
at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)
[9/23/2009 2:07:46 PM]: Progress: Exporting File _catalogs/masterpage/Forms/my-sub.aspx.
[9/23/2009 2:07:46 PM]: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob)
at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)
[9/23/2009 2:07:46 PM]: Progress: Exporting File _catalogs/masterpage/Forms/Publishing Master Page/PublishingMasterTemplate.master.
[9/23/2009 2:07:46 PM]: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob)
at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)
[9/23/2009 2:07:46 PM]: Progress: Exporting File _catalogs/masterpage/Forms/Upload.aspx.
[9/23/2009 2:07:46 PM]: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob)
at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)
[9/23/2009 2:07:46 PM]: Progress: Exporting File _catalogs/masterpage/Forms/View with Title.aspx.
[9/23/2009 2:07:46 PM]: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.GetFileAsByteArray(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob)
at Microsoft.SharePoint.Deployment.FileSerializer.SaveFile(SerializationInfo info, ExportObjectManager objectManager, ExportDataFileManager fileManager, SPExportSettings settings, SPWeb parentWeb, Boolean isGhosted, String setupPath, String setupPathUser, Byte setupPathVersion, String webRelativeFileUrl, Int32 size, Byte level)
显然在导出过程中发生了错误。可能发生了什么?我猜的权限不足?
答案 0 :(得分:1)
所有这些文件都需要比正常更高的访问权限,您运行导出的帐户是什么?尝试以该帐户登录网站,看看您是否能够访问该网站http://[yoursite]/_catalogs/masterpage/Forms/AllItems.aspx。
如果这些文件存在权限问题,那应该直接告诉你。
答案 1 :(得分:1)
您是否尝试在原始数据库计算机上执行内容数据库备份?然后将其还原并附加到新环境正在使用的数据库服务器上?然后将内容数据库添加到新环境中的Web应用程序中......