This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16565|Reply: 0

[WCF/Web Servics] WCF error: 413 Request Entity Too Large

[Copy link]
Posted on 7/19/2016 9:11:19 PM | | |
When we use WCF to transfer data, if the default configuration is enabled, the amount of data transferred is too large, and this error often occurs.

WCF includes both the server and the client, so this error may occur when the server returns data to the client, or when the client sends data to the server.

1. The server returns data to the client and reports an error

In the client configuration file, the main thing is to configure maxReceivedMessageSize


2 The client sends data to the server to report an error

Modify the server's web.config to configure maxReceivedMessageSize


In fact, if you want to modify all services, whether it is the server or the client, just add a default configuration without a name on the Binding side







Previous:Due to an internal error, the server was unable to process the request. For more information about the error, open In...
Next:The operation 'xxx' could not be loaded because it has a parameter or retu...
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com