When downloading large files from a Windows 2003 and 2008 servers using a Persits product, the files appear to be truncated or corrupted.
IIS 6.0 on Windows 2003 has a file named metabase.xml which resides in the folder C:\Windows\system32\inetsrv . By default, this file has this entry:AspBufferingLimit = "4194304"
This limits download size to 4,194,304 bytes (4 MB), and larger files will be silently truncated with no message from IIS. You can change that to a large value (such as 2000000000 for 2 gigabytes) to allow your Windows 2003 server to send large downloads.
You may need to stop the IIS service before you can save the metabase.xml file and have the change take effect.
On IIS 7.x (Windows 2008 and Windows 7), change the Response Buffering Limit property under ASP/Limit Properties.
This article applies to the following products and methods:
AspUpload when using SendBinary
AspJpeg when using SendBinary
AspPDF when using SaveHTTP or SendBinary
Microsoft ADO file export code using Response.BinaryWrite