Hey!
I am trying for a few hours now to get this plugin to work! But I just don't get it :(
I tried using Hezy's version for 3.50, first off, installation works fine (no errors that I know of) - but when I try to enter "Configure" - I got:
Exception Details: System.Data.Entity.Validation.DbEntityValidationException: Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
[Exception: Property: FullMessage Error: The field FullMessage must be a string or array type with a maximum length of '4000'.]
Nop.Data.EfRepository`1.Insert(T entity) in c:\nopCommerce\3.50_Source\Libraries\Nop.Data\EfRepository.cs:75...
With this innerException:
{"The view 'Nop.Plugin.Misc.Licenses.Views.Configure' or its master was not found or no view engine supports the searched locations. The following locations were searched:\r\n~/Themes/DefaultClean/Views/License/Nop.Plugin.Misc.Licenses.Views.Configure.cshtml\r\n~/Themes/DefaultClean/Views/Shared/Nop.Plugin.Misc.Licenses.Views.Configure.cshtml\r\n~/Views/License/Nop.Plugin.Misc.Licenses.Views.Configure.cshtml\r\n~/Views/Shared/Nop.Plugin.Misc.Licenses.Views.Configure.cshtml\r\n~/Administration/Views/License/Nop.Plugin.Misc.Licenses.Views.Configure.cshtml\r\n~/Administration/Views/Shared/Nop.Plugin.Misc.Licenses.Views.Configure.cshtml"}
Maybe something with registering the routes didn't work?
Anyway - I tried fiddling around with the view coming back from the controller (LicenseController.cs)-
I changed this:
return View("Nop.Plugin.Misc.Licenses.Views.Configure", model);
To this:
return View("~/Plugins/Misc.Licenses/Views/Configure.cshtml", model);
But then I got the same exception, with this innerException:
{"c:\\nopCommerce\\3.50_Source\\Presentation\\Nop.Web\\Plugins\\Misc.Licenses\\Views\\Configure.cshtml(1): error CS0103: The name 'model' does not exist in the current context"}
I also tried taking version 3.40 and manually "busting" the errors for it to compile correctly with 3.50, still get the same results... :(
I am pretty new to MVC and nopCommerce, so sorry in advance :)
Thanks for the help!
-golot7