Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

The size of the request exceeds the limit allowed by the server

Posted on 2006-04-13
4
Medium Priority
?
1,021 Views
Last Modified: 2012-08-13
I'm sending a large xml request to a Project Server 2003 web service (PDS), but I am getting the following error:

System.Web.Services.Protocols.SoapHeaderException: The size of the request exceeds the limit allowed by the server.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCal
l)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at ProjectEMTS.PDSService.PDS.SoapXMLRequest(String sCookie, String sXML) in C:\Documents and Settings\clementc\My Documents\Visual Studio Projects\ProjectEM
TS\ProjectEMTS\Web References\PDSService\Reference.cs:line 39
   at ProjectEMTS.ProjectData.SendXMLRequest(StringWriter sWriter) in c:\documents and settings\clementc\my documents\visual studio projects\projectemts\project
emts\projectdata.cs:line 135

I have already maximized HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / MSSOAP / 30 / SOAPISAP / MaxPostSize, but still getting the error. I'm sure the size of the request is not even close to the value I set in the registry.

Any ideas of what else could be causing this error?

Thanks

Chris
0
Comment
Question by:ChrisClement
3 Comments
 
LVL 14

Expert Comment

by:jjardine
ID: 16445676
I believe your problem is set in the web.config of the webservice if it has one.   Try looking at this article to see if this helps.

Here is an article talking about the problem and how to solve it. The quickest thing to try is to update the webconfig to use a larger maxRequestLength value.   See the article for more detail on this.
 http://www.motobit.com/help/asp-upload/pa84.htm  

0
 

Author Comment

by:ChrisClement
ID: 16445868
Thanks, but we figured the problem out right after I posted this.  We changed the registry setting and restarted IIS, but for whatever reason the change still did not take affect until we rebooted the server.  What a pain.

Thanks for the response tho.
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16571654
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Integration Management Part 2
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month20 days, 20 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question