I vave nopCommerce 3.9.
In my Environment works fine.
In azure i get this error:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Nop.Core.Plugins.PluginManager.PerformFileDeploy(FileInfo plug) +12
Nop.Core.Plugins.PluginManager.Initialize() +1091
[Exception: Plugin 'Must be assigned to customer role'. Object reference not set to an instance of an object.]
Nop.Core.Plugins.PluginManager.Initialize() +1979
[Exception: Plugin 'Must be assigned to customer role'. Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
]
Nop.Core.Plugins.PluginManager.Initialize() +2343
[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Plugin 'Must be assigned to customer role'. Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
.]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +615
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +141
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +102
System.Web.Compilation.BuildManager.ExecutePreAppStart() +157
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +549
[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Plugin 'Must be assigned to customer role'. Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10044576
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254