Invalid access to memory location when deploying Azure web app : <p>I have an Azure web app that I'm deploying from VSTS. This was working fine previously but is now returning with the following:</p>

<blockquote>
  <p>2018-08-07T14:24:57.1655319Z Info: Adding directory (dsadminportal-dev\wwwroot\assets\css\plugins\datapicker).</p>
  
  <p>2018-08-07T14:24:58.2654020Z ##[error]Failed to deploy web package to App Service.</p>
  
  <p>2018-08-07T14:24:58.2665943Z ##[error]
  Error: (8/7/2018 2:24:57 PM) An error occurred when the request was processed on the remote computer.</p>
  
  <p>Error: An error was encountered when processing operation 'Create Directory' on 'D:\home\site\wwwroot\wwwroot\assets\css\plugins\datapicker'.
  Error: The error code was 0x800703E6.
  Error: Invalid access to memory location.</p>
  
  <p>at Microsoft.Web.Deployment.NativeMethods.RaiseIOExceptionFromErrorCode(Win32ErrorCode errorCode, String maybeFullPath)
     at Microsoft.Web.Deployment.FileSystemInfoEx.set_Attributes(FileAttributes value)
     at Microsoft.Web.Deployment.DirPathProviderBase.Add(DeploymentObject source, Boolean whatIf)
  Error count: 1.</p>
</blockquote>

<p>This is to a slot. I deleted the slot and recreated it and it deployed fine first time but subsequent deploys fail with the above error.</p>

<p>Any ideas what this means?</p>

<p>Thanks</p>
