IIS Express crashes when starting a site from visual studio
In your project folder find the hidden .vs folder and delete it. This solved the problem for me.
In your project folder find the hidden .vs folder and delete it. This solved the problem for me.
I had this problem and it was caused by IE not being the default browser. You can correct this by following this answer Visual Studio opens the default browser instead of Internet Explorer
There’s easy way to do this: in web project’s properties F4 (NOT right click-> properties) set “always start when debugging” to false
Exit Visual studio and delete the (project).vs folder. Restart Visual studio. It should start working.
Update .Net 6 If you stumbled across this question, but are looking to disable SSL in .Net 6, follow these instructions: Disable SSL redirection by removing app.UseHttpsRedirection(); (optional) define a default port to listen to with app.Run(“http://localhost:5000”); If omitted, a random port will be assigned. Original answer for .Net Core 2.0: I’ve just created a … Read more
In my case I deleted all folders in D:\My Documents\My Web Sites\ before Then I caught the error There is a file .vs\config\applicationhost.config in my solution folder It contains reference to the deleted folder. So, I deleted applicationhost.config and then pressed ‘Create Virtual Directory’ button in my project property Web page. It was recreated the … Read more
This question has been answered by Divya over on the IIS forums. Once you enable SSL for a website in WebMatrix, it defaults to port 44300 and does all the bindings in the background. I am hoping that you tried to change this port to 443 in the config file. Once that is done and … Read more
@Brad I had your same problem just now. Removing the encryption on the IISExpress folder and the “Read Only” attribute solved it. In my company Documents is also encrypted, but I don’t think removing that encryption from IISExpress would be a problem of any sort. Hope this helps.
The following three environment variables are set by iisexpress.exe during the process startup. %IIS_BIN% – refers to IIS Express installation folder (%PROGRAMFILES%\IIS Express) %IIS_USER_HOME% – %USERPROFILE%\Documents\IISExpress %IIS_SITES_HOME% – %USERPROFILE%\Documents\My Web Sites %SYSTEMDRIVE% – is a standard windows system environment variable
Browse to “C:\Program Files\IIS Express”, select the file iisexpress.exe, press Alt+Enter to open the properties dialog, click on the Details tab and read the product version.