Jun 08, 2019 I randomly have same issue. I am working on one right now is how I came across this thread. Only access I have is console and SSH. Tried restarted all the service and still get the 503 message and show disconnected in vcenter. The error 503 Service Unavailable Error usually means that the Web server is currently unable to handle the HTTP requests. Most of the time this is because the.
HTTP Error 503 is defined by the HTTP protocol as Status code 503 means Service Unavailable. The server will still be responsive with 503, but full functionality will not be possible. (Page 70 of the protocol documentation describes this error, which can be found in this link)There are a large number of causes for this type of error, but the most common are:
- Server hosting Web Service is overloaded
- Server hosting Web Service is down for maintenance, etc.
The Web server (running the Web site) is currently unable to handle the HTTP request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be resolved shortly. Some servers in this state may also simply refuse the socket connection, in which case a different error may be generated because the socket creation timed out.
Fixing 503 errors
The Web server is effectively 'closed for repair'. It is still functioning minimally because it can at least respond with a 503 status code, but full service is impossible i.e. the Web site is simply unavailable. There are a myriad of possible reasons for this, but generally it is because of some human intervention by the operators of the web server. Users can typically expect that someone is working on the problem, and normal service will resume as soon as possible.
If this issue does not resolve after a short period, manual intervention is likely required from the web service/web server host.
Each client (e.g. the Web browser) goes through the following cycle when it communicates with the server:
- Obtain an IP address from the IP name of the site (the site URL without the leading 'http: //'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNS).
- Open an IP socket connection to that IP address.
- Write an HTTP data stream through that socket.
- Receive an HTTP data stream back from Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.
Active1 month ago
I'm really new to setting up web servers in general. I've got IIS 8 on Windows 8, and I'm trying to set up a little site locally, while doing some development. In IIS I choose Add Site, give a name, points to a location where I have a index.html file (I've tried different locations, latest in a c:inetpubwwwroottest -folder) and otherwise use all default settings. However, when I try to browse to localhost I get
HTTP Error 503. The service is unavailable.
I've verified the pool is started, and I've given IIS_IUSRS Full Control on the target folder
I've search around but not found anything that solved my issue, and there's nothing helpfull in the EventLog or in the C:WindowsSystem32LogFilesHTTPERR folder
Could anyone tell me what's wrong?
weir3,49111 gold badge1919 silver badges3030 bronze badges
AndreasAndreas2,40122 gold badges1515 silver badges2323 bronze badges
41 Answers
12 next
It could be that the user identity is outdated, especially if you've tried starting a stopped app pool and the next request again fails.
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.
You can also try looking at the error message in Event Viewer, under Windows Logs, Application, Details tab.
Broots Waymb2,58922 gold badges1919 silver badges3535 bronze badges
live-lovelive-love21k1212 gold badges9797 silver badges9797 bronze badges
In my case the problem was the DefaultAppPool. I changed the 'Load User Profile' to false and now it works. However, I don't know if there are side effects to this.
Juan Carlos PuertoJuan Carlos Puerto
Other answers are fine. But in my case, I was working on a Windows box that already was running some old IIS, IISExpress or any other web site. What happened is urls ACLs where reserved somehow in the system. So, you might want to check this.
Here is the console command to dump all URL acls:
Check what's returned here, and if anything matches the url you are testing, here is the command to delete one URL acl (for example):
(beware to carefully note what you do here in case it was not related to the original problem)
Simon MourierSimon Mourier104k1212 gold badges191191 silver badges242242 bronze badges
Check your application's respective Application Framework Pool - it could be stopped. If it is, start it and check again.
If you're still experiencing issues you can also check out Event Viewer to find the cause of that error in order to troubleshoot more.
Robotnik2,34611 gold badge2323 silver badges3939 bronze badges
ScoolsamScoolsam
If it helps anyone, and this may be laughable, but not obvious to me, was the application pool was not started. I just presumed on starting the website or creating the application pool, it would start. In fact, I didn't even know you had to start the application pool...
Neil WalkerNeil Walker2,14666 gold badges3535 silver badges5656 bronze badges
In my case, the application pool had stopped. Starting it fixed the problem.
My website is hosted on Arvixe. The error problem probably occurred because I have membership based application and something bad happened when I was upload files.
Hammad KhanHammad Khan9,9181212 gold badges9191 silver badges114114 bronze badges
If App pool is running under some user identity then go to the advance settings of update username password again,it worked for me.
Mahboob AlamMahboob Alam
If the app pool immediately stops after you start it and your event log shows:
The worker process for application pool 'APP_POOL_NAME' encountered an error 'Cannot read configuration file ' trying to read configuration data from file '?', line number '0'. The data field contains the error code.
... you may experiencing a bug that was apparently introduced in the Windows 10 Fall Creators Update and/or .Net Framework v4.7.1. It can be resolved via the following workaround steps, which are from this answer to the related question Cannot read configuration file ' trying to read configuration data from file '?<EMPTY>', line number '0'.
- Go to the drive your IIS is installed on, eg.
C:inetpubtempappPools
- Delete the directory (or virtual directory) with the same name as your app pool.
- Recycle/Start your app pool again.
I have reported this bug to Microsoft by creating the following issue on the dotnet GitHub repo: After installing 4.7.1, IIS AppPool stops with 'Cannot read configuration file'.
EDIT
Microsoft responded that this is a known issue with the Windows setup process for the Fall Creators Update and was documented in KB 4050891, Web applications return HTTP Error 503 and WAS event 5189 on Windows 10 Version 1709 (Fall Creators Update). That article provides the following workaround procedure, which is similar to the one above. However, note that it will recycle all app pools regardless of whether they are affected by the issue.
- Open a Windows PowerShell window by using the Run as administrator option.
- Run the following commands:
Stop-Service -Force WAS
Remove-Item -Recurse -Force C:inetpubtempappPools*
Start-Service W3SVC
3,49111 gold badge1919 silver badges3030 bronze badges
I resolved this issue by removing a URL reservation that matched my app directory in IIS. I had a similar (definitely not the same) issue as outlined in this article:
Ryan RodemoyerRyan Rodemoyer3,1471111 gold badges3737 silver badges4949 bronze badges
Start by looking in Event Viewer, either under the System or the Application log.
In my case the problem was that no worker process could be started for the App Pool because its configuration file couldn't be read - I had included an extra '.' at the end of its name.
Samuel JackSamuel Jack26.3k1212 gold badges105105 silver badges148148 bronze badges
In my case Pool uses custom identity(account and password).After password expired and reload,the error has ocured.I simply correct password in identity
cossetcosset3,06122 gold badges2222 silver badges4343 bronze badges
It is possible that your domain requires the account used for running the AppPool to have batch logon rights. In which case you will see this same error message. The way you can tell if that is the case, is by looking at the System events in the Event Viewer. There should be an event saying that the account being used with the App Pool has either 'the wrong password or does not have batch logon rights'.
This is why developers quite often use IIS Express on their development machine, since it by passes the batch logon rights issue.
Hashim AkhtarHashim Akhtar50522 gold badges66 silver badges1313 bronze badges
I ran into the same issue, but it was an issue with the actual site settings in
IIS
.Select
Advanced Settings...
for your site/application and then look at the Enabled Protocols
value. For whatever reson the value was blank for my site and caused the following error:HTTP Error 503. The service is unavailable.
The fix was to add in
atconwayatconwayhttp
and select OK
. The site was then functional again.12.2k2020 gold badges121121 silver badges198198 bronze badges
In my case, I created a new App Pool, and just forgot to start it.
tno2007tno2007
For Windows Server 2012 R2 I did this: IIS > App.. Pools > (had black ‘stop’ square) > right-click it > start
Doug NullDoug Null3,7621010 gold badges4343 silver badges9696 bronze badges
Check Event Viewer - Windows - Application. If there is a red Error line made from IIS-W3SVC-WP and the message is like The Module DLL C:Windowssystem32inetsrvrewrite.dll failed to load. The data is the error. then you are missing some Windows Setup features.
In Windows Server 2012 go to Server Manager, Add Roles and Features, Web Server (IIS) and add the matching feature. Usually, most of the Application Development section is installed. Here is a complete list of IIS features and their associated DLL to help in diagnosis.
After going through a few iterations of that I ended on the error message above regarding 'rewrite.dll'. This led to a direct download and install of Microsoft URL Rewrite tool. Finally all websites came to life.
SushiGuySushiGuy
I followed Solve HTTP Error 503 link above. In my case my application pool was stopping every time when I right click on my svc file and choose 'Browse'.
I followed below steps to solve problem of Application Pool stopping
I am using Windows Server 2008 R2.
In my IIS manager application pool, I right-clicked on the application pool which I am interested in and clicked Advanced Settings. This opens up Advanced Settings popup.
In that under Process Model section click Identity and clicked Set button in my Application Pool Identity popup. This will open Set credentials popup where I gave Username, password, and confirm password and clicked OK.
Now when I right click on my svc file it opens up in IE browser.
ZigglerZiggler1,51422 gold badges2222 silver badges3535 bronze badges
Or if none of the current solutions work, look in your website's directory for a file called
app_offline.htm
. That basically tells IIS that your site is unavailable and to show this page instead. To fix it, either delete it or rename it to
app_offline.htm.bak
.In my case, I added it while showing a colleague how to use that to prevent traffic to the site temporarily and then forgot that I did that on my box. Sigh.
HallmanacHallmanac34022 gold badges66 silver badges1313 bronze badges
If you have IIS URL Rewriting installed it could be to do with that. I suffered issues after a Windows 10 Update.
Go to
Windows Control Panel
>Programs and Features
>IIS URL Rewrite Module 2
>Repair
.Community♦
ᴍᴀᴛᴛ ʙᴀᴋᴇʀᴍᴀᴛᴛ ʙᴀᴋᴇʀ2,12311 gold badge1818 silver badges3737 bronze badges
For my case, My Default Application Pool was offline, to troubleshoot the problem, I checked the IIS logs located in C:WindowsSystem32LogFileHTTPERRScroll down to the most recent error logs, this will show you problems with IIS if anyMy Error was '503 1 AppOffline DefaultPool'
SolutionOpen you IIS Manager, -Click on Application Pools, this lists all application pool to your right.-Check if the application pools hosting your api or site has a stop sign on it, If so, right click the application pool and click start._Trying again to access your service from the clientThis worked for me.Shouts out to @kombsh
mut tonymut tony
Our server ran out of disk space on Sunday afternoon which led to an application suddenly failing and returning HTTP error 502. The logs were empty so it had to be something that was occurring before IIS even did anything.
A swift look at the event viewer(
WIN+R > eventvwr
) exposed the issue. It's a good idea to filter out the output of the System and Application windows to WAS since it can get pretty verbose in there.
The application depended on another one which was disabled. Therefore keep in mind an application can go down indirectly if one of it's dependent processes has gone down. We simply re-enabled the .NET application pool and our other application started running normally again.
Patrick.SEPatrick.SE1,92544 gold badges2525 silver badges3434 bronze badges
After some try and error I found out, that the app pool was configured to use my domain account as identity and I remembered that I changed the password of my domain account shorty before. Resetting the application pool’s identity (using my new password) fixed the problem and the app pool could be restarted without any problems.
Kaushik ThankiKaushik Thanki2,21411 gold badge1313 silver badges3434 bronze badges
In my case, the problem was that another application was using the port that I had bound to my web site.
I found it by running the following command from a command line, which lists all of the listening ports and the executable involved:
AvalanchisAvalanchis3,09122 gold badges3232 silver badges4444 bronze badges
I had the same error today. The issue was that I recently changed the domain password, so I had to update it in each Application Pool, in Advanced Settings > Process Model > Identity credentials.
Adam B3,28733 gold badges2727 silver badges4040 bronze badges
iusmariusmar
Same thing with IIS Express 10.0 after upgrading Windows 7 to Windows 10.Solution: go to IIS and enable all disabled websites and reinstall ASP.NET Core.
1_bug1_bug3,32922 gold badges3131 silver badges3737 bronze badges
If you have McAfee HIPS and if you see the following error in event viewer application log:
The Module DLL C:WindowsSystem32inetsrvHipIISEngineStub.dll failed to load.
The data is the error.
The data is the error.
Then this workaround on McAfee.com resolved the issue in my case.
Quote from the page:
- Click Start, Run, type explorer and click OK.
- Navigate to: %windir%system32inetsrvconfig
- Open the file applicationHost.config as Administrator for editing in Notepad.
- Edit the <globalModules> section and remove the following line:
<add name='MfeEngine' image='%windir%System32inetsrvHipIISEngineStub.dll' /> - Edit the <modules> section and remove the following line:
<add name='MfeEngine' /> - After you have finished editing the applicationHost.config file, save the file, then restart the IIS server using iisreset or by restarting the system.
3,96633 gold badges4646 silver badges6262 bronze badges
Orhan CelikOrhan Celik
Also check the address bar and make sure the page is in the right location.
This error can be returned instead of the 404 (Page not found). In my case, it was a bad link on the page that didn't have a subfolder included.
Tony L.Tony L.10.3k55 gold badges5353 silver badges5454 bronze badges
This happened to me on a server on our intranet. After browsing through blog posts and Windows logs, it turned out that a few days before Christmas 2015 (related to a Windows Update?) my web site application pool wanted to create a config file in folder c:inetpubtempappPools, but access to this folder was restricted. This caused the application pool to be disabled.
After adding Full control to Everyone on this temp folder, I restarted the Windows Process Activation Service and everything went online again.
If I'd been a little more elegant, it would probably had been enough to grant the AppPool user full control to the folder, but I never seem to remember how the app pool name and app pool user relates to eachother...
Daniel PerssonDaniel Persson1,89811 gold badge1313 silver badges2323 bronze badges
This could also happen if any recent installs or updates happened with .NET framework and/or ASP.NET. If you are unsure of what happened recently and if all your apps use ASP.NET version 4, you can try reset them by running the following commands in command prompt in administrator mode.
This makes sure to install or reinstall ASP.NET 4 and updates existing applications to use ASP.NET 4 version of the app pool. It updates both IIS Classic and Integrated mode handlers and script mappings in the IIS metabase. It also recreates ASP.NET v4.0 and ASP.NET v4.0 Classic app pools, and sets .NET framework 4 to DefaultAppPool and Classic .NET app pools.
Prabu ArumugamPrabu Arumugam1,54111 gold badge1212 silver badges1919 bronze badges
Actually, in my case https://localhost was working, but http://localhost gave a HTTP 503 Internal server error. Changing the Binding of Default Web Site in IIS to use the hostname localhost instead of a blank host name.
tname for http binding
Tore AurstadTore Aurstad
12 next
protected by Community♦Jun 5 '14 at 13:27
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?