Exception occurs when i run nopcommerce 4.2 for first time.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi
i am getting an error when i run nipcommerce 4.2 for first time
System.Exception: 'A plugin with 'DiscountRequirement.MustBeAssignedToCustomerRole' system name is already defined

look like there are plugins into plugins.
for example  
Nop.Web/Plugins/DiscountRules.CustomerRoles
that plugins has   "SystemName": "DiscountRequirement.MustBeAssignedToCustomerRole",

in the other hand we have the plugin
Nop.Web/Plugins/Tax.Avalara  which contain also the above plugin
Nop.Web/Plugins/Tax.Avalara/Plugins/DiscountRules.CustomerRoles which  has   "SystemName":
"DiscountRequirement.MustBeAssignedToCustomerRole",

So that is the reason why we are getting that error.
but i wonder if this is expected.
should not run without any errors?
how should i fix the issue? remember that is new source code that i just downloaded so i did not change anything.
4 years ago
can help below link:

https://www.nopcommerce.com/boards/t/72937/help-systemexception-a-plugin-with-sevenspikesnoppluginscategoriesheadermenu-system-name-is-already-defined.aspx
4 years ago
Ah, I deleted plugins folder and restart IIS.
It's OK now.
thanks.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.