This topic is locked

Binaries get cut to 2.000.000 bytes at the upload

9/24/2008 11:22:43 AM
ASPRunnerPro General questions
K
Kirberg author

Hi,
I want to upload files with a size up to 5MB into a MSSQL2005 DB with the data type varbinary(max). The known error occured that I can't upload any files bigger than 200kb.

http://www.banmanpro.com/support2/File_Upload_limits.asp. I've fixed this and the maximum size is now set to 5120000 upload and download.

It is possible now to upload big files but the get cut at 2.000.000 bytes exactly. When I download them again, they are not readable anymore.

I am using IIS 6.0
Anyone an idea what I need to change to be able to use 5MB files?

Regards

Kirberg

Sergey Kornilov admin 9/24/2008
K
Kirberg author 9/25/2008

We have an article on this subject:

http://www.webcheatsheet.com/asp/asp_troub...ting.php#permit



Thanks for the link, but the following entries are already set:
AspMaxRequestEntityAllowed="5120000"

AspBufferingLimit="5120000"
So the limit must be somewhere else.

Any other ideas?
Regards

Kirberg

Sergey Kornilov admin 9/25/2008

Hard to tell what else might prevent large files from uploading.
You may want to ask this question in IIS related newsgroups.