✅ HTTP Error 500.30 - ASP.NET Core app failed to start
Hello!
I'm getting this error after deploying a net core app to IIS 10 (Windows 10 pc).
Publish seems to be fine, release, win-x86... I installed IIS and Hosting bundle on target PC.
App has Windows Authentication enabled, I get the login prompt at browser, after filling user/pass and OK, it shows the 500.30 error.
I followed steps from MS docs and run the app from cli (\dotnet app.dll) and got this:
I get app cannot Load/find a file but if I just run the app.exe it works flawless, allows to login, and app behaves correctly, connecting to remote db, etc.
What am I missing?? Help!
Edit: added IIS selected features
4 Replies
Update:
Arhggggggg found a solution: hosting model must be OutOfProcess...
This change at web.config did the trick:
Still getting the same exception running it from cli, but app works 🧐
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity./close