Server Error in '/store' Application.

The argument 'nameOrConnectionString' cannot be null, empty or contain only white space.

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.ArgumentException: The argument 'nameOrConnectionString' cannot be null, empty or contain only white space.

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:


[ArgumentException: The argument 'nameOrConnectionString' cannot be null, empty or contain only white space.]
   System.Data.Entity.Utilities.Check.NotEmpty(String value, String parameterName) +79
   System.Data.Entity.DbContext..ctor(String nameOrConnectionString) +34
   Nop.Data.NopObjectContext..ctor(String nameOrConnectionString) in C:\code\ChamberMasterNet\MicroNet.Web.NopCommerce\Libraries\Nop.Data\NopObjectContext.cs:21
   Nop.Web.Framework.<>c.<Register>b__0_9(IComponentContext c) +123
   Autofac.Builder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p) +18
   Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +34
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +95
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +139
   Autofac.Core.Resolving.InstanceLookup.Execute() +187
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +204
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +117
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +278
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +95
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +139
   Autofac.Core.Resolving.InstanceLookup.Execute() +187
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +204
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +117
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +278
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +95
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +139
   Autofac.Core.Resolving.InstanceLookup.Execute() +187
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +204
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +117
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +278
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +95
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +204
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +117
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +278
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +95
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +139
   Autofac.Core.Resolving.InstanceLookup.Execute() +187
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +204
   Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +49

[DependencyResolutionException: An exception was thrown while executing a resolve operation. See the InnerException for details.]
   Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +189
   Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters) +213
   Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) +126
   Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) +70
   Autofac.ResolutionExtensions.Resolve(IComponentContext context, IEnumerable`1 parameters) +120
   Nop.Core.Infrastructure.DependencyManagement.ContainerManager.Resolve(String key) in C:\code\ChamberMasterNet\MicroNet.Web.NopCommerce\Libraries\Nop.Core\Infrastructure\DependencyManagement\ContainerManager.cs:108
   Nop.Core.Infrastructure.TenantEngine.Resolve() in C:\code\ChamberMasterNet\MicroNet.Web.NopCommerce\Libraries\Nop.Core\Infrastructure\TenantEngine.cs:77
   Nop.Core.WebHelper.SslEnabled() in C:\code\ChamberMasterNet\MicroNet.Web.NopCommerce\Libraries\Nop.Core\WebHelper.cs:124
   Nop.Core.WebHelper.GetStoreHost(Boolean useSsl) in C:\code\ChamberMasterNet\MicroNet.Web.NopCommerce\Libraries\Nop.Core\WebHelper.cs:195
   Nop.Core.WebHelper.GetStoreLocation(Boolean useSsl) in C:\code\ChamberMasterNet\MicroNet.Web.NopCommerce\Libraries\Nop.Core\WebHelper.cs:242
   Nop.Core.WebHelper.GetStoreLocation() in C:\code\ChamberMasterNet\MicroNet.Web.NopCommerce\Libraries\Nop.Core\WebHelper.cs:230
   Nop.Web.MvcApplication.EnsureDatabaseIsInstalled() +264
   Nop.Web.MvcApplication.Application_BeginRequest(Object sender, EventArgs e) +659
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0