`
huhu_long
  • 浏览: 71765 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

The download of the specified resource has failed.

    博客分类:
  • .net
 
阅读更多
Recently, "The download of the specified resource has failed." error boring me a lot.

The SSL Cert on the web server had a hostname mismatch error. This caused the problem with using xmlhttp.send() resulting in "The download of the specified resource has failed.".


The solution is:
Change
XMLHTTPClass sender = new XMLHTTPClass();
To
ServerXMLHTTP sender = new ServerXMLHTTP();

then when executing sender.send(Request);, everything is back to normal.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics