Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am developing web based application which is based on cloud computing and i have used web-services ...i want to upload bulk data into the database using webservices so i have added the extra elements in the web-services....below code....


C#
<system.web>
		<httpruntime executiontimeout="900" maxrequestlength="99999" />
</system.web>




C#
<system.webserver>
   <security>
	<requestfiltering>
		<requestlimits maxallowedcontentlength="9999">
	</requestlimits></requestfiltering>
   </security>
</system.webserver>



but , the problem is it doesn't upload more than 90 mb....i want your help..
Thank you...:)
Posted
Updated 26-Feb-14 18:30pm
v2
Comments
JoCodes 27-Feb-14 1:03am    
Since you have set maxrequestlength="99999" it will limit to 90 MB only. Increase it and try.

1 solution

As per your current maxrequestlength and maxallowedcontentlength element settings in Web.Config it wont upload more than 90MB. Keep in mind that the maxRequestLength accepts in KBs and maxAllowedContentLength in Bytes. increase it accordingly.Also , increase executiontimeout to an optimal time.
 
Share this answer
 
v2
Comments
Pranav-BiTwiser 27-Feb-14 2:06am    
what is the maximum maxRequestLength we can give?? and also maxAllowedContentLength
JoCodes 27-Feb-14 2:14am    
its integer type so whatever an integer can take.To be precise it will be 4,294,967,295 .Will be nealry 3.9 GB .But dont increase it only to an optimal size only or else your performance can be degraded.

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