关于Microsoft VBScript 运行时错误 错误 '800a000d'的问题
2011-03-30 17:34
375 查看
Microsoft VBScript 运行时错误 错误 '800a000d'
类型不匹配: '[string: ""]'
/counter.asp,行 12
<%
dim visitors,whichfile,thisfile,fs,out
whichfile=server.mappath("functions/counter.txt")
set fs=createobject("Scripting.FileSystemObject")
set thisfile=fs.opentextfile(whichfile)
visitors=thisfile.readline
thisfile.close
if session("in")<>"in" then
session("in")="in"
visitors=visitors+1
end if
response.write visitors
set out=fs.createtextfile(whichfile)
out.writeLine(visitors)
out.close
set fs=nothing
%>
请高手解答
类型不匹配: '[string: ""]'
/counter.asp,行 12
<%
dim visitors,whichfile,thisfile,fs,out
whichfile=server.mappath("functions/counter.txt")
set fs=createobject("Scripting.FileSystemObject")
set thisfile=fs.opentextfile(whichfile)
visitors=thisfile.readline
thisfile.close
if session("in")<>"in" then
session("in")="in"
visitors=visitors+1
end if
response.write visitors
set out=fs.createtextfile(whichfile)
out.writeLine(visitors)
out.close
set fs=nothing
%>
请高手解答
相关文章推荐
- 关于Microsoft VBScript 运行时错误 '800a000d'
- 关于Microsoft VBScript 运行时错误 '800a000d'
- Microsoft VBScript 运行时错误 错误 '800a000d' 类型不匹配: 'regEx.Replace'
- Microsoft VBScript 运行时错误 错误 '800a000d'
- 使NetBox支持Response.CharSet解决Microsoft VBScript 运行时错误 '800a01b6' 问题
- Microsoft VBScript 运行时错误 错误 '800a01fb' 出现一个意外错误: 'XMLDom.createNode' 问题解决
- iis默认网页127.0.0.1打不开出现Microsoft VBScript 运行时错误 (0x800A0046)
- microsoft vbscript 运行时错误 “800a0046”
- Microsoft VBScript 运行时错误代码大全
- Microsoft VBScript 运行时错误 错误 '800a0046' 没有权限:
- 关于Android中AdbWinApi.dll没有被指定在Windows上运行,或者它包含错误的问题解决
- Microsoft VBScript 运行时错误 错误 '800a0005'
- Microsoft VBScript 运行时错误 错误 '800a0046' 没有权限
- (转)关于Microsoft VBScript 的一些错误收集
- 新闻中含有日文平假名导致的Microsoft VBScript 运行时错误 (0x800A0005) 错误解决方法
- Dubbo搭建:关于pom中无法找到jms等错误,找不到运行主类main()等的问题:
- 错误类型Microsoft VBScript运行时错误 (0x800A0046)没有权限'GetObject'
- 在ASP 调用 VB.net 编写的dll 出错 提示:Microsoft VBScript 运行时错误 错误 '800a01ad' ActiveX 部件不能创建对象
- 关于wince 使用占用空间大的内存变量问题(编译无错误但是无法运行的问题)
- Microsoft VBScript 运行时错误 '800a01f4' 变量未定义: 'upload_5xSoft' 的解决办法