Visual Studio unable to launch IIS Express server.
I just bought a new device (surface pro 6), copied a visual studio project from old device (surface pro 4) to new. then made a backup of the project database in sql server and restored that on new device. after all, when trying to view a CSHTML file in browser like google chrome, visual studio is unable to launch the IIS Express web server.
what do I have to do?
Arya, I see this... maybe help you:
==================================
I had the exact same problem. The reason - bad IIS config file. Try deleting the automatically-created IISExpress folder, which is usually located at %userprofile%/Documents, eg C:\\Users[you]\\Documents\\IISExpress. Don't worry, VS should create it again - correctly, this time - once you run your solution again.
EDIT: Command line for deleting the folder:
rmdir /s /q "%userprofile%\Documents\IISExpress"
==================================
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.