最近在发布项目是总是发布不成功,报以下error.
Severity Code Description Project File Line Suppression State
Error Web deployment task failed. ((8/18/2020 7:22:46 AM) An error occurred when the request was processed on the remote computer.)
(8/18/2020 7:22:46 AM) An error occurred when the request was processed on the remote computer.
An error was encountered when processing operation 'Create Directory' on 'D:\home\site\wwwroot\bin'.
The error code was 0x800703E6.
Invalid access to memory location.
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) BingHUDUI 0
solution: change app service configurations----website_run_from_package
0用的则是zip,而1是使用了package.则会导致发布失败。