调用 BinaryRead 之后,不能使用一般 Request 集合
来源:互联网 发布:优酷福利待遇 知乎 编辑:程序博客网 时间:2024/05/15 15:12
这是写入数据的全部代码
Request 对象 错误 'ASP 0208 : 80004005'
不能使用一般 Request 集合
/light1/picturew.asp,行 42
调用 BinaryRead 之后,不能使用一般 Request 集合。
提示这个,这个要怎么处理,会不会是 UpLoadClass.asp 这个的问题
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<%
Server.ScriptTimeOut=5000
%>
<!--#include file=
"conn.asp"
-->
<!--#include file=
"UpLoadClass.asp"
-->
<%
dim request2
set request2=
New
UpLoadClass
'设置文件允许的附件类型为jpg(可用gif)
request2.FileType=
"jpg/JPG"
'设置服务器文件保存路径
request2.SavePath=
"pic/"
'单文件最大1mb
request2.MaxSize =1024*100
'自动生成无重复文件名保存目标文件
request2.AutoSave = 0
request2.open
pic=
""
select case request2.form(
"propic_Err"
)
case 1:
response.write
"<script language='javascript'>"
response.write
"alert('文件太大,上传失败!');"
response.write
"window.history.back();"
response.write
"</script>"
response.end
case 2:
response.write
"<script language='javascript'>"
response.write
"alert('文件格式错误,上传失败!');"
response.write
"window.history.back();"
response.write
"</script>"
response.end
case 3:
response.write
"<script language='javascript'>"
response.write
"alert('文件大小超过限定并且格式错误,上传失败!');"
response.write
"window.history.back();"
response.write
"</script>"
response.end
case 0:
pic=request2.form(
"propic"
)
end select
set rs=server.CreateObject(
"adodb.recordset"
)
if request(
"id"
)=
""
then
rs.open
"select * from light where id="
&request(
"id"
),conn,1,3
end if
rs.addnew
rs(
"picname"
)=pic
rs(
"pictime"
)=date()
rs.update
rs.close
response.write
"<script language='javascript'>"
response.write
"if(confirm('发布成功,是否继续发布?'))"
response.write
"{window.location.href='picture.asp';}"
response.write
"else{window.location.href='picturelist.asp';}"
response.write
"</script>"
Request 对象 错误 'ASP 0208 : 80004005'
不能使用一般 Request 集合
/light1/picturew.asp,行 42
调用 BinaryRead 之后,不能使用一般 Request 集合。
提示这个,这个要怎么处理,会不会是 UpLoadClass.asp 这个的问题
- 调用 BinaryRead 之后,不能使用一般 Request 集合
- oUpFileStream.Write Request.BinaryRead (Request.TotalBytes)上传提示错误 0104
- oUpFileStream.Write Request.BinaryRead (Request.TotalBytes)上传提示错误 0104
- Request.QueryString 不能像使用方法那样使用不可调用
- 在ashx一般处理程序文件中不能使用session和request的问题解决办法
- iOS,不能使用UDID之后
- request.getInputStream不能使用两次
- Request.ServerVariables("HTTP_REFERER")不能使用
- 调用 request.getParameter 之后再调用 request.getInputStream 取不到流数据
- KSImageNamed插件安装之后不能使用(VVDocumenter)
- Xcode 升级之后插件不能使用了
- jq ajax之后函数不能使用问题
- Android打包签名之后不能使用
- 经常使用Lantern, 之后不能正常上网
- kali升级之后theharvester不能使用
- ReactNative0.44之后不能使用Navigator
- request和response对象的使用集合
- Python使用request调用http接口使用说明
- NYOJ 8-一种排序
- 不按照读取excel表格的方法,注册“microsoft.ace.oledb.12.0”提供程序
- 如何读取txt内的行重新生成新的txt文件
- 我的TDD实践
- 通过Thrift source向Flume发送数据的Python实现
- 调用 BinaryRead 之后,不能使用一般 Request 集合
- poj 2478 Farey Sequence(欧拉函数)
- UVA1146 Now or later
- 现代操作系统笔记 1
- hdu1085 Holding Bin-Laden Captive!
- 如何在Eclipse中看Android的源码
- Linux内核scripts/Makefile.build文件结构
- 第13章习题 复制控制
- poj 2184 Cow Exhibition 01背包变形,正负背包