当前位置:首页 > 服务器技术 > IIS

ASP.NET / C# / CODING / SERVERS & SERVICES / WEB Unable to launch the IIS Express Web server error o

  1. Delete the DocumentsIISExpress folder using the following console command: rmdir /s /q "%userprofile%DocumentsIISExpress"
  2. Delete the applicationhost.config file which is placed within the .vsConfig folder in your Visual Studio project root folder.
  3. Close Visual Studio and re-start it with Administrative priviledges (right-click > Run as Administrator).
  4. Change the project’s website random URL: within Visual Studio, right-click to the project node in Solution Explorer, then select Properties; navigate through the Web panel, then change the number in the Project Url textbox value.
  5. Add the _CSRUN_DISABLE_WORKAROUNDS Environment System variable with the value of 1 as shown in the following screenshot (thanks to Juan M. Elosegui for reporting this on this SO thread and for the image):

       ASP.NET / C# / CODING / SERVERS & SERVICES / WEB Unable to launch the IIS Express Web server error o - 文章图片

 

 

       source:https://www.ryadel.com/en/unable-launch-iis-express-web-server-error-visual-studio-2015-fix/

 


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!