Boot failed: Umbraco cannot run. See Umbraco's log file for more details.
I haven't made any changes in Umbraco but am getting the following message when I try to run my local environment. Any ideas on how I can resolve this?
[BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details.
-> Umbraco.Core.Exceptions.BootFailedException: Could not check the upgrade state.
at Umbraco.Core.RuntimeState.GetUmbracoDatabaseState(IUmbracoDatabaseFactory databaseFactory)
at Umbraco.Core.RuntimeState.DetermineRuntimeLevel(IUmbracoDatabaseFactory databaseFactory)
at Umbraco.Core.Runtime.CoreRuntime.DetermineRuntimeLevel(IUmbracoDatabaseFactory databaseFactory, IProfilingLogger profilingLogger)
at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer)
-> System.Data.SqlServerCe.SqlCeException: The database file is larger than the configured maximum database size. This setting takes effect on the first concurrent database connection only. [ Required Max Database Size (in MB; 0 if unknown) = 257 ]
at System.Data.SqlServerCe.SqlCeDataReader.ProcessResults(Int32 hr)
at System.Data.SqlServerCe.SqlCeDataReader.IsEndOfRowset(Int32 hr)
at System.Data.SqlServerCe.SqlCeDataReader.Move(DIRECTION direction)
at System.Data.SqlServerCe.SqlCeDataReader.Read()
at NPoco.Database.<Read>d__156`1.MoveNext()
at NPoco.Database.<QueryImp>d__164`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Umbraco.Core.Persistence.SqlSyntax.SqlCeSyntaxProvider.GetColumnsInSchema(IDatabase db)
at Umbraco.Core.Migrations.Install.DatabaseSchemaCreator.ValidateDbColumns(DatabaseSchemaResult result)
at Umbraco.Core.Migrations.Install.DatabaseSchemaCreator.ValidateSchema(IEnumerable`1 orderedTables)
at Umbraco.Core.Persistence.UmbracoDatabaseExtensions.ValidateSchema(IUmbracoDatabase database, ILogger logger)
at Umbraco.Core.Persistence.UmbracoDatabaseExtensions.IsUmbracoInstalled(IUmbracoDatabase database, ILogger logger)
at Umbraco.Core.RuntimeState.GetUmbracoDatabaseState(IUmbracoDatabaseFactory databaseFactory)]
Umbraco.Core.Exceptions.BootFailedException.Rethrow(BootFailedException bootFailedException) +339
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +218
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +182
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94
This forum thread from a while back seems to indicate the same problem that you're having and like Huw mentioned, involves changing the Database Size, but this one seems to suggest 4096 rather than 4000?
Boot failed: Umbraco cannot run. See Umbraco's log file for more details.
I haven't made any changes in Umbraco but am getting the following message when I try to run my local environment. Any ideas on how I can resolve this?
try adding ; Max Database Size=4000 to your connection string
Connection string is now:
but I am still getting the same error.
This forum thread from a while back seems to indicate the same problem that you're having and like Huw mentioned, involves changing the Database Size, but this one seems to suggest 4096 rather than 4000?
Might be worth a go?
https://our.umbraco.com/forum/developers/extending-umbraco/47141-The-database-file-is-larger-than-the-configured-maximum-database-size
is working on a reply...