.NETGURU
System.Net.WebException Request Entity Too Large (not running IIS)
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.aspnet.webservices.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

x1x82
When my .NET program makes a Web Service call I get this response...

System.Net.WebException: The request failed with HTTP status 413:
Request Entity Too Large

1. The server the Web Service is running on is *not* MS IIS
2. The problem does *not* occur if my .NET program and non-IIS server
are running on the same machine.
3. Using a TCP monitoring tool I have confirmed that the exception
occurs *before* the request is actually sent out from my .NET program.

Any ideas?
Reply to this message...
 
    
Feroze [msft] (VIP)
Hmm, it sounds strange that the problem does not occur when client & server
run on the same box.

can you try to upload the soap request using a non dotnet client from a
different machine than the server, and see if it reproes.

Going by your assertion that the response is sent even before the client
sends the request ( I am assuming here that even before the request headers
are sent, the server has responded) , it seems to me like a server issue.
What server is this ?

feroze.
=========================
this posing is provided as-is.

"x1x82" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
x1x82
Feroze,

Thanks for the response.

I think I should clarify something. In my original post I said "I get
this response", however, the use of the word "response" is a poor
choice. I do not get a SOAP response as my use of words suggested.

I get a WebException that is thrown from within my .NET client
application before the SOAP request is sent across the wire to the
server. I verified this by watching the wire using the TCP monitoring
tool I mentioned. The monitoring tool shows nothing going to or coming
from the server, which tells me my .NET client application didn't
actually get far enough to make the call.

Hypothetically, I should be able to shutdown my server altogether and
get this error. Since the Web Service call is never actually made. I
will try this tomorrow.

[Original message clipped]

Sure. I will try tomorrow.

> What server is this ?

JBoss Application Server running Apache.

Here is a post from someone a couple of years ago having the same
problem...

http://groups.google.com/groups?q=%22Request+Entity+Too+Large%22&hl=en&lr=&ie=UTF-8&safe=off&selm=424546264455046%40asp.forumszone.com&rnum=1

Any help is appreciated.

Thanks.

"Feroze [msft]" <Click here to reveal e-mail address> wrote in message news:<4137975c$Click here to reveal e-mail address>...
[Original message clipped]

Reply to this message...
 
    
x1x82
Follow Up -

I have verified that...

1. this problem does not occur when using a non .NET client

2. the WebException still occurs when my server is shutdown. Which
further shows that the exception occurs *before* my .NET client sends
the call across the wire, suggesting the exception comes from *within*
my .NET client

Help?

Thanks.

Click here to reveal e-mail address (x1x82) wrote in message news:<Click here to reveal e-mail address>...
[Original message clipped]

Reply to this message...
 
    
Feroze [msft] (VIP)
Can you get a sniff and share what the request/response look like ? They
should be from before the exception occured.

It still seems like a server issue to me., but I cant say for sure unless I
see a sniff.

--
feroze

-----------------
This posting is provided as-is. It offers no warranties and assigns no
rights.

See http://weblogs.asp.net/feroze_daud for System.Net related posts.
----------------

"x1x82" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.Net.WebException




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification