- 4
We are helping a client, making the correct development setup, but when we add the 7Spikes plugins and try to run the solution we get this error (nop 4.0):
Application startup exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.SEHException: External component has thrown an exception.
at <PrivateImplementationDetails>{1D1EA875-20B1-40D0-B9F5-51BC45DAE49A}.0DA619D6-F761-4322-AD87-0277C231D5E5.(Int32 , Int32 , Int32 )
at <PrivateImplementationDetails>{1D1EA875-20B1-40D0-B9F5-51BC45DAE49A}.0DA619D6-F761-4322-AD87-0277C231D5E5.B()
at SevenSpikes.Nop.Plugins.HtmlWidgets.DependancyRegister..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)
Application startup exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.SEHException: External component has thrown an exception.
at <PrivateImplementationDetails>{1D1EA875-20B1-40D0-B9F5-51BC45DAE49A}.0DA619D6-F761-4322-AD87-0277C231D5E5.(Int32 , Int32 , Int32 )
at <PrivateImplementationDetails>{1D1EA875-20B1-40D0-B9F5-51BC45DAE49A}.0DA619D6-F761-4322-AD87-0277C231D5E5.B()
at SevenSpikes.Nop.Plugins.HtmlWidgets.DependancyRegister..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)