Geeks With Blogs
Bryan Corazza for ( ; ; ) { BizTalk, Workflow, and .NET }

Have you attempted to consume a web service just to see this message in return?  It turns out that ASP.NET by default permits web requests 4096kb or smaller to be sent up to a web server, which is a good thing.  To pass through anything larger than that you must follow these simple steps:

  • locate either the web.config or machine.config depending on how large you want the scope of the change. (machine.config obviously overriding the default on the entire machine.)
  • change the maxRequestLength parameter like so
    <httpRuntime>maxRequestLength ="8192"</httpRuntime>

section of your config file to something in larger than 4096kb.

Posted on Wednesday, September 6, 2006 8:06 PM | Back to top


Comments on this post: SOAPException Maximum request length exceeded

# re: SOAPException Maximum request length exceeded
Requesting Gravatar...
<httpRuntime>maxRequestLength ="8192"</httpRuntime> s/d be written as
<httpRuntime maxRequestLength ="8192"> </httpRuntime>
Left by Sanjay on Jan 16, 2008 12:41 AM

# re: SOAPException Maximum request length exceeded
Requesting Gravatar...
Hi
I am trying to download an excell document with Httprequest
its size is less than 1MB
Still system throws Maximum request length exceeded

can any help on this
Thanks
Venu
Left by venu maddineni on Mar 13, 2008 2:34 AM

Your comment:
 (will show your gravatar)
 


Copyright © Bryan Corazza | Powered by: GeeksWithBlogs.net | Join free