May 7, 2021 12:19 by
Peter
Introduction
Today I encountered the issue "Unable to launch the IIS Express Web Server" while I was running my Visual Studio 2012. So I thought of sharing how to resolve that issue. I hope it will help someone.
Background
In my team we have 5 to 10 members. Since we wanted to do a build for our current application, I used "Get the Latest files from the server". (We are using TFS.) Then when I run my application I was getting this error.
The cause of this error is, someone has checked in the solution file with his port number (the port number he was using). When I took the latest, it was set in my solution file also. We must take the latest solution file only when it is required. So here I will share the remedy for the preceding issue.
Procedure to solve this issue
Step 1
Right-click on your solution and select Properties as shown in the following figure.
Step 2
Select “Web” from the left menu.
Step 3
Under “Use local IIS server” change the port number from http://localhost:58030/ to another one.
Step 4
Here I have changed http://localhost:58030/ to http://localhost:58031/ .
Bingo! We have done it.
Step 5
Now please run again your application. The issue will be solved.