NopCommerce 4.0 - Exception: A plugin with 'Nop.Plugin.Misc.PluginName' system name is already defined

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
I upgraded plugin in nopCommerce 4.0 from 3.90.

It was working fine till upgradation done.

But since this morning I'm getting exception message



An error occurred while starting the application.
Exception: A plugin with 'Nop.Plugin.Misc.PluginName' system name is already defined

Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config) in PluginManager.cs, line 385
Exception: A plugin with 'Nop.Plugin.Misc.PluginName' system name is already defined

Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config) in PluginManager.cs, line 464

    Exception: A plugin with 'Nop.Plugin.Misc.PluginName' system name is already defined
        Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config) in PluginManager.cs

                                throw new Exception($"A plugin with '{pluginDescriptor.SystemName}' system name is already defined");





Yesterday it was working fine. I'm not change anything but today facing above exception on project run.

Any Idea why that is happen ?
6 years ago
rajupaladiya wrote:
I upgraded plugin in nopCommerce 4.0 from 3.90.

It was working fine till upgradation done.

But since this morning I'm getting exception message



An error occurred while starting the application.
Exception: A plugin with 'Nop.Plugin.Misc.PluginName' system name is already defined

Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config) in PluginManager.cs, line 385
Exception: A plugin with 'Nop.Plugin.Misc.PluginName' system name is already defined

Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config) in PluginManager.cs, line 464

    Exception: A plugin with 'Nop.Plugin.Misc.PluginName' system name is already defined
        Nop.Core.Plugins.PluginManager.Initialize(ApplicationPartManager applicationPartManager, NopConfig config) in PluginManager.cs

                                throw new Exception($"A plugin with '{pluginDescriptor.SystemName}' system name is already defined");





Yesterday it was working fine. I'm not change anything but today facing above exception on project run.

Any Idea why that is happen ?


Make sure Build path for Nop.Plugin.Misc.PluginName is same in Debug Mode and Release mode.

And Make Sure Plugin System Name Unique.
6 years ago
sohel wrote:


Make sure Build path for Nop.Plugin.Misc.PluginName is same in Debug Mode and Release mode.

And Make Sure Plugin System Name Unique.


Hello Sohel,

Release and DEbug path are same.
Regarding Plugin system name, it is also unique.

Yesterday it was working fine, but don't know why today it not working.
I'm working with same machine and same DB.

Also checked in installedPlugins.json, there is also plugin name not repeating.
6 years ago
rajupaladiya wrote:


Make sure Build path for Nop.Plugin.Misc.PluginName is same in Debug Mode and Release mode.

And Make Sure Plugin System Name Unique.

Hello Sohel,

Release and DEbug path are same.
Regarding Plugin system name, it is also unique.

Yesterday it was working fine, but don't know why today it not working.
I'm working with same machine and same DB.

Also checked in installedPlugins.json, there is also plugin name not repeating.



Check others plugins plugins.

And also delete all dll plugins and rebuild again if you are in local machine and source version.
6 years ago
sohel wrote:

Check others plugins plugins.

And also delete all dll plugins and rebuild again if you are in local machine and source version.


Hello Sohel.

I fixed it.
Checked all plugins.js file one by one. My plugin's js file by mistakes moved on another plugin folder so it occurring exception.

Thank you for your help. :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.