2

I've setup an https binding for my site in IIS but I'm getting a 503 Service Unavailable error whenever I try to hit the endpoint.

What's weird is I can access the site without issue over port 80.

The application pool is started and I can't find any errors in the windows logs.

What's the best way to go about debugging this issue?

2 Answers 2

0

I'd do the following steps to troubleshoot such scenarios:

Turn on display of detailed error messages

  1. Open the machine.config file located in: %windir%\Microsoft.NET\Framework\\CONFIG
  2. Remove the line <deployment retail="true" /> within the <system.web> section, or change it to the default value of "false".
  3. If systems are 64-bit, do the same for the machine.config located in: %windir%\Microsoft.NET\Framework64\\CONFIG

Turn on debug mode on your Web.config

Browse to and open the web.config file pertaining to the server or specific application that has been configured. Modify values in these tags: <compilation debug>, <customErrors>, and <httpErrors>:

<configuration>  
    <system.web>  
        <compilation debug="true" />   <!-- this is the default value -->
        <customErrors mode="RemoteOnly" /> <!-- this is the default value. Alternatively, you can also set it to <customErrors mode="On" /> -->
        <httpErrors errorMode="DetailedLocalOnly"> <!-- this is the default value -->
    </system.web>  
</configuration>

Browse your ASP site In IIS Manager, right click your site then select "Manage Application" > "Browse". Your Internet Explorer browser should popup. If there are any SSL related errors, just click on "Continue to this website".

Error messages, if any, should appear here.

0

You mention nothing being in the Windows logs. I'm assuming you checked the IIS server logs too or that is what you meant but I'd be sure to check them if not. Make sure the IIS server instance is logging. The default location for the IIS log files is %SystemDrive%\inetpub\logs\LogFiles.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .