Look's like it's a memory issue! I did a publish to IIS server, and it ran with out any issue!
It's pretty easy to test, just download nop 4.0 source, add the plugin's and run it from visual studio, then the error will happen.
Hi
I'm trying to run it nopcommerce in visual studio.
This is the versions we are using:
SevenSpikes.Nop.Conditions, Version=4.0.1096.27817
SevenSpikes.Nop.Core, Version=4.0.1096.27817
SevenSpikes.Nop.EntitySettings, Version=4.0.1096.27817
SevenSpikes.Nop.Framework, Version=4.0.1096.27817
SevenSpikes.Nop.Mappings, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.AjaxCart, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.AjaxFilters, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.AnywhereSliders, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.CloudZoom, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.Core, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.FacebookShop, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.InstantSearch, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.JCarousel, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.MegaMenu, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.NopQuickTabs, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.ProductRibbons, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.QuickView, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.SaleOfTheDay, Version=4.0.1096.27817
SevenSpikes.Nop.Plugins.SmartProductCollections, Version=4.0.1096.27817
SevenSpikes.Nop.Scheduling, Version=4.0.1096.27817
SevenSpikes.Nop.Services, Version=4.0.1096.27817
SevenSpikes.Theme.Emporium, Version=4.0.1052.27302
SevenSpikes.Nop.Plugins.Attachments, Version=4.0.1035.27164
SevenSpikes.Nop.Plugins.AjaxFilters.Pro, Version=4.0.599.26182
SevenSpikes.Nop.Plugins.HtmlWidgets, Version=4.0.599.26182
SevenSpikes.Nop.Plugins.PrevNextProduct, Version=4.0.599.26182
When this is running on the live site it's working great, but not local.
It's a VM with a IIS
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)