ASP.NET 5 MVC: unable to connect to web server 'IIS Express'

后端 未结 30 2038
北恋
北恋 2020-12-12 13:28

What I\'m doing:

  • Opening Visual Studio Community 2015
  • File -> New -> Project
  • Under Visual C#: Web -> ASP.NET Web Application
  • Web App
30条回答
  •  温柔的废话
    2020-12-12 13:43

    Run VisualStudio with administrator privilegies and run the project. Then close VisualStudio and all errors and run VisualStudio again with the normal user.

    This did it for me.

    Looks like that IIS has to write something to some config with admin privilegies (port 80 didn't work with normal user but port 6767 worked fine).

提交回复
热议问题