Forum Discussion

DotnetAgent's avatar
DotnetAgent
Brass Contributor
Oct 05, 2024
Solved

403 - Forbidden while posting the request to WCF hosted on IIS

I have an ASP.NET web application that uses a WCF service to interact with the database and handle business logic. Under normal load, everything functions as expected. However, when the load increase...
  • PradeepSharma's avatar
    Oct 07, 2024

    The 403 - Request Forbidden error under increased load can be caused by several factors. The potential reasons might be one the following. Thread Pool Saturation, Service Throttling, IIS Configuration and Network Configuration. If you are focusing more on dumps, you need to know the exception. And either you can configure the debug diag for Log Stack trace (refer below screenshot), let the issue resurface, review the exceptions and then configure the dump on that exception.

     

     

     

    With my experience this makes a System.NET call to WCF so you can try capturing something on System.Net.WebException. This will definitely yield some result.

Resources