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

View: 17580|Reply: 0

[WCF/Web Servics] There was no endpoint listening at http://localhost:111/xxx.svc that c...

[Copy link]
Posted on 7/20/2016 12:19:04 PM | | |
There was no endpoint listening at http://localhost:xxx/xxx.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
************** Exception Text **************
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:xxx/xxx.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   --- End of inner exception stack trace ---


IIS404.13 error uploading large files with WCF
On IIS 7.5, if you upload a large file (> 30MB) through the WCF service, the IIS server will return a 404.13 error with the following error message:

HTTP Error 404.13 – Not Found
The request filtering module is configured to deny a request that exceeds the request content length.

The solution is to set maxAllowedContentLength to a larger size in web.config, and the default maximum intelligent upload of 28.6M files.




<requestLimits maxAllowedContentLength="2147483647" />




Previous:WCF implementation file upload has a return value for demo download
Next:Locks, dirty reads, unrepeatable reads, and false reads in SQL
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