Share via


VS 2013 - Unable to start program 'C:\Program Files (x86)\IIS Express\iisexpress.exe'

Question

Monday, August 21, 2017 12:07 PM

I am getting pop-up message while debugging web application in local and after successful Build: "Unable to start program 'C:\Program Files (x86)\IIS Express\iisexpress.exe' VS 2013".

I tried running it separately though command prompt then it ran successfully and even in trace getting successful message. 

C:\Program Files (x86)\IIS Express>iisexpress.exe /trace:error

Initializing the W3 Server Started CTC = 6784639
W3 Server initializing WinSock.  CTC = 6784655
W3 Server WinSock initialized.  CTC = 6784655
W3 Server ThreadPool initialized (ipm has signalled).  CTC = 6784655
Start listenerChannel http:0
Successfully registered URL "http://localhost:8080/" for site "WebSite1" applica
tion "/"

Registration completed for site "WebSite1"
AppPool 'Clr4IntegratedAppPool' initialized
InitComplete event signalled

Can any one suggest to resolve issue of "Unable to start program 'C:\Program Files (x86)\IIS Express\iisexpress.exe' VS 2013"?

All replies (3)

Tuesday, August 22, 2017 7:43 AM

Hi PriteshSyne,

Welcome to the MSDN forum.

Refer to your description, please have a try with the following to troubleshot this issue:

  1. Ctrl+F5 (Start without debugging) to test
  2. Close VS 2013 and run it as administrator, then debug this web application
  3. Close all VS instances and try to delete the automatically-created IISExpress folder, which is usually located at %userprofile%/Documents, start VS will auto create it again.
  4. Delete the following file <<path_to_solution_folder>>\vs\config\applicationhost.config, the .vs folder may be hidden
  5. Right click the project name and choose Properties>Web>Servers and modify the portal number

Meanwhile, you can have a look at the similar issues as below:

Unable to launch the IIS Express Web server

Unable to launch the configured Visual Studio Development Web server.Unable to start program 'C:\Program Files\IIS Express\iisexpress.exe

Best regards,

Sara

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Thursday, August 24, 2017 7:43 AM

I have this exact same problem and I'm also using VS 2013. I've tried all the solutions Sara has suggested, except the 4th since I don't see a ".vs" folder on that path, and none worked. And yes, I've toggled the visibility for hidden items in that directory.

This just happened and I don't have a clue why as it was working before? Though Ctrl-F5 works, I'm stuck and I can't debug my project.


Monday, August 28, 2017 9:24 AM

Hi Kamotepic,

Welcome to the MSDN forum.

If you create a new web application, does this issue persists or not?

>>This just happened and I don't have a clue why as it was working before?

Please navigate to the VS 2013 installation folder like C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE, open CMD and run the command: devenv /safemode to run VS with safe mode, then test this issue again, it can help us to analysis the installed extensions affects this issue or not.

Best regards,

Sara

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]