I'm working on a ASP.NET MVC project which was developed under IIS express and haven't had any problems with it ever since. However, when I try to run the debugger with local IIS, debugger doesn't attach and throws an error pop up stating - "Unable to start debugging on the web server. Operation is not supported. Unknown Error 0x80004005".
Event log doesn't show anything regarding this error, as well as Visual studio in log mode. If I create a new project on VS 2017 and try debugging it on local IIS - it works without a problem.
I'm using standard IIS site, in which:
- Application pool uses administrator account
- Port: 44311
- IIS express SSL certificate
Already tried:
- Making sure that IIS settings are correct.
- Deleting VS cache, repairing VS, pulling clean source code from repository.
I was struggling with this error whole day, so any related information will be very appreciated.