I have a store that I started hosting on DiscountAsp.net over a week ago. It just went down and displayed the dreaded:
An error occurred while starting the application.
.NET Framework 4.7.2650.0 X86 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.0.0-rtm-26452 | Microsoft Windows 6.3.9600 | Need help?
In an attempt to debug the cause, I edited the web.config to set customErrors to Off. In doing that, the application restarted by itself and came up normally. I did not make any changes to the code or configuration prior to the site going down.
I contacted DiscountAsp.net tech support and they pointed me to a thread on this forum, which discusses various causes of the error. In my case, the site was running smoothly for over a week and then just sputtered.
https://www.nopcommerce.com/boards/t/49550/an-error-occurred-while-starting-the-application.aspx
I would appreciate any thoughts on why this might have happened or how to diagnose future occurrences (if any).