Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: "HTTP 500" or "Response buffer limit exceeded"  (Read 5601 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
"HTTP 500" or "Response buffer limit exceeded"
« on: August 02, 2014, 05:40:24 pm »
When you send a file to a client computer from a Web server on which Internet Information Services (IIS) 7 or IIS 6 is installed, you may receive an error message on the client computer that resembles one the following:

Code: [Select]
Error message 1
HTTP 500 - Internal Server Error

Code: [Select]
Error message 2
Response object error 'ASP 0251 : 80004005'
Response Buffer Limit Exceeded
Execution of the ASP page caused the Response Buffer to exceed its configured limit.

Code: [Select]
Error message 1
Additionally, you may receive a message in the IIS log file that resembles the following:
ASP_0251_:_80004005|Response_Buffer_Limit_Exceeded


This problem occurs when you use the Response.BinaryWrite method to send the file to the client computer and the AspBufferingOn property is set to False.

In most scenarios, the 4 MB buffer limit is sufficient for ASP responses that are sent to Web clients. If this limit is insufficient, use one of the following methods.

Method 1: Decrease the response size

To resolve this issue when you use the Response.BinaryWrite method and ASP buffering is turned off, verify that the data that is returned to the client is not larger than 4 MB.

If the response is larger than the 4 MB default value, this size frequently causes a poor user experience. The Web browser must receive the large response over the network. Then, the Web browser must parse and display a very large HTML response.


Method 2: Enable ASP response buffering, and increase the buffer limit


In IIS 7, you can enable or disable ASP response buffering at the application level by using the bufferingOn value in the ASP section of <System.webserver> in the ApplicationHost.config file or in the Web.config file.

If you want to increase Increase ASP Buffer Limit on IIS 7.5:

1. Open up Internet Services Manager. 0
2. On the web site you wish to increase the limit on (or virtual directory if you only want it to be configured for that), click on the ASP property, then Open Feature. Expand the Limits Properties group and then modify the Response Buffer Limit setting. Once you enter in a new value, click Apply and you're all set. No IIS or server restart is necessary.


Thank you,