Close

Error when upgrading to 4.0 from 3.9

jsjay
3 months ago
#15733 Quote
Avatar
  • 3
When I try to run nopCommerce in Visual Studio. I get the following error:

System.Exception
  HResult=0x80131500
  Message=Plugin 'Nop Ajax Filters'. Method 'GetActionFilterAttribute' in type 'SevenSpikes.Nop.Plugins.AjaxFilters.ActionFilters.FiltersActionFilterFactory' from assembly 'SevenSpikes.Nop.Plugins.AjaxFilters, Version=3.8.248.21753, Culture=neutral, PublicKeyToken=null' does not have an implementation.


I have re-downloaded the plugin from here and tried again in case I had a wrong version or something and got the same result. Any ideas?
SDobrev
3 months ago
#15734 Quote
Avatar
  • Moderator
  • 269
Hi,

You said you are upgrading to 4.0 from 3.9 but the error message says the plugin version is "3.8.248.21753". Please double check which packages are you using.
Best Regards,
Stoyan Dobrev
Nop-Templates.com
jsjay
3 months ago
#15735 Quote
Avatar
  • 3
Hello,

I was able to resolve this. An old .dll from a different plugin's directory made it's way in to the 4.0 project directory. It has been there since 3.8, but for some reason created no errors in 3.9. Regardless I have removed it and everything is alright now. Thank you for the help!
jsjay
3 months ago
#15736 Quote
Avatar
  • 3
jsjay wrote:
Hello,

I was able to resolve this. An old .dll from a different plugin's directory made it's way in to the 4.0 project directory. It has been there since 3.8, but for some reason created no errors in 3.9. Regardless I have removed it and everything is alright now. Thank you for the help!



This error specifically is resolved. However, I am now getting errors that I am missing references to certain .dll files like System.Web.Mvc, Antlr3.Runtime, etc. None of these are used by Nop anymore in version 4.0, but for some reason they are used in the various plugins Nop Templates offers? If that is true, why aren't these dependencies bundled with the plugins? Am I thinking about this correctly or am I missing something?
hristian.dimov
3 months ago
#15747 Quote
Avatar
  • Moderator
  • 386
jsjay wrote:
Hello,

I was able to resolve this. An old .dll from a different plugin's directory made it's way in to the 4.0 project directory. It has been there since 3.8, but for some reason created no errors in 3.9. Regardless I have removed it and everything is alright now. Thank you for the help!


This error specifically is resolved. However, I am now getting errors that I am missing references to certain .dll files like System.Web.Mvc, Antlr3.Runtime, etc. None of these are used by Nop anymore in version 4.0, but for some reason they are used in the various plugins Nop Templates offers? If that is true, why aren't these dependencies bundled with the plugins? Am I thinking about this correctly or am I missing something?


Hi,

None of our plugins in the 4.0 version use those dlls. Are you sure that this is not coming from other plugins?

Also, please check if you are using the 4.0 version of our plugins.

Hope this helps!
Regards,
Hristian Dimov
Nop-Templates.com