Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

Raising the Request Length in a Web Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marcos - 29 Mar 2005 18:31 GMT
Hi.

I´m wornking in a Web Service that has to exchenge a great amount of data,
but I keep receiving a SOAPException that says:

"There was an exception running the extensions specified in the config file.
--> Maximum request length exceeded."

How can I increase this Request Length?

Thanks in advance.
Naes - 29 Mar 2005 20:03 GMT
Marcos,

Hope this helps:
This error relates to ASP.NET's maxRequestLength setting. By default,
ASP.NET limits requests to 4096 bytes (or 4 MB), as explained in this
Microsoft KB article:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;295626. This error
will occur if an upload is larger than 4 MB and you have not adjusted the
maxRequestLength setting for your application in web.config or
machine.config.

<httpRuntime
     executionTimeout="1200"
     maxRequestLength="102400"
     useFullyQualifiedRedirectUrl="false"
     minFreeThreads="8"
     minLocalRequestFreeThreads="4"
     appRequestQueueLimit="100" />

> Hi.
>
[quoted text clipped - 7 lines]
>
> Thanks in advance.
Marcos - 29 Mar 2005 20:49 GMT
Thanks Naes, it worked just fine!

> Marcos,
>
[quoted text clipped - 14 lines]
>       minLocalRequestFreeThreads="4"
>       appRequestQueueLimit="100" />

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.