Solution to "Unable to Launch the IIS Express Web Server"

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.

error

Please read this article in my blog.

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.

select property

Step 2

Select “Web” from the left menu.

Web

Step 3

Under “Use local IIS server” change the port number from http://localhost:58030/ to another one.

Use local IIS server

Step 4

Here I have changed http://localhost:58030/ to http://localhost:58031/ .

Bingo! We have done it.

localhost

Step 5

Now please run again your application. The issue will be solved.

Kindest Regards
Sibeesh

http://sibeeshpassion.com/

Up Next
    Ebook Download
    View all
    Learn
    View all