Error when running the nopcommerce 2.2 on localhost

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 12 años
Hi ,

The website was running fine locally but when i deployed the website on server , now its not running on localhost , its coming up with error:

A plugin with 'DiscountRequirement.BillingCountryIs' system name is already defined
Line 92:                                 throw new Exception(string.Format("A plugin has no system name. Try assigning the plugin a unique name and recompiling.", description.SystemName));
Line 93:                             if (referencedPlugins.Contains(description))
Line 94:                                 throw new Exception(string.Format("A plugin with '{0}' system name is already defined", description.SystemName));
Line 95:
Line 96:                             //set 'Installed' property

Source File: C:\Libraries\Nop.Core\Plugins\PluginManager.cs    Line: 94

Any ideas what has gone wrong.
Hace 12 años
creative3k wrote:
Hi ,

The website was running fine locally but when i deployed the website on server , now its not running on localhost , its coming up with error:

A plugin with 'DiscountRequirement.BillingCountryIs' system name is already defined
Line 92:                                 throw new Exception(string.Format("A plugin has no system name. Try assigning the plugin a unique name and recompiling.", description.SystemName));
Line 93:                             if (referencedPlugins.Contains(description))
Line 94:                                 throw new Exception(string.Format("A plugin with '{0}' system name is already defined", description.SystemName));
Line 95:
Line 96:                             //set 'Installed' property

Source File: C:\Libraries\Nop.Core\Plugins\PluginManager.cs    Line: 94

Any ideas what has gone wrong.


Try cleaning out the Nop.Web\Plugins directory and then adding back your plugins. Maybe a plugin assembly was deployed twice.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.