I've set the flag to false and so far so good but 36 hours isn't good enough for me to feel confident. I agree there doesn't seem to be a consensus solution for 4.1
Same error again and again. Also, I have already disabled IIS overlap recycling.
This errors happens more and more recently ... It is really problematic to have the website crashed multiple times a week ...
What is the way to fix this problem ? Has it been already found ... ?
In this thread it appears that there are three separate documented and independently verified and reproducible bugs, affecting Nopcommerce 4.0 and 4.1, all related to the primary issue:
1. One where PluginShadowcopy crashes the app at random every 29 hours due to a conflict between Nopcommerce and IIS overlapping application pool recycling
2. One where UsePluginShadowcopy = False to resolve #1 breaks plugins with views due to missing references.
3. One where CopyLockedPluginAssembilesToSubdirectoriesOnStartup = True to resolve #1 throws a "System.UnauthorizedAccessException: Access to the path exception"
On Azure App Service where we have the application running, I have enabled autoheal. It will catch when the server starts posting 500 errors and reboot the application. This isn't a solution to the problem, it's a temporary fix so that the app doesn't remain in crashed state for hours at a time.
Please note these unresolved bugs cause significant negative impact to SEO and SEM in production environments, in addition to poor customer experience and lost revenue.