There are number of posts on this and I have tried many a things by now. But to no avail. Myself a Winforms Developer basically, started working on this Web stuff few days b
Ok, I have another solution for one specific case: if you use WINDOWS 10, and you updated it recently (with Anniversary Update package) you need to follow the steps below:
Windows Event Viewer - press Win+R and type: eventvwr, then press ENTER.Windows Event Viewer click on Windows Logs -> Application.IIS-W3SVC-WP in middle window.The Module DLL >>path-to-DLL<< failed to load. The data is the error.
Control Panel -> Program and Features and depending on which dll cannot be load you need to repair another module:
rewrite.dll - find IIS URL Rewrite Module 2 and click Change->Repairaspnetcore.dll - find Microsoft .NET Core 1.0.0 - VS 2015 Tooling ... and click Change->Repair.