架构师_程序员_码农网

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 10058|回复: 0

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

[复制链接]
发表于 2016-7-20 12:19:04 | 显示全部楼层 |阅读模式
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 ---


用WCF上传大文件IIS404.13错误
在IIS7.5上,如果通过WCF服务上传大文件(> 30MB),IIS服务器将会返回404.13错误,具体的错误信息如下:

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

解决方法是在web.config里把maxAllowedContentLength给设大些,默认最大智能上传28.6M的文件。




<requestLimits maxAllowedContentLength="2147483647" />




上一篇:WCF实现文件上传有返回值Demo下载
下一篇:SQL中的锁、脏读、不可重复的读及虚读
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

免责声明:
码农网所发布的一切软件、编程资料或者文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:help@itsvse.com

QQ|手机版|小黑屋|架构师 ( 鲁ICP备14021824号-2 )|网站地图

GMT+8, 2024-4-20 12:22

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表