什么东西,在 ASP 下面写程序简直就是和 MS 的 BUG 做斗争!!!
Microsoft.XMLHTTP 访问带跳转的网页就出错:
msxml3.dll '80070005'
拒绝访问。
adss1 oolpicpic.asp, line 15
查了半天什么都说什么权限问题,可是我的分区是 FAT32 的,而且访问不带跳转的网页就是正确的!
有人说改成 MSXML2.serverXMLHTTP, 于是就变成下面的错误:
msxml3.dll '80072f78'
The server returned an invalid or unrecognized response
adss1 oolpicpic.asp, line 15
网上一看,有人说解决这个错误的办法就是把 MSXML2.serverXMLHTTP 换成 Microsoft.XMLHTTP,我晕...
换成 WinHTTP.WinHTTPRequest.5.1 仍然是这种错误,抓包看又是正常的:
GET /pic/471b15db02000g6y HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322)
Host: ×××××××××
Connection: Keep-Alive
Cookie: userId=C7pBqA-jkoyCrczcKg9qG6zekbyphdy5hcxQN5FcuhzCy5; S_WC_USRTOK=lam73a; vjuids=-35f0d414b.113d4a7e7ee.0.4c7f4e98339908; vjlast=1207278325; Iask2_visitID=218.205.238.99.290071195040278376; SINAGLOBAL=211.137.102.84.102111202985002186; UNIPROCT=115-9999-0:2; UNIPROPATH=1205724667796.3266|*|1205724667796.3266|pid:115-9999-0-0-1|games.sr/littlegame/zt/xxyl/majiang/|st:117.016|et:1205724668000|115-9999-0-0-1|hp:N|lb:1|PGLS:PGLS000277|keys:??????ȫ??,ƥņ,Υדƥ,ϳƥ,̸ƥ,??ƥ,Ƌ?ˬ©??,©ȸ,НϐӎϷ,ÔģӎϷ,flashӎϷ,СӎϷ,ԚϟӎϷ,â?Ѭ,כ?ϗ?̢,Ђ?ӎϷ,Нϐө?|*|; sinaRotator/=62
HTTP/1.1 301
Server: nginx/0.5.34
Date: Fri, 04 Apr 2008 05:18:50 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Location: http://×××××××××/orignal/471b15dbb6212572d688d
X-Via: Proxy by Tj-59
0
弄了一个上午,实在没摺了,郁闷。