当前位置: 代码迷 >> Web Service >> 请求因 HTTP 状态 415 失败: Unsupported Media Type。解决方案
  详细解决方案

请求因 HTTP 状态 415 失败: Unsupported Media Type。解决方案

热度:567   发布时间:2016-05-02 02:54:42.0
请求因 HTTP 状态 415 失败: Unsupported Media Type。
做的一个winform远程上传大文件的 webservice

调用http://localhost/WebWinUpLoad.asmx时可以上传文件 没错伍
可是换成外网IP时就出现
请求因 HTTP 状态 415 失败: Unsupported Media Type。
这错误 该怎么解决啊

------解决方案--------------------
是否有权限?
------解决方案--------------------
探讨
是否有权限?

------解决方案--------------------
找找415错误码对应的错误先
------解决方案--------------------
This error seldom occurs in most Web traffic, particularly when the client system is a Web browser.
If your client system is not a Web browser, the problem can only be resolved by examining what the client is trying to do then discussing with your ISP why the Web server rejects the media type specified by the client system.

or checkupdown:
This error should simply never occur on your CheckUpDown account. If it does, it typically indicates defective programming of our systems or of the Web server which manages your site. The content of the HTTP data stream we send is plain text, and the HTTP data stream we expect back is a simple byte stream. Both data streams make no reference to any specific medium
------解决方案--------------------
帮顶一个!关注ing...学习....
------解决方案--------------------
楼主有没有使用WSE2.0或者WSE3.0写webservice?
  相关解决方案