Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio IIS HTTP 503 Service Unavailable

I have searched every topic and it seems that everyone got there problem solved already and I have tried all the possible solution they have provided or I am still missing something.

  • FireWall already turned off.

Ok so I am trying to access my IIS server Application that is currently run by VS 2013. Update 2.

when I try to access http://localhost:29790/ <- this to http://192.168.1.3:29790 which is my current IP on my local. It gives me 503 error.

I have searched for the solution and gives my a tons of.

applicationhost.config file

<site name="SMApplication(4)" id="10">
    <application path="/" applicationPool="Clr4IntegratedAppPool">
        <virtualDirectory path="/" physicalPath="C:\Users\DanZe3\Documents\Visual Studio 2013\Projects\SMApplication\SMApplication" />
    </application>
    <bindings>
        <binding protocol="http" bindingInformation="*:29790:localhost" />
    </bindings>
</site>

I have tried this.

  • *:29790:*
  • *:29790:
  • :29790:

by chaining the bindings. But it is still not working. I restart the PC or the VS as well. But the problem is, when I try to re-open VS. VS overwrite the applicationHost.config and add another binding.

As you can see in my site named "SMApplication(4)" (It has made 4 already!) This is automatic when I re-open the file and then the bindings will be *:29790:localhost again.

Somehow Editing this bindings. Visual Studio will create another binding of the application, having another site named SMApplication(5).

I have tried to remove the localhost on the *:29790:localhost, but when I run the application it gives me.

Unable to Launch IIS Express Web Server. The start URL specified is not a valid. http://localhost:29270/

like image 613
Aizen Avatar asked Apr 06 '15 03:04

Aizen


People also ask

How do I fix 503 Service Unavailable in IIS?

In IIS, go to the Application Pools under the Server, then find the correct Application Pool for your web site, and click on it. On the Advanced Settings menu to the right, select Identity and change it and enter new user and password. Click on your Application Pool again, and select Recycle to restart it.

What causes 503 service temporarily unavailable?

A 503 Service Unavailable Error indicates that a web server is temporarily unable to handle a request. That could be the web server you're trying to access directly, or another server that web server is in turn trying to access.

How do I fix HTTP error 503 the service is unavailable cPanel?

Check AWStats within cPanel to see if there are unusual amounts of traffic hitting your website. If you have customised your PHP config, ensure you haven't set memory_limit too high. Disable your scripts and plugins temporarily and try again. Rename the folders for your plugins or scripts one-by-one.

What is service unavailable 503 in IIS?

The 503 response from the IIS machine, Service Unavailable, is the result of repeated application crashes. Since the w3wp.exe worker process, created by IIS to execute a web application, is crashing frequently, the respective IIS application pool is turned off. This is a feature of IIS, at Application Pool level, called Rapid-Fail Protection.

What does HTTP response status 503 mean in IIS?

If we’re looking at the reference list of responses that IIS could send, an HTTP response status 503 means Service Unavailable. In most of the cases, we have a 503.0, Application pool unavailable; and when we check the corresponding application pool, it shows “ Stopped ”.

How to resolve application pool error in IIS?

If the error is due to a stopped application pool, then usually starting it would resolve the issue. From the IIS Manager -> Application Pools node, right click on the DefaultAppPool to check the status. On noticing that the service is stopped, we start it. If the service is running, we try restarting it and the error would be gone.

Why is the service unavailable?

The service is unavailable occurs if the Application Pool of the corresponding Wep Application is Stopped or Disabled or Paused. Reason 2: The given user Identity of Application Pool may be invalid due to expired password or locked


2 Answers

I had a similar problem with a similar solution:

Scenario: I had the app pool running under an user account and it's password had been changed because it had expired. I never updated IIS so the app pool would stop by itself every time when a try to run website. Even if I start AppPool manually, It stopped on website run.

Solution: update the credentials for the account on IIS or use another account

like image 63
Sanjay Sharma Avatar answered Sep 28 '22 04:09

Sanjay Sharma


I Application's DefaultAppPool (or other custom name) may have stopped for some reason. Make sure it is on. Recycle too.

like image 29
Allen Avatar answered Sep 28 '22 06:09

Allen