Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, June 16, 2016 4:56 PM
I installed Visual Studio 2015 Professional with no issues. I started up a new ASP.NET project. When I run it to debug I always get the following error on a dialog:
Unable to launch the IIS Express Web Server
I have done all the usual troubleshooting steps, which involves googling the error and trying every single possible solution found, but none of them have fixed this issue. Restarted numerous times. Uninstalled and re-installed Visual Studio 2015. I still have the same issues.
Can someone provide a real solution to this issue?
Any help would be appreciated.
All replies (2)
Friday, June 17, 2016 8:18 AM ✅Answered
Hi ICTony,
Thank you for your post,
>>Unable to launch the IIS Express Web Server
According to this error message, bad IIS config file may lead to it.
Here are some solutions, you may try the following to see if it works:
A.
Delete the automatically-created IISExpress
folder, which is usually located at %userprofile%/Documents
, e.g. C:\Users\[you]\Documents\IISExpress
.
B.
1.Close Visual Studio
2. Navigate to your Documents folder. .
3. In the config folder, there is a file called applicationhost. Open that.
4. Search for the name of your project. It should have been added in there by Visual Studio when it bombed in your previous attempts.
5. Note that there's a binding for http with the port you intend to use for https.
//Change this:
<binding protocol="http" bindingInformation="*:44300:localhost" />
//to this:
<binding protocol="https" bindingInformation="*:44300:localhost" />
C.
1. In VS Opened Debug > Website Properties.
2.Select the "Web" tab.
3. Under "Servers" I found "Override application root URL" was checked. unckeck and save it
D.
Please make sure that you start VS in Admin Mode.
For more details, please refer to:
http://stackoverflow.com/questions/15873126/unable-to-launch-the-iis-express-web-server
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Thursday, June 28, 2018 3:54 PM
This was very helpful!
for me I got it working
this was my error:
The worker process failed to initialize correctly and therefore could not be started. The data is the error.
The Module DLL C:\Program Files (x86)\IIS Express\aspnetcore.dll failed to load. The data is the error.
checking and unchecking "override application url" and "apply server settings to all users" in project properties worked for me. using vs 2015 community (update 3)