首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web Service >

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

2012-04-12 
请求因 HTTP 状态 415 失败: Unsupported Media Type。做的一个winform远程上传大文件的 webservice调用htt

请求因 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?

热点排行