Cannot launch asp.net core web app in IIS Express

前端 未结 2 1637
耶瑟儿~
耶瑟儿~ 2021-02-19 03:16

[Edit] The problem is BitDefender anti virus. I followed the instructions on how to install asp.net 5 beta 8. I was able to install all the necessary files without any problem.

2条回答
  •  伪装坚强ぢ
    2021-02-19 04:01

    Start your application from the command prompt with dnx web or dnx-watch web, or select VS2015 todo so.

    Watch the console window for any errors.

    HTTP Error 502.3 - Bad Gateway
    

    You will see these errors only on your screen if you use dnx web.

    I also got this error. and it was caused by a bug in EF. You can get this error if IIS express can't communicate with kestrel anymore because kestrel stop responding.

    Be sure you select the correct dnx version by running dnvm use. to show the list of dnx version available use dnvm list

    :\git\Other\Templates\test\Microsoft.Web.Templates.StarterWeb.AI.IndividualAuth.Tests>dnvm list

    Active Version         Runtime Architecture OperatingSystem Alias
    ----- -------         ------- ------------ --------------- -----
      1.0.0-beta8     clr     x64          win
    * 1.0.0-beta8     clr     x86          win             b8
      1.0.0-beta8     coreclr x64          win
      1.0.0-beta8     coreclr x86          win
      1.0.0-rc1-16110 coreclr x86          win
      1.0.0-rc1-final clr     x64          win
      1.0.0-rc1-final clr     x86          win             rc1
      1.0.0-rc1-final coreclr x64          win
      1.0.0-rc1-final coreclr x86          win
      1.0.0-rc2-16177 clr     x64          win
      1.0.0-rc2-16177 clr     x86          win             rc2
      1.0.0-rc2-16177 coreclr x64          win
      1.0.0-rc2-16177 coreclr x86          win
      1.0.0-rc2-16219 clr     x86          win
      1.0.0-rc2-16219 coreclr x86          win
      1.0.0-rc2-16222 clr     x86          win             default
      1.0.0-rc2-16222 coreclr x86          win
    

提交回复
热议问题