日期:2014-05-17  浏览次数:21011 次

很奇怪的问题,Request.BinaryRead在第一行还是出错
Request 对象 错误 'ASP 0206 : 80004005' 

不能调用 BinaryRead 

/admin_link.asp,行 1 

使用 Request.Form 集合之后,不能调用 BinaryRead。 


为了测试这个上传问题,我把Request.BinaryRead语句移到第一行还是提示前面使用了“Request.Form”集合?

怎么会这样? 是不是空间有问题?

出错网站:http://www.jxhgxy.com/admin_link.asp

------解决方案--------------------
贴代码,你没有include什么文件进来吧。
------解决方案--------------------
VBScript code
if request.TotalBytes>0 then'判断下是否有数据
  
  response.Write Request.BinaryRead(Request.TotalBytes)'==》等价于 response.Write null,出错了,并不是调用request.form的问题

end if

------解决方案--------------------
有了request.form就不能用request.binaryRead