[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

Http error 413->Request entity too large

Darie Florin

6/26/2004 1:06:00 PM

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?