Print Page | Close Window

Largest Entity Size

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2755
Printed Date: 22-May-2026 at 1:41am


Topic: Largest Entity Size
Posted By: gregweb
Subject: Largest Entity Size
Date Posted: 10-Jun-2011 at 7:24pm
I have an entity which is an email attachment. Am wondering what the largest entity size would be. By trial and error, 4 megs is the largest I have been able to get accross the wire before I get an error.
Any guidance on this? One idea I had was simply to break into 4 meg batches and send them up one at a time.
Greg



Replies:
Posted By: gregweb
Date Posted: 11-Jun-2011 at 5:43am
I found some info in the docs on this:
 
<httpTransport maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" />
 
Seems to me a good idea to leave the default, but it's good to know this can be changed if needed.
 
Is the above the actual default value?
 
Greg


Posted By: kimj
Date Posted: 11-Jun-2011 at 8:19am
Hi Greg,
DevForce does set the quotas above to the maximum allowed, which is int.MaxValue.  The 4MB limit you're running into is the default maximum allowed by IIS, which can be configured to higher values.  See http://msdn.microsoft.com/en-us/library/e1f13641%28v=vs.71%29.aspx - http://msdn.microsoft.com/en-us/library/e1f13641(v=vs.71).aspx .


Posted By: gregweb
Date Posted: 13-Jun-2011 at 4:54pm
Great, thanks very much.
 
Greg



Print Page | Close Window