本文介绍了XMLHTTP.OPEN网络错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 HI, 我可以在本地机器上登录但无法登录客户端机器面临权限被拒绝errro在xmlhttp.open。 任何人都可以帮我这个。 功能i am able to login on local machine but unable to login on client machine facing permission denied errro in xmlhttp.open.can anybody help me on this.function XmlhttpCall(objXML,serviceName) { XmlhttpCall(objXML,serviceName){ 尝试 { var xmlHttp = new ActiveXObject(" Microsoft.XMLHTTP"); if (xmlHttp.readyState == 4 / * complete * / ){ if (xmlHttp.readyState == 4 /* complete */) {  if (xmlHttp.status == 200 || xmlHttp.status == 304){ 提醒(if (xmlHttp.status == 200 || xmlHttp.status == 304) {alert( '传输完成。' ); } 'Transfer complete.');} else { else {  //发生错误 } } var xmlHttpGo = xmlHttp; var xmlHttpGo = xmlHttp;  var WebServicePath =" http:// localhost / PerkWebService / WebServiceLeave / WebServiceLeave.asmx /" ; var str = WebServicePath + serviceName; xmlHttpGo.open (var str = WebServicePath + serviceName;xmlHttpGo.open( " POST" ,str, false ); xmlHttpGo.SetRequestHeader(xmlHttpGo.SetRequestHeader( " Content-type" , " application / x-www-form-urlencoded" ); xmlHttpGo.send(xmlHttpGo.send( 'xmlreceive =' + objXML。 XML); 'xmlreceive=' + objXML.xml);   var xmlString1 = xmlHttpGo.responseXML.text; var xmlString1 = xmlHttpGo.responseXML.text;   return xmlString1; } return xmlString1;} catch (e) {catch(e){ return (e.Message + " - > XmlhttpCall" ); } } return (e.Message + "--> XmlhttpCall");}}推荐答案 对不起,您似乎没有问过问题。我们可以为您提供帮助吗? 您确定您的客户的网站配置正确吗? "权限被拒绝"错误可能是由于某种原因发生的。I'm sorry, but you do not seem to have asked a question. Is there something we can help you with? Are you certain that your client has their site configured correctly? The "permissions denied" error is probably happening for some reason. 这篇关于XMLHTTP.OPEN网络错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-12 20:16