I have an emergency here: I'm developing a web app using ASP.Net MVC 5 in VS 2015 and all of the sudden I can't run it while debugging; I don't know what has gone wrong.
- Using IIS Express v.10
- Visual Studio Community 2015; Version 14.0.23107.0 D14REL; Framework 4.6.00081
- Windows 7 Enterprise
Symptoms and observations:
1) If I run the project without debugging (CTRL + F5), everything's fine.
2) Problem is running it with only F5 (debugging mode). What happens is that after running: the browser opens, waits, closes, Visual Studio stops the project.
3) The IIS Express system tray icon is never displayed, which didn't happen before. When running with CTRL + F5, it is displayed and the site runs fine.
4) This happens with all browsers, all projects (both old and new).
5) The output window displays the following message:
--------------------------------------------------------------------------------
Show output from: Debug
The program '[6468] iisexpress.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.
The program '[7972] iexplore.exe' has exited with code -1 (0xffffffff).
--------------------------------------------------------------------------------
Steps already taken (and no dice):
- Suspecting a bad memory module, performed many memory benchmarks: everything's fine.
- Visual Studio Tools Menu\Import and Export settings: reset all settings.
- Uninstalled VS, cleaned registry, reinstalled (making sure was doing so 'as administrator').
- Made sure I was running all instances as Administrator.
- Changed port number on the Project's Web settings.
- Tried changing policies to unrestricted (Powershell).
- Uninstalled IIS Express 10 and reinstalled it.
- Went to Visual Studio forums and posted the problem (still no answer)
- Came here looking for help ;-)
In my opinion, something happened with the Visual Studio 2015 debugger and now whenever I run an ASP.Net project, the debugger seems to have lost the way to wake IIS Express. Therefore, since it's not active, the project can't find the server and the project closes...
I appreciate your time!