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.
@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
I had a similar issue to @Myles J but renaming %userprofile%\Documents\IISExpress\config\applicationhost.config didn’t work. What I had to do was the following: Close Visual Studio. Rename the %userprofile%\Documents\IISExpress\config directory. Start Visual Studio again. The %userprofile%\Documents\IISExpress\config directory will be recreated with the default config files. Copy the original applicationhost.config file over the autogenerated one. Before anyone asks: … Read more
You should be able to accomplish this in one of two ways. You can remove the old project, or change its port using WebMatrix, which has an administration interface for IIS Express. You can also do it by hand, by modifying the applicationhost.config file directly. The file is located in the %userprofile%\documents\IISexpress\config folder. You can … Read more
Closing IIS Express By default Visual Studio places the IISExpress icon in your system tray at the lower right hand side of your screen, by the clock. You can right click it and choose exit. If you don’t see the icon, try clicking the small arrow to view the full list of icons in the … Read more
For Visual Studio 2013 Visual Studio 2015 Visual Studio 2017 Visual Studio 2019: Tools -> Options -> Projects and Solutions -> Web Projects -> Uncheck “Use the 64 bit version of IIS Express for web sites and projects”`
Yes, it is possible using multiple simultaneous tunnels, within the same hostname ! All you need to do, is to declare them on your configuration file, like this: authtoken: 4nq9771bPxe8ctg7LKr_2ClH7Y15Zqe4bWLWF9p tunnels: first-app: addr: 50001 proto: http hostname: example.ngrok.com host_header: first-app.example.ngrok.com second-app: addr: 50002 proto: http hostname: example.ngrok.com host_header: second-app.example.ngrok.com And run them with: ngrok start … Read more
It looks like you are missing a binding information entry in applicationhost.config file. Open your applicationhost.config file. Possible locations are: %userprofile%\Documents\IISExpress\config\applicationhost.config $(solutionDir)\.vs\config\applicationhost.config (VS2015) Failing that, inspect the output from iisexpress.exe to be sure. Locate your WebSite entry and add following binding with your machine name. <binding protocol=”http” bindingInformation=”:50333:your-machine-name” /> Restart IIS Express