This error is very common, and I tried all of the solutions and non of them worked. I have disabled WebDAV publishing in control panel and added this to my web config file:<
check in your project .csproj file and change
http://localhost:PORT/
to your website url like this
http://example.com:applicationName/