组件返回故障code:0X80004005 [英] Component returned failure code: 0x80004005

查看:312
本文介绍了组件返回故障code:0X80004005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图发送使用我的计算机上的HTML文件获得AJAX请求,但以下code返回我的组件返回故障code:0x80004005的关于Mozilla浏览器异常。

<$p$p><$c$c>xmlhttp.open("GET","http://180.92.172.157/SMS-API/SMS-Push.aspx?UserName="+Username+"&Password="+Password+"&mobile="+Mobile+"&SenderName="+SenderName,false); xmlhttp.send(); 警报(HELLO);

谁能告诉我什么是错的我在做什么?

解决方案

试着读完这篇文章:的https:/ /developer.mozilla.org/En/HTTP_access_control

一个快速谷歌似乎指向一个安全功能preventing跨站点脚本。

I'm trying to send "Get" AJAX request using an HTML file on my computer, but the following code returning me an "Component returned failure code: 0x80004005" exception on Mozilla browser.

xmlhttp.open("GET","http://180.92.172.157/SMS-API/SMS-Push.aspx?UserName="+Username+"&Password="+Password+"&mobile="+Mobile+"&SenderName="+SenderName,false);
xmlhttp.send();
alert("HELLO");  

Could anyone please tell me what's wrong I'm doing?

解决方案

Try reading through this: https://developer.mozilla.org/En/HTTP_access_control

A quick Google seems to point to a security feature preventing cross-site scripting.

这篇关于组件返回故障code:0X80004005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆