Hope somebody can help, having a serious problem with a the Braintree Plugin, keep getting the below error, which brings the whole nopCommerce 4.0 site crashing down, uninstall the plugin and all is fine, reinstall and is fine for a day or so, but the same cycle keeps happening, As Braintree is my man payment provider this is quite a serious issue, can anybody shed any light, I use the NO SOURCE build of nopCommerce.
Many thanks
Nick
Application startup exception: System.Exception: Plugin 'Credit Card'. Access to the path '\Plugins\bin\Nop.Plugin.Payments.BrainTree.dll' is denied.
Access to the path '\Plugins\bin\Nop.Plugin.Payments.BrainTree.dll' is denied.
---> System.Exception: Plugin 'Credit Card'. Access to the path '\Plugins\bin\Nop.Plugin.Payments.BrainTree.dll' is denied. ---> System.UnauthorizedAccessException: Access to the path '\Plugins\bin\Nop.Plugin.Payments.BrainTree.dll' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at System.IO.File.Delete(String path)
at Nop.Core.Plugins.PluginManager.ShadowCopyFile(FileInfo plug, DirectoryInfo shadowCopyPlugFolder)
at Nop.Core.Plugins.PluginManager.PerformFileDeploy(FileInfo plug, ApplicationPartManager applicationPartManager, NopConfig config)
at Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config)
--- End of inner exception stack trace ---
at Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config)
--- End of inner exception stack trace ---
at Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config)
at Nop.Core.Infrastructure.NopEngine.Initialize(IServiceCollection services)
at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, IConfigurationRoot configuration)
at Nop.Web.Startup.ConfigureServices(IServiceCollection services)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
crit: Microsoft.AspNetCore.Hosting.Internal.WebHost[6]
Application startup exception