Ismail Haroun

Ismail Haroun

  • NA
  • 31
  • 2.9k

Error When trying to publish asp.net project

Jun 14 2020 5:02 AM
When I am trying to publish the asp.net website I am facing this error, However, the project builds successfully in the local server.
 
[Failure] Could not find file 'C:\Users\Home\AppData\Local\Temp\.NETFramework,Version=v4.6.1.AssemblyAttributes.cs'.
Connecting to ftp://e-jarkom.com/... Transformed Web.config using C:\Users\Home\source\repos\BorrowThings\BorrowThings\Web.Release.config into obj\Release\TransformWebConfig\transformed\Web.config.
Copying all files to temporary location below for package/publish: obj\Release\AspnetCompileMerge\Source.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v / -p C:\Users\Home\source\repos\BorrowThings\BorrowThings\obj\Release\AspnetCompileMerge\Source -u C:\Users\Home\source\repos\BorrowThings\BorrowThings\obj\Release\AspnetCompileMerge\TempBuildDir
Copying all files to temporary location below for package/publish: obj\Release\Package\PackageTmp.
Deleting existing files... Error deleting file 'cgi-bin'.
Cannot remove folder "cgi-bin". Error deleting file 'error_docs'.
Cannot remove file "error_docs/bad_gateway.html".
Error Code: 550. Error deleting file 'logs'.
Cannot remove file "logs/iis/W3SVC396/u_ex200613.log". Error Code: 550.
Publish failed. Target ftp://e-jarkom.com/.

Answers (1)