Skip to content

Instantly share code, notes, and snippets.

@takekazuomi
Created March 2, 2012 10:55
Show Gist options
  • Save takekazuomi/1957703 to your computer and use it in GitHub Desktop.
Save takekazuomi/1957703 to your computer and use it in GitHub Desktop.
DeploymentException:The error code was 0x80070020
SyncService [IIS => Local Storage] - Failed to create an MSDeploy package in local storage from updates in IIS.
==============================================================================
DeploymentClientServerException:An error was encountered when processing operation 'Read File' on 'main.swf'.
at Microsoft.Web.Deployment.DeploymentObject.AddChild(DeploymentObject source, Int32 position, DeploymentSyncContext syncContext)
at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentObject destParent, DeploymentObject sourceObject, Int32 position)
at Microsoft.Web.Deployment.DeploymentSyncContext.SyncDirPathChildren(DeploymentObject destRoot, DeploymentObject sourceRoot)
at Microsoft.Web.Deployment.DeploymentSyncContext.SyncDirPathChildren(DeploymentObject destRoot, DeploymentObject sourceRoot)
at Microsoft.Web.Deployment.DeploymentSyncContext.SyncDirPathChildren(DeploymentObject destRoot, DeploymentObject sourceRoot)
at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject)
at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable)
at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
at Microsoft.Samples.DPE.teststg.Web.Core.Services.SyncService.PackageSitesToLocal() in c:\users\administrator\documents\visual studio 2010\Projects\teststg\teststg\teststg.Web\Core\Services\SyncService.cs:line 420
at Microsoft.Samples.DPE.teststg.Web.Core.Services.SyncService.SyncForever(TimeSpan interval) in c:\users\administrator\documents\visual studio 2010\Projects\teststg\teststg\teststg.Web\Core\Services\SyncService.cs:line 117
==============================================================================
==============================================================================
DeploymentException:The error code was 0x80070020.
==============================================================================
==============================================================================
IOException:The process cannot access 'C:\Resources\directory\76d0bd60dbde4da4bd39cb664b1b94a5.teststg.Web.Sites\teststg\us\swf\main.swf'
because it is being used by another process. at Microsoft.Web.Deployment.Win32Native.RaiseIOExceptionFromErrorCode(Win32ErrorCode errorCode, String maybeFullPath)
at Microsoft.Web.Deployment.FilePathProvider.GetStream()
==============================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment