Cannot start debugging on the web server. Visual Studio WITHOUT an administrator

I know that there are several topics similar to this, but I do not have my main problem. I do not want to run Visual Studio 2017 as an administrator . Why should we be forced to run it this way? However, you lose several abilities:

  • the ability to simply drag and drop files into the solution explorer to add them to your project.
  • Net stop a debugging session by closing IE or stopping debugging in 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 the website that matches the running URL.

I already followed the advice:

  • Start → Control Panel → Click "Programs"
  • Turn Windows features on or off.
  • In the User Account Control dialog box, click Continue
  • Expand Internet Information Services, expand Web site management tools, and then expand IIS 6 Management Compatibility
  • Select the "IIS Metabase and IIS 6 Configuration Compatibility" check box and click OK.

I do not want to use IIS Express, which is part of VS, but the real local IIS that I installed.

This did not solve the problem. I have yet to find a solution that will allow me (us) to start Visual Studio 2017 and use local IIS without starting it as an administrator. Can someone provide a solution?

, : - IIS

+4
1

: Visual Studio " " ?

MSDN, .

, , - ASP.NET.

+3

Source: https://habr.com/ru/post/1691462/


All Articles