Azure Installation Unstable

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 3 ans
nopCommerce 4.2 has been running happily for several years on Azure but suddenly has become unstable. It will fall over and give the following error message that Microsoft seem unable to help with.

An error occurred while starting the application.
UnauthorizedAccessException: Access to the path 'D:\home\site\wwwroot\Plugins\bin\Nop.Plugin.DiscountRules.CustomerRoles.dll' is denied.
System.IO.FileSystem.CopyFile(string sourceFullPath, string destFullPath, bool overwrite)

Please can someone point me in the right direction to solve the problem
Il y a 3 ans
You may need to give more permissions to the Plugins folder

https://www.nopcommerce.com/en/boards/topic/89344/nopcommerce-43-plugin-access-denied-on-microsoft-azure-hosting

https://www.nopcommerce.com/en/boards/topic/55568/systemexception-plugin-must-be-assigned-to-customer-role-access-to-the-path-is-denied
Il y a 3 ans
Thank you. I didn't know I had any control over folder permissions within Azure. Please can you tell me how to achieve this. Everything I read tells me the app has read/write permissions anyway.

I am struggling to understand why the app will run happily for several days before falling over with this error. Uninstalling plug-ins just moves the error to the first one in the list. Is this a permissions problem within nopCommerce?
Il y a 3 ans
Hi, I have same problem.

Did you found a solution?

thanks
Il y a 3 ans
Here's another related topic.  It's long (many posts), so this link is near the end.  Check your appsettings.json file.

https://www.nopcommerce.com/en/boards/topic/49851/serious-iis-application-pool-recycling-bugdesign-flaw/page/13
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.