Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 766
Product
FileUp
Title
Downloads Fail with Windows Server 2003
Problem
Downloads fail with Windows Server 2003 with larger files. There is no exact size that causes them to fail, but usually smaller files are downloaded correctly. The error message that you may be getting could either be:
Response object error 'ASP 0251 : 80004005' 

Response Buffer Limit Exceeded 

/path/to/download.asp, line xx

Execution of the ASP page caused the Response Buffer to exceed its configured limit. 
or

Solution
The reason this is happening is because buffering is turned on by default, and IIS 6 cannot handle the large response.

In Classic ASP, at the top of your page, after <%@Language="VBScript"%> add:

<%Response.Buffer = False%>

In ASP.NET, you would add Buffer="False" to your Page directive. For example:

<%@Page Language="C#" Buffer="False"%>

Attached is a sample download file for Classic ASP that illustrates this.

Attachments
Attachments/KB766_files1.zip
Created : 12/31/2003 11:41:31 AM (last modified : 12/31/2003 11:41:29 AM)
Rate this article!
Comments