Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Uploading Large Files using WCF

Author  Topic 

saidev
Posting Yak Master

101 Posts

Posted - 2010-07-04 : 13:00:28
Hi Guys,

I am using WCF in one of the application, and when i try to upload the files larger than 15kb i am getting Error Message some thing like Increase the MaxRecievedSize. I did increased the size in Web.Config but still no luck. Can you guys help me on this.
I am using VS2008/VB.NET/SQL Server2005. Here is my Config file.

<binding name="wsbinding" closeTimeout="01:01:00"
openTimeout="01:01:00" receiveTimeout="01:10:00" sendTimeout="01:01:00"
hostNameComparisonMode="StrongWildcard" listenBacklog="10"
maxBufferSize="5000000" maxConnections="10"
maxReceivedMessageSize="5000000">

Thanks.

Sachin.Nand

2937 Posts

Posted - 2010-07-08 : 10:46:01
Try this.Not sure will work or not :(


<httpRuntime maxRequestLength="20240"/>



Limitations live only in our minds. But if we use our imaginations, our possibilities become limitless.

PBUH
Go to Top of Page
   

- Advertisement -