the last plugin i installed before getting the app start error was nop purchase order, so i deleted it from the server and restarted it, and was able to log in.
Hi all, I am also having the same problem, as soon as I copy the Shop All template from nop-templates.com to the plugins folder and reload the list of plugins in nopCommerce admin I get a 502.5 error. The error message in stdout log is: ------------------------------------------------------------------------------ Application startup exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at <PrivateImplementationDetails>{B12874A5-5A3C-4B74-A65B-504AE7B906C1}.F4819236-3A5D-4A20-9531-ECB331A264E3.(Int32 , Int32 , Int32 ) at <PrivateImplementationDetails>{B12874A5-5A3C-4B74-A65B-504AE7B906C1}.F4819236-3A5D-4A20-9531-ECB331A264E3.b() at SevenSpikes.Nop.Plugins.Core.Infrastructure.DependencyRegistrar..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at Nop.Core.Infrastructure.NopEngine.<>c.<RegisterDependencies>b__6_0(Type dependencyRegistrar) at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext() at Nop.Core.Infrastructure.NopEngine.RegisterDependencies(NopConfig nopConfig, IServiceCollection services, ITypeFinder typeFinder) at Nop.Core.Infrastructure.NopEngine.ConfigureServices(IServiceCollection services, IConfigurationRoot configuration) 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() ------------------------------------------------------------------------------
The nopCommerce web is failing both on local IIS and Azure and this is a critical showstopper for us. The number of customers affected by this issue is just growing, can you please provide a fix for this bug as soon as possible?
Hi all, I am also having the same problem, as soon as I copy the Shop All template from nop-templates.com to the plugins folder and reload the list of plugins in nopCommerce admin I get a 502.5 error. The error message in stdout log is: ------------------------------------------------------------------------------ Application startup exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
This is not the same bug. The bug I reported occurs after application pool recycle, and the error is as follows -
Application startup exception: System.Exception: Plugin '[plugin name]'. Access to the path '[dll path]' is denied.
We have also had these problems in Azure and it seems like we got it (temporary) resolved yesterday. The reason for the issue to still continue after disabling overlapped recycle was because nop-templates assemblies were obfuscated, after getting unobfuscated assemblies from nop-templates the site started to work fine.
Not a solution to the root cause of the problem but a workaround that gets the site up and running.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.