I'm trying to import data from another environment to a new server that we just setup. I was initially running into this error, but I eventually resolved it by using localhost instead of the server name. Now, the import completes but skips some items with the following error:
[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)).
Any idea what could be going on?
EDIT
After a bit more digging, I found the following entries in the export log file:
[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)
It seems apparent that the errors occurred during the export process. What might have happened? I'm guessing insufficient privileges?