I know there are a few topics similar to this but none have my main issue in mind. I don't want to run Visual Studio 2017 as Administrator. Why should we be forced to run it this way? In doing so you lose a few abilities:
- ability to simply drag files to the solution explorer to add them to your project.
- Cleanly stopping a debugging session by closing IE or stopping the debugging within VS (and it will close IE for you).
- There may be others
For posterity the error is:
Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL.
I have already followed the advice thusly:
- Start >> Control Panel >> Click Programs
- Click Turn Windows features on or off.
- In the User Account Control dialog box, click Continue
- Expand Internet Information Services, expand Web Management Tools, and then expand IIS 6 Management Compatibility
- Click to select the IIS Metabase and IIS 6 configuration compatibility check box, and then click OK.
I do not wish to use the IIS Express included with VS but the real local IIS I have installed.
This did not solve the issue. I have yet to find a solution that will allow me (us) to run Visual Studio 2017 and use local IIS without running it as administrator. Can anyone provide a solution?
I'll reference this article as similar but it doesn't resolve the base issue: Debugging website on local IIS without administrative privileges