Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Http error 413->request entity too large

Reply
Thread Tools

Http error 413->request entity too large

 
 
Darie Florin
Guest
Posts: n/a
 
      06-26-2004
I have a webservice under IIS6/Win2003 Server. When I try to invoke a method
that have a strong type dataset as parameter for update in database I
receive on the client the follwing error: Http error 413 request entity is
too large.
I mention that this dataset is very large (about 1 Mb) and if the client
is on the same machine where the server is running the code is executed
succesfully. If I call the same method with a small dataset (about 256 Kb)
the method is excuted succesfully.
I checked the settings in machine.config file and the atributte for
httpRuntime->maxRequestLength is 4096 Kb.
Another intersted point is that if I have the exception on client and I
stop the IIS and I try to invoke the method i receive the same error code
insted of connection error or somnthing like this error.
Can anyone tell me how to correct this problem and what setting I need to
change to allow the clients app to inoke this web method with large dataset?




 
Reply With Quote
 
 
 
 
One Handed Man \( OHM - Terry Burns \)
Guest
Posts: n/a
 
      06-29-2004
There is a reference in here to this ( very similar ), you may want to check
it out.

http://www.microsoft.com/resources/d...eshooting.mspx

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Darie Florin" <> wrote in message
news:...
> I have a webservice under IIS6/Win2003 Server. When I try to invoke a

method
> that have a strong type dataset as parameter for update in database I
> receive on the client the follwing error: Http error 413 request entity is
> too large.
> I mention that this dataset is very large (about 1 Mb) and if the

client
> is on the same machine where the server is running the code is executed
> succesfully. If I call the same method with a small dataset (about 256 Kb)
> the method is excuted succesfully.
> I checked the settings in machine.config file and the atributte for
> httpRuntime->maxRequestLength is 4096 Kb.
> Another intersted point is that if I have the exception on client and

I
> stop the IIS and I try to invoke the method i receive the same error code
> insted of connection error or somnthing like this error.
> Can anyone tell me how to correct this problem and what setting I need to
> change to allow the clients app to inoke this web method with large

dataset?
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to relate a SQL based entity with an Object based entity in Entity Framework markla ASP .Net 1 10-06-2008 09:42 AM
Urgent: (413) Request entity too large =?Utf-8?B?TWFlIExpbQ==?= ASP .Net 3 08-18-2007 07:15 AM
Http error 413 Request entity too large Darie Florin ASP .Net Web Services 12 10-13-2004 01:01 PM
System.Net.WebException Request Entity Too Large (not running IIS) x1x82 ASP .Net Web Services 5 09-16-2004 07:33 PM
Error 413: Request Entity Too Large while send a file Fernando Donate ASP .Net Web Services 1 08-18-2003 09:44 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57