Score:0

IIS WCF 503 Errors - Where to Find Logs of Them

in flag

I am trying to figure out where I can find the logs which list HTTP 503 errors that IIS has been returning when servicing requests for a WCF service that it hosts.

I have looked in the following locations but I cannot find anything which indicates these 503s are being returned (I know they're being returned because the logs from our CDN indicate they are seeing 503s from the WCF service):

  1. C:\inetpub\logs\LogFiles - There are no 503s in the relevant service's log files
  2. C:\Windows\System32\Logfiles\HTTPERR - This folder doesn't exist (I only see SQM, Sum and WMI in the parent LogFiles directory)
  3. C:\iislogs\www\HTTPERR - After some Googling, I found this directory could also hold errors however there is nothing in here related to the service and the logs don't contain any 503s
  4. EventViewer - I couldn't find anything for the service in here other than some generic potentially dangerous path warnings

Where else can I look to find records of these 503s being returned by the WCF service hosted in IIS? Maybe there is a setting in IIS that needs to be tweaked?

in flag
Could you verify which IIS version this is, and also if you have found any logs at all?
Score:0
in flag

You need to check your server configuration, hopefully there is no need for any change.

Powershell method

Import-Module -Name WebAdministration
Get-ChildItem IIS:\Sites
Get-ItemProperty -Path "IIS:\Sites\$SiteName" -Name logfileg

UI method

On the main page you have Logging which contains base settings

Main page logging

When selecting that you can see the setting details

Main page logging details

You will see the same settings on each site, with some fields grayed out. To find actuall directory you need to get the site ID, Going into advanced settings does show the ID.

Advanced link

Advanced details

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.