Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I want to upload data upto 15 GB using Asp.Net , it works perfectly for 2 GB. I'm using VS 2005 framework 2.0 I think its maxRequestLength is 2gb can we increase its length.
Please give me any solution I want to send data upto 15 gb.


I increased the max length in web.config file
like for upto 2 GB

<httpruntime>
executionTimeout="110" 
maxRequestLength="2097151" 
useFullyQualifiedRedirectUrl="false" 
minFreeThreads="8" 
minLocalRequestFreeThreads="4" 
appRequestQueueLimit="100" 
enableVersionHeader="true"/></httpruntime>

It works perfectly upto 2 GB up ....not working for more than 2 gb .
I want to upload data upto 15 GB.
Posted
Updated 8-Aug-11 1:24am
v6

There are real problems with using .NET for anything bigger than 2GB - the maximum size of any one object in .NET is 2GB, so it is very likely that you need to break up your upload into smaller pieces.
 
Share this answer
 
Comments
thatraja 8-Aug-11 9:45am    
[Comment from OP/Moved from Answer]
anyone having solution ...
How to upload 15gb data using asp.net
Upload your data 2GB at a time, or change use FTP instead of ASP.Net...
 
Share this answer
 
v2
Comments
thatraja 8-Aug-11 9:45am    
[Comment from OP/Moved from Answer]
anyone having solution ...
How to upload 15gb data using asp.net
Alternatively you could have a look at this:

Streamed vs Buffered in WCF[^]

Hope it helps.

Edit: I don't know if WCF still limits object sizes if Streamed is choosen though.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900