umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.48k stars 2.69k forks source link

Exception of type 'System.ExecutionEngineException' was thrown #4493

Closed bsubasic closed 5 years ago

bsubasic commented 5 years ago

An exception of type 'System.ExecutionEngineException' was thrown at early bootup of Umbraco caught in OnApplicationStarted event.

System.ExecutionEngineException HResult=0x80131506 Message=Exception of type 'System.ExecutionEngineException' was thrown.

Call stack: callstack_image_processor

Umbraco version 7.13.1 assembly: 1.0.6949.28284 IIS 10 (Windows 10 Pro)

My installed packages:

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Autofac" version="4.8.1" targetFramework="net471" />
  <package id="Autofac.Mvc5" version="4.0.2" targetFramework="net471" />
  <package id="Autofac.WebApi2" version="4.2.0" targetFramework="net471" />
  <package id="AutoMapper" version="3.3.1" targetFramework="net471" />
  <package id="BuildWebCompiler" version="1.12.394" targetFramework="net471" />
  <package id="ClientDependency" version="1.9.7" targetFramework="net471" />
  <package id="ClientDependency-Mvc5" version="1.8.0.0" targetFramework="net471" />
  <package id="Examine" version="0.1.89" targetFramework="net471" />
  <package id="FluentEmail.Core" version="2.5.1" targetFramework="net471" />
  <package id="FluentEmail.Mailgun" version="2.5.3" targetFramework="net471" />
  <package id="HtmlAgilityPack" version="1.4.9.5" targetFramework="net471" />
  <package id="ImageProcessor" version="2.6.2.25" targetFramework="net471" />
  <package id="ImageProcessor.Web" version="4.9.3.25" targetFramework="net471" />
  <package id="ImageProcessor.Web.Config" version="2.4.1.19" targetFramework="net471" />
  <package id="log4net" version="2.0.8" targetFramework="net471" />
  <package id="Log4Net.Async" version="2.0.4" targetFramework="net471" />
  <package id="Lucene.Net" version="2.9.4.1" targetFramework="net471" />
  <package id="Markdown" version="1.14.7" targetFramework="net471" />
  <package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net471" />
  <package id="Microsoft.AspNet.Identity.Owin" version="2.2.1" targetFramework="net471" />
  <package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net471" />
  <package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net471" />
  <package id="Microsoft.AspNet.SignalR.Core" version="2.2.1" targetFramework="net471" />
  <package id="Microsoft.AspNet.WebApi" version="5.2.3" targetFramework="net471" />
  <package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net471" />
  <package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.3" targetFramework="net471" />
  <package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net471" />
  <package id="Microsoft.CodeAnalysis.Analyzers" version="2.6.3" targetFramework="net471" developmentDependency="true" />
  <package id="Microsoft.CodeAnalysis.Common" version="1.2.2" targetFramework="net471" />
  <package id="Microsoft.CodeAnalysis.CSharp" version="1.2.2" targetFramework="net471" />
  <package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="2.0.1" targetFramework="net471" />
  <package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="2.1.1" targetFramework="net471" />
  <package id="Microsoft.IO.RecyclableMemoryStream" version="1.2.2" targetFramework="net471" />
  <package id="Microsoft.Net.Compilers" version="2.10.0" targetFramework="net471" developmentDependency="true" />
  <package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net471" />
  <package id="Microsoft.Owin" version="3.1.0" targetFramework="net471" />
  <package id="Microsoft.Owin.Host.SystemWeb" version="3.1.0" targetFramework="net471" />
  <package id="Microsoft.Owin.Security" version="3.1.0" targetFramework="net471" />
  <package id="Microsoft.Owin.Security.Cookies" version="3.1.0" targetFramework="net471" />
  <package id="Microsoft.Owin.Security.OAuth" version="3.1.0" targetFramework="net471" />
  <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net471" />
  <package id="MiniProfiler" version="2.1.0" targetFramework="net471" />
  <package id="morelinq" version="3.1.0" targetFramework="net471" />
  <package id="MySql.Data" version="6.9.12" targetFramework="net471" />
  <package id="NETStandard.Library" version="2.0.3" targetFramework="net471" />
  <package id="Newtonsoft.Json" version="10.0.3" targetFramework="net471" />
  <package id="OctoPack" version="3.6.3" targetFramework="net471" developmentDependency="true" />
  <package id="Our.Umbraco.IoC" version="1.1.0" targetFramework="net471" />
  <package id="Our.Umbraco.IoC.Autofac" version="1.0.0" targetFramework="net471" />
  <package id="Owin" version="1.0" targetFramework="net471" />
  <package id="PostSharp" version="6.0.34" targetFramework="net471" />
  <package id="PostSharp.Patterns.Caching" version="6.0.34" targetFramework="net471" />
  <package id="PostSharp.Patterns.Caching.Redist" version="6.0.34" targetFramework="net471" />
  <package id="PostSharp.Patterns.Common" version="6.0.34" targetFramework="net471" />
  <package id="PostSharp.Patterns.Common.Redist" version="6.0.34" targetFramework="net471" />
  <package id="PostSharp.Redist" version="6.0.34" targetFramework="net471" />
  <package id="RazorEngine" version="3.10.0" targetFramework="net471" />
  <package id="RestSharp" version="106.6.7" targetFramework="net471" />
  <package id="semver" version="1.1.2" targetFramework="net471" />
  <package id="SharpZipLib" version="0.86.0" targetFramework="net471" />
  <package id="System.Collections.Immutable" version="1.3.1" targetFramework="net471" />
  <package id="System.Reflection.Metadata" version="1.2.0" targetFramework="net471" />
  <package id="System.Threading.Tasks.Dataflow" version="4.7.0" targetFramework="net471" />
  <package id="System.ValueTuple" version="4.5.0" targetFramework="net471" />
  <package id="Umbraco.ModelsBuilder" version="3.0.10" targetFramework="net471" />
  <package id="Umbraco.ModelsBuilder.Api" version="3.0.10" targetFramework="net471" />
  <package id="UmbracoCms" version="7.13.1" targetFramework="net471" />
  <package id="UmbracoCms.Core" version="7.13.1" targetFramework="net471" />
  <package id="uSync" version="4.0.9" targetFramework="net471" />
  <package id="uSync.Core" version="6.0.9" targetFramework="net471" />
</packages>

DebugDiag info: debugdiag_diagnostic

net stack

nul800sebastiaan commented 5 years ago

Hi @bsubasic - make sure to start a topic on the forum to get some help with this: https://our.umbraco.com

I also notice that this report is missing some context around what you're trying to do, make sure to add that to your forum post as well so people know where to look.

ronaldbarendse commented 5 years ago

@bsubasic Maybe this is related to https://github.com/zpqrtbnk/Zbu.ModelsBuilder/issues/196?

As it throws the error on getting types from an assembly (just like SignalR does), I would look into incompatible C#/.NET versions. No experience with Umbraco 7 on .NET 4.7.1, but Microsoft.Net.Compilers shoudn't be installed when using Microsoft.CodeDom.Providers.DotNetCompilerPlatform > v2: https://github.com/aspnet/RoslynCodeDomProvider#version-200

bsubasic commented 5 years ago

@ronaldbarendse Thanks, I will check it.