11/19/2023 0 Comments Rcsetup153I also noticed several posts that mention installing the URL Rewrite module for IIS corrects this error (notably this: HTTP Error 500.19 - IIS 7.5 Error 0x8007000d). NET Core (SDK, runtime, and hosting component) but it did not help. What is causing IIS to fail to run this application? Publishing to a separate folder and manually setting up the site in IIS (rather than relying on the default Visual Studio behavior of create an IIS website pointed at the "bin" folder) results in the same error message, although I get a slightly different aspNetCore node in the generated web.config file: The point being that the AspNetCoreModule throws the error this time, so it is being loaded and running some code. ![]() Requested URL Physical Path C:\Code\Sandbox\IisTestApp\IisTestApp There was a connection error while trying to route the request. If I remove the node, I get a different error: HTTP Error 502.3 - Bad Gateway Note: I still get the same error message if I hardcode the full path in the processPath, or use. 2.1.8 ĭespite all that, I think the problem really is related to IIS and that hosting component! Here is the (very default) web.config that is generated with the project template: The full response has been written to C:\Users>dotnet -list-runtimes The web server request failed with status code 500, Internal Server Error. Unable to start process C:\Program Files\dotnet\dotnet.exe. If I try to target local IIS, I get the following error: Now listening on: Now listening on: Application started. ![]() ![]() Using launch settings from C:\Code\Sandbox\IisTestApp\IisTestApp\Properties\launchSettings.json.Ĭontent root path: C:\Code\Sandbox\IisTestApp\IisTestApp Similarly, if I launch the app from the command line via dotnet run, everything works smoothly: C:\Code\Sandbox\IisTestApp\IisTestApp>dotnet run I have an ASP.NET Core app that runs great in IIS Express.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |