all groups > dotnet web services > march 2005 >
You're in the

dotnet web services

group:

Raising the Request Length in a Web Service


Raising the Request Length in a Web Service Marcos
3/29/2005 9:31:06 AM
dotnet web services:
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?

RE: Raising the Request Length in a Web Service Naes
3/29/2005 11:03:06 AM
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" />


[quoted text, click to view]
RE: Raising the Request Length in a Web Service Marcos
3/29/2005 11:49:04 AM
Thanks Naes, it worked just fine!

[quoted text, click to view]
AddThis Social Bookmark Button