Upgraded to 3.1.080…
 
Notifications
Clear all

Upgraded to 3.1.0805 and can't log into CloudPanel Application

1 Posts
2 Users
0 Reactions
4,276 Views
0
Topic starter

http://localhost/cloudpanel
yields this error blob:

Server Error in ‘/CloudPanel’ 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.DbContext..ctor(String nameOrConnectionString) +317
CloudPanel.Database.EntityFramework.CloudPanelContext..ctor() +30
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
System.Data.Entity.Infrastructure.DbContextInfo.CreateInstance() +730
System.Data.Entity.Infrastructure.DbContextInfo..ctor(Type contextType, DbProviderInfo modelProviderInfo, AppConfig config, DbConnectionInfo connectionInfo, Func`1 resolver) +413
System.Data.Entity.Infrastructure.DbContextInfo..ctor(Type contextType, Func`1 resolver) +59
System.Data.Entity.Migrations.DbMigrator..ctor(DbMigrationsConfiguration configuration, DbContext usersContext, DatabaseExistenceState existenceState, Boolean calledByCreateDatabase) +323
System.Data.Entity.Migrations.DbMigrator..ctor(DbMigrationsConfiguration configuration) +32
CloudPanel.Bootstrapper.UpdateDatabase() +207
CloudPanel.Bootstrapper.ApplicationStartup(TinyIoCContainer container, IPipelines pipelines) +207
Nancy.Bootstrapper.NancyBootstrapperBase`1.Initialise() +660
Nancy.Hosting.Aspnet.NancyHttpRequestHandler..cctor() +32

[TypeInitializationException: The type initializer for ‘Nancy.Hosting.Aspnet.NancyHttpRequestHandler’ threw an exception.]
Nancy.Hosting.Aspnet.NancyHttpRequestHandler..ctor() +0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256
System.Activator.CreateInstance(Type type, Boolean nonPublic) +127
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +14297981
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +198
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28
System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +83
System.Web.Configuration.HandlerFactoryCache..ctor(String type) +57
System.Web.HttpApplication.GetFactory(String type) +94
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +375
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

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

Any assistance would be appreciated.

Best,
Dave.

1 Answer
0

During the upgrade it probably removed the settings from the settings.xml file. Restore the settings.xml file that you copied before the upgrade.

Share: