Pat Tormey
Pat Tormey

Reputation: 55

HTTP Error 500.0 - Internal Server Error, AspNetInitializationExceptionModule VS 2015

After running some NuGet Updates my project will not run locally throwing "HTTP Error 500.0 - Internal Server Error" and referencing Handler "AspNetInitializationExceptionModule" I'm using VS 2015, .NET Framework 4.6.1, Any CPU, IISExpress.

The refered link suggests I look into the IIS Logs which are full of data but there seems to be no information for these eyes.

I Understand that 500.0 is the server shouting that something generic went wrong but frankly I don't know what to try next.

Any thoughts? Frustrated in New Hampshire.

More info adding a vanilla favicon.ico still resulted in 500.0 but now just at the root.

HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request. (XHR): GET - http://localhost:3029/

Upvotes: 0

Views: 4153

Answers (1)

Pat Tormey
Pat Tormey

Reputation: 55

Drilling into Eventviewer/Custom Views/Summary page events I found an ASP.NET 4.0.30319.0 Warning. At the bottom of the warning detail it says System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) Could not load file or assembly 'Microsoft.AI.Agent.Intercept' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
http://localhost:3029/

So my Nuget Update incorrectly updated Microsoft Application Insights. Uninstalled it and now I'm back to earning a living.

It seems that when IIS knows it has an exception it should tell the browser.

Pat NH USA

Upvotes: 1

Related Questions