Bryan Corazza

for ( ; ; ) { BizTalk, Workflow, and .NET }

  Home  |   Contact  |   Syndication    |   Login
  55 Posts | 1 Stories | 23 Comments | 42 Trackbacks

News

Archives

Post Categories

Image Galleries

Biztalk

Blogs I read

Downloads and Samples

General .Net

How-To

Other disparate systems

Patterns and Practices

WorkFlow

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 06, 2006 8:06 PM

Feedback

# re: SOAPException Maximum request length exceeded 1/16/2008 12:41 AM Sanjay
<httpRuntime>maxRequestLength ="8192"</httpRuntime> s/d be written as
<httpRuntime maxRequestLength ="8192"> </httpRuntime>

# re: SOAPException Maximum request length exceeded 3/13/2008 2:34 AM venu maddineni
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


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: