Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When developing in Umbraco 8, I am getting the following exception when working on content types. I think this is related to IIS/ASP_NET restarting the application on some file system changes.
An easy way to trigger this is to use something like a uSync import that makes a lot of type changes, but we also get this error when doing document type changes.
Anybody else encountering this and how have you solved this?
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.Serialization.SerializationException
at System.Web.Hosting.ApplicationManager.HostingEnvironmentShutdownInitiated(System.String, System.Web.Hosting.HostingEnvironment)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
Are you using PureLive or Dll mode for modelsbuilder? If you are using Dll mode, manually rebuilding the models from settings might be able to help you out.
Thank you! Switching to DLL mode and doing manual development when doing heavy development corrects the issue.
I also found this helpful:
Interesting, i also have recently got this error while having the debugger attached. In my case this turns out to be an issue with the app restarting and trying to serialize the Umbraco.Core.Security.UmbracoBackOfficeIdentity
The exception is actually:
Message=Type is not resolved for member 'Umbraco.Core.Security.UmbracoBackOfficeIdentity,Umbraco.Core, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null'.
Source=<Cannot evaluate the exception source>
<Cannot evaluate the exception stack trace>
Potentially MB might play a role in this but i think it might be more generic than that. Anyways, just posting this here for completeness, i'll investigate this a bit more if i can replicate.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted