Menu
Cutty
  • Chryslers
  • Lutherie
  • YLSNED
  • About
Cutty

HTTP Error 500.30 ASP.NET Core app failed to start

Posted on August 21, 2024 by Iain 'Cutty' Carlin

Windows event log had this error message:

Application '/LM/W3SVC/7/ROOT' with physical root 'C:\inetpub\wwwroot\scwebgroup.com' hit unexpected managed exception, exception code = '0xe0434352'. Please check the stderr logs for more information.

Go this error message in a dotnet core project. App would run fine in IIS Express and Kestrel but not on IIS proper. After trying many of the suggested solutions on the web, I discovered the issue was being caused by the entry:

<environmentVariable name="APIDISCOVERY_FILEPATH" value="D:\VersaDev.SRS.IdentityServer\VersaDev.SRS.IdentityServer\obj\Debug\net6.0\ApiEndpoints.json" />

in the web.config file. Turns out the failure was down to updating the app to net8.0 which caused a conflict wit this line. Commented out the line and the problem went away.

Recent Posts

  • Books I read in 2025
  • 2024 was the best year for our solar system
  • Books I read in 2024
  • Books I read in 2023
  • Happy New Year 2024

Categories

  • Chryslers (1)
  • Cutty's Blog (13)
  • Lutherie (38)
  • You Learn Something New Every Day (44)
©2026 Cutty | Powered by Superb Themes