Below is the error and appears to be the result of a call to FluentValidation.mvc
Wouldn't this would be in the plugin code?
I am at my wits end on this.
Server Error in '/kenny' Application. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.] System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0 System.Reflection.RuntimeModule.GetTypes() +4 System.Reflection.Assembly.GetTypes() +78 Nop.Core.Plugins.PluginManager.Initialize() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:124
[Exception: Could not load file or assembly 'FluentValidation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a82054b837897c66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ] Nop.Core.Plugins.PluginManager.Initialize() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:144
[Exception: Could not load file or assembly 'FluentValidation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a82054b837897c66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. ] Nop.Core.Plugins.PluginManager.Initialize() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:163
[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not load file or assembly 'FluentValidation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a82054b837897c66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. .] System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +423 System.Web.Compilation.BuildManager.CallPreStartInitMethods() +306 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +591
[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not load file or assembly 'FluentValidation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a82054b837897c66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. .] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9013676 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256
Thanks Darren but been trying to set this test site up for weeks now and this just is a killer. You supposedly sent me the files I needed since I installed with no source. Is the other option something that I can do on my own?
I'm not clear as to why this is the only plugin that has this problem. Although I don't see any other plugin using the FluentValidation files.
I'm lost at this point and I think my possible client has given up.
Error while placing order. Error 0: Error: Shipping total couldn't be calculated. Full exception: Nop.Core.NopException: Shipping total couldn't be calculated at Nop.Services.Orders.OrderProcessingService.PlaceOrder(ProcessPaymentRequest processPaymentRequest) in c:\Users\happy\Desktop\nopCommerce_e3ba8759ec17\src\Libraries\Nop.Services\Orders\OrderProcessingService.cs:line 654
No custom changes made. It is going straight to paypal and not asking any shipping options. I think it may be that it automatically chooses the cheapest option and have to search for that code, but unsure. This is the express plugin. I am hoping to get this going tonight.
I can't get this plugin working. I keep getting build errors after adding fluent validation about assembly reference? Can someone email me the nonsource plugin to try?