Using Visual Studio 2017 on Windows 10
My IIS Express has suddenly started to act strange and shut itself off without warning or error while I'm debugging my C# MVC Web App.
I have made no deliberate changes to my project settings and I don't see any pending changes in my Team Explorer source control. The only difference I think that has happened between now and when it last worked was that I downloaded a separate project that used IIS Local and required Admin rights to work correctly. More about this below.
Previously, IIS Express would run when I start the debugger in Visual Studio, open itself in a new tab on an existing Firefox browser or create a new one if none exist, and stop when I click the Stop icon in Visual Studio.
Things I've tried:
.vs
folder in my ...\{Project Name}\
folderThe only thing I think that might have caused this is that I downloaded a different project from our TFS Source Control that uses ISS Local, and when I tried to load that project into it's own solution I get an error saying:
The Web Application Project {project name} is configured to use IIS. Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.
Opening Visual Studio as Admin loads that project into it's solution automatically.
Any ideas at all as to why this might be happening or how to fix it?
I was having same Problem with Visual Studio (15.7.5)
& Firefox Developer Edition (62.0b12)
. Every time i click any input or text field it just closes both Firefox and IIS without any error or exception.
What i've done to fix this issue is i Simply Uncheck the option:
Stop Debugger when browser window is closed
found under Tools > Options > Projects and Solutions > Web Projects
save
, clean
, Build
& Start
.
This one Fix my Problem!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With