xmlhttp如何获取不到网页值

xmlhttp怎么获取不到网页值用javascript写一个scriptvaroxmlhttpnewActiveXObject( Microsoft.XmlHttp

xmlhttp怎么获取不到网页值
用javascript写一个
<script>
var   oxmlhttp=new   ActiveXObject( "Microsoft.XmlHttp ");
oxmlhttp.open( "GET ", "index.asp ",false);
oxmlhttp.send();
document.write(oxmlhttp.responseText);
</script>
没问题可获取到值
在用asp写一个:
<%
dim   XmlHttp
set   XmlHttp=Server.createobject( "Microsoft.XMLHTTP ")  
XmlHttp.open   "GET ", "index.asp ",false     XmlHttp.send
response.write     XmlHttp.responseText
%>
提示:
错误类型:
(0x80004005)
未指定的错误  
/ceshi.asp,   第   4   行(XmlHttp.open   "GET ", "index.asp ",false)
这是怎么回事啊


[解决办法]
XmlHttp.open "GET ", "index.asp ",false:XmlHttp.send