When trying to locally debug a newly created solution within Visual Studio 2015 I encountered the below error when locally launching the application using IIS Express
A process with the ID of <id> is not running
Seeing no errors logged in the Visual Studio Output window, I checked the Windows Event Viewer and found the following error:
The Module DLL C:\Program Files (x86)\IIS Express\aspnetcore.dll failed to load. The data is the error.
The error was a bit confusing because it alluded to ASP.NET Core even though I wasn't using this in my project.
It turns out that there was a reference to aspnetcore.dll within the below file within my solution
After commenting out the “AspNetCoreModule” entries I re-opened the solution within Visual Studio and the application launched without issue yay!
I'm not quite sure how the reference got there – I assume the original developer of the solution had been playing around with ASP.NET Core at some point in time?
- Solved: “You Need Microsoft Dynamics 365 License To Continue” Error - 16th June 2020
- Fixed: Configure Visual Studio GIT Proxy Server - 17th May 2020
- Fixed: Windows Update – There were some problems installing updates (0x80240fff error) - 20th April 2020