An error occurred while starting the application

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 лет назад
Hi all,

I am running nopcommerce 4.00 on a Windows Azure VM running Server 2016 and am using Azure SQL.

This is a new site that has only been running for a few weeks, and I am finding the site randomly shuts down and I get this error when navigating to it.

An error occurred while starting the application.
.NET Framework 4.7.2117.0 X86 v4.0.0.0    |   Microsoft.AspNetCore.Hosting version 2.0.0-rtm-26452    |    Microsoft Windows 10.0.14393    |   Need help?


I need to restart the website / app pool in IIS to fix this.

Can anyone suggest what would be causing this?

Many thanks,

Adam
6 лет назад
Hello,

I have similar problem which you faced.

I follow below URL.

https://www.nopcommerce.com/boards/t/49851/serious-iis-application-pool-recycling-bugdesign-flaw.aspx?p=3#199596.

I got below step which help me resolve this issue.

I have removed the shadow copy code from PluginManager.cs, you can find my changes here -

https://pastebin.com/RABL78sb

I've only tested this on my development server at this stage, but it looks to be working fine.

I suggest doing a diff to check my changes, I am only human after all.

Will wait until production site is quiet before testing in production.

Don't forget to delete the Plugins/bin shadow directory after deploying the changes.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.