| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 916 人关注过本帖
标题:大家帮我看看, vbscript 的类型不匹配的问题
只看楼主 加入收藏
墙脚壁虎
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2005-11-13
收藏
 问题点数:0 回复次数:4 
大家帮我看看, vbscript 的类型不匹配的问题

打开主页是就出现:

Microsoft VBScript 运行时错误 错误 '800a000d'

类型不匹配: 'vcount'

/index.asp,行 50
---------------------------------------------------------------------------------------------
代码:
<!--#include file="config.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="format.asp"-->
<!--#include file="error.asp"-->
<!--#include file="lib/incjs.asp"-->
<!--#include file="lib/inctop.asp"-->
<!--#include file="lib/nav.asp"-->
<!--#include file="lib/index_news.asp"-->
<!--#include file="lib/index_diary.asp"-->
<!--#include file="lib/index_article.asp"-->
<!--#include file="lib/index_soft.asp"-->
<!--#include file="lib/index_body.asp"-->
<!--#include file="lib/incfooter.asp"-->
<!--#include file="lib/zoom.asp"-->
<link rel="Shortcut Icon" href="qianginfo.ico">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript">
window.open ('guanggao.html', 'newwindow', 'height=500, width=600, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')
</script>
<%
stats="首页"
dim founderr,errmsg
founderr=false
errmsg=""

if request("page")<>"" then
if not isInteger(request("page")) then
founderr=true
errmsg=errmsg+"<br>"+"<li>非法的日记id参数。"
end if
end if

if founderr then
call diserror()
response.end
else
openadmin
sql="select articlecount,softcount,coolsitescount,friendlinkcount,newscount,diarycount,gbcount from allcount"
set rs=conn.execute(sql)
articlecount=rs("articlecount")
softcount=rs("softcount")
coolsitescount=rs("coolsitescount")
friendlinkcount=rs("friendlinkcount")
newscount=rs("newscount")
diarycount=rs("diarycount")
gbcount=rs("gbcount")
rs.close
set rs=nothing

vcount-----------------------------50行,不知道怎么回事
call top()
call index_nav()
call index_body()
call endpage()
end if
%>

[此贴子已经被作者于2005-11-13 14:41:36编辑过]

搜索更多相关主题的帖子: vbscript 类型 
2005-11-13 14:40
regedit
Rank: 5Rank: 5
等 级:贵宾
威 望:19
帖 子:950
专家分:0
注 册:2004-6-8
收藏
得分:0 
vcount
你这个即不是变量又不是自定义函数,你这样子写肯定错啦

最新作品:百货品牌商品资讯第一门户([url]http://www./[/url]),欢迎交流
2005-11-13 14:53
墙脚壁虎
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2005-11-13
收藏
得分:0 
这网站是别人写帮我们写的.昨天还运行好好的,今天就这样了.
那位高手能帮帮看看
那个vcount,应该没问题,以前也是那样的啊

[此贴子已经被作者于2005-11-13 15:45:54编辑过]

2005-11-13 15:12
rainic
Rank: 6Rank: 6
等 级:贵宾
威 望:27
帖 子:2367
专家分:0
注 册:2005-8-9
收藏
得分:0 
这应该是调用函数的吧,你查查那个函数是不是没了,把它加上

2005-11-13 15:45
墙脚壁虎
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2005-11-13
收藏
得分:0 

谢谢,调用的一个页面的函数有问题,现在正常了

[此贴子已经被作者于2005-11-13 16:29:39编辑过]

2005-11-13 16:29
快速回复:大家帮我看看, vbscript 的类型不匹配的问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019870 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved