This was a fresh Umbraco 8 (8.7.0) installation, developed locally until I was ready to push it to my dev site. Once deployed I receive the error below.
Dev site is on a F1 plan, since I am only using it to test deployment before deploying to prod (good thing since it's broken).
I realize some will say this is a permissions issue with some of the files and folders, but keep in mind it is running in azure. I am not sure you can change read/write permissions in azure (can you?)
Here is everything I have checked:
App Service is running .NET 4.7.2
I've added the connection string to the Azure configuration connection strings section
I've added the following config values as specified in the documentation:
[NullReferenceException: Object reference not set to an instance of an object.]
Umbraco.Web.Runtime.WebRuntime.Boot(IRegister register) +139
Umbraco.Web.UmbracoApplicationBase.HandleApplicationStart(Object sender, EventArgs evargs) +47
Umbraco.Web.UmbracoApplicationBase.Application_Start(Object sender, EventArgs evargs) +34
[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +475
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +220
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +303
[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +659
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +89
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189
So it turns out that when I upgraded from Umbraco 8.6 to Umbraco 8.6.4, a bunch of my config files were set to be excluded from the build in the project file:
I must say, I've been finding upgrading Umbraco to be a very dangerous operation. I've had to create a whole dev App Service just to account for upgrades breaking my sites.
Umbraco 8 fails when deployed to azure in Umbraco.Web.Runtime.WebRuntime.Boot()
The error can be found here on my dev site: https://dev-awesamnet.azurewebsites.net/
This was a fresh Umbraco 8 (8.7.0) installation, developed locally until I was ready to push it to my dev site. Once deployed I receive the error below.
Dev site is on a F1 plan, since I am only using it to test deployment before deploying to prod (good thing since it's broken).
I realize some will say this is a permissions issue with some of the files and folders, but keep in mind it is running in azure. I am not sure you can change read/write permissions in azure (can you?)
Here is everything I have checked:
I've added the following config values as specified in the documentation:
I am at a complete loss...
So it turns out that when I upgraded from Umbraco 8.6 to Umbraco 8.6.4, a bunch of my config files were set to be excluded from the build in the project file:
I must say, I've been finding upgrading Umbraco to be a very dangerous operation. I've had to create a whole dev App Service just to account for upgrades breaking my sites.
is working on a reply...