I'm running an import of a production spweb export to the dev environment.
import-spweb -Identity https://intranet.contoso.local/apps/hrNEW -path "D:/backups/hrNew.cmp",
I'm getting:
[7/31/2020 10:12:03 AM] [List] [Documents] [Documents] [2a1e5af8-c485-4e5a-8dd3-4427cea767e3][Progress] Importing
[7/31/2020 10:12:03 AM] [List] [Library Being Imported] [Library Being Imported] [845f2c0f-627d-4821-88d6-e04af5a39168][Progress] Importing
[7/31/2020 10:12:03 AM] [List] [Library Being Imported] [Library Being Imported] [845f2c0f-627d-4821-88d6-e04af5a39168] [ExtendedVerbose] Creating
[7/31/2020 10:12:03 AM] [List] [Library Being Imported] [Library Being Imported] [845f2c0f-627d-4821-88d6-e04af5a39168] [Error] [-2147024809] [System.ArgumentException] [<nativehr>0x80070057</nativehr><nativestack></nativestack>]
[7/31/2020 10:12:03 AM] [List] [Library Being Imported] [Library Being Imported] [845f2c0f-627d-4821-88d6-e04af5a39168] [Debug] at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int64 llFlags2, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema, DateTime dtTimeCreated)
at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int64 llFlags2, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema, DateTime dtTimeCreated)
at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, Dictionary2 listMetaData, Boolean usingPublicSchema) at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, ISurrogateSelector selector) [7/31/2020 10:12:03 AM] [FatalError] [-2147024809] [System.ArgumentException] [<nativehr>0x80070057</nativehr><nativestack></nativestack>] [7/31/2020 10:12:03 AM] [Debug] at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int64 llFlags2, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema, DateTime dtTimeCreated) at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int64 llFlags2, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema, DateTime dtTimeCreated) at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, Dictionary
2 listMetaData, Boolean usingPublicSchema)
at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, 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.SPImport.DeserializeObjects()
at Microsoft.SharePoint.Deployment.SPImport.Run()
[7/31/2020 10:12:04 AM] [Progress] Import did not complete.
[7/31/2020 10:12:04 AM] Finish Time: 7/31/2020 10:12:04 AM.
[7/31/2020 10:12:04 AM] Duration: 00:00:40
[7/31/2020 10:12:04 AM] Byte imported: 16,056.00 at 399.50 bytes per second
[7/31/2020 10:12:04 AM] Finished with 24 warnings.
[7/31/2020 10:12:04 AM] Finished with 2 errors.
After some research, I cleared the cache using the following and reran import, but same error.
Add-PSSnapin microsoft.sharepoint.powershell
$webApp = Get-SPWebApplication "https://intranet.contoso.local"
Write-Host "Flushed the BLOB cache for:" $webApp
Thanks!