1
Answer

"HTTP status 413: Request Entity Too Large" exception

harsh goel

harsh goel

11y
5.9k
1

Hello,

I have created a WFC service in VS 2010 and trying to consume it into a Visual Studio 2005 (.Net 2.0) website... added same service using "Add Web Reference" but while invoking service method... getting "HTTP status 413: Request Entity Too Large" exception.

I have analysed same exception and found when my request parameter size comes under 68kb then it works find but when it goes up then it through "HTTP status 413: Request Entity Too Large" error. 

One more thing, I had consumed same service in VS2008 and VS2010 website and it's working fine with all size of request parameters.

I have already set maxReceivedMessageSize with it's max size in WCF service web.config

So please advise, what should i do so that my service could work in VS2005 properly with all sizes.

Thanks

Answers (1)