I\'m just putting this one out there since its a Google Zero-resulter which means I win a prize?
Cannot start IIS Express 7.5 after reinstall from one account, but I
After deleting config folder it was still not working then i followed this article and hit ctrl + F5..so it did run
Check that the user its failing has a IISExpress\config
folder in their home folder. If not then copy it over from the user where IISExpress is working. This is a common fault when the config files/folders are missing.
I has 2 things to do to make it work
try as everybody do
1.1. Delete all files in C:\{users}\My Documents\IIS Express\config
(Note: Don't worry it will re-create it automatically, if you afraid you can copy to some other place first)
If it still not work, try this below
2.1. Delete all files in {your project}\.vs\{your project}\config
(Note: .vs\ folder is hidden make sure you show hidden folder first)
2.2. in Visual Studio > Right click on your Project > select Properties
2.3. Select "Web" Tab > in Project URL > change your port (Example: change from http://localhost:1096/ to http://localhost:1097/)
2.4. Save and run your Project again.
To clarify John's comment - the directory will be something like C:\users\jmitchell\My Documents\IISExpress\config
. I assume John is correct in that if it doesn't exist you would need to create the directory.
Alternatively the directory could already exist and just be corrupted. This is what I believe happened in my case. I had previously installed WebMatrix but ran into all sorts of issues today. After uninstalling IIS Express, Web Platform Installer, WebMatrix, and some SQL Server Management Objects, and then reinstalling WPI & WebMatrix, I came across this post.
I actually got IIS Express to run successfully after deleting the config directory mentioned above, and then re-running C:\Program Files (x86)\IIS Express>iisexpress.exe /trace:error
And I ONLY wasted two hours of my day on this! Thanks Microsoft!
I got this problem after upgrading to Web Platform Installer 5.
The quick fix for me was to also upgrade to Webmatrix 3 (http://www.microsoft.com/web/webmatrix/)
using rider i had to remove this config file found here and that worked
\.idea\config\applicationhost.config
think this was caused when i removed VS