Hi there,
I am getting a known exception. my nopcommerce 4.3 version hosted on azure. I was getting same exception for 4.0. on but I found some solution for 4.0 version. can any body help to fix problem with 4.3 hosted on azure. following it the details of the exception. is some thing wrong with azure hosting.
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)
Exception: Plugin 'Must be assigned to customer role'. Access to the path 'D:\home\site\wwwroot\Plugins\bin\Nop.Plugin.DiscountRules.CustomerRoles.dll' is denied.
Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, NopConfig config) in ApplicationPartManagerExtensions.cs, line 569
Exception: Plugin 'Must be assigned to customer role'. Access to the path 'D:\home\site\wwwroot\Plugins\bin\Nop.Plugin.DiscountRules.CustomerRoles.dll' is denied.
Access to the path 'D:\home\site\wwwroot\Plugins\bin\Nop.Plugin.DiscountRules.CustomerRoles.dll' is denied.
Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, NopConfig config) in ApplicationPartManagerExtensions.cs, line 580
UnauthorizedAccessException: Access to the path 'D:\home\site\wwwroot\Plugins\bin\Nop.Plugin.DiscountRules.CustomerRoles.dll' is denied.