社区
ASP
帖子详情
asp页面打开时报错 错误 '800a041f'
zm3965676
2009-12-17 08:46:08
Microsoft VBScript 编译器错误 错误 '800a041f'
错误的 'Next'
/h徽匠牌业/wwwroot/product/public_product.asp,行 624
next
该如何解决?希望大家能帮助我,不胜感激
...全文
284
10
打赏
收藏
asp页面打开时报错 错误 '800a041f'
Microsoft VBScript 编译器错误 错误 '800a041f' 错误的 'Next' /h徽匠牌业/wwwroot/product/public_product.asp,行 624 next 该如何解决?希望大家能帮助我,不胜感激
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
10 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
ender129
2009-12-17
打赏
举报
回复
同意楼上的说法,养成好习惯 都是成对出现的 要是出现的太多的话 比如上千行代码 你可怎么找 是不是
找找吧 或者 你还有什么循环 没写next 循环和循环结束之间 是默认最短的为一套循环 而且一般写法也会串开写
例如for 他和最下面的是一套
for 他和倒数第二个是一套
for 他和下面离他最近的是一套
next
next
next
zm3965676
2009-12-17
打赏
举报
回复
我解决了!谢谢大家
yan11cn
2009-12-17
打赏
举报
回复
楼主 你的代码里面
if then
if then
end if
else
end if
比较多 仔细检查下结构 是不是有没结束的if
zm3965676
2009-12-17
打赏
举报
回复
倒数第4行就是那个地方报错
zm3965676
2009-12-17
打赏
举报
回复
<table width='100%' border='0' align='center' cellpadding='0' cellspacing='10'>
<%for i=1 to type_rowspan%>
<tr>
<%for j=1 to type_colspan
if not rs_product.eof then
%>
<td>
<table width='95%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<%'是否要图片
if product_picturl_boolean="ttttt" then
if product_picturl_align="left" or product_picturl_align="up" then %> <td align='left'>
<table width='100%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td width="65%" align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="500" align="center">
<img src=<%=right(rs_product("Product_picturl_big"),len(rs_product("Product_picturl_big"))-3)%> alt='<%=rs_product("product_name")%>' border="0" style="border:1px solid #7A7A7A" id="carousel_photo" />
</td>
<p id="carousel_photo_intro"></p>
</tr>
<tr>
<td height="24" align="center">图片名称:<a href='list.asp?product_id=<%=rs_product("product_id")%>' target='_blank'>
<%=rs_product("product_name")%></a>
</td>
</tr>
<tr>
<td height="30" align="center"><a href='list.asp?product_id=<%=rs_product("product_id")%>' target='_blank'>
<img src="more.gif" width="106" height="24" border="0"/></a></td>
</tr>
</table>
</td>
<td align="center">
<%if rs_product("Product_picturl_small")<>"" then %>
<% if rs_product("Product_picturl_big")<>"" then %>
<a href='list.asp?product_id=<%=rs_product("product_id")%>' target='_blank' name="xc_image" rel="lightbox[a]">
<% end if %>
</a>
<a href='list.asp?product_id=<%=rs_product("product_id")%>' target='_blank' name="xc_image" rel="lightbox[a]"><img src=<%=right(rs_product("Product_picturl_small"),len(rs_product("Product_picturl_small"))-3)%> alt='点击查看清晰图片' width="120" height="100" border="0" style="border:1px solid #7A7A7A" /></a>
<a href='list.asp?product_id=<%=rs_product("product_id")%>' target='_blank'>
<% if rs_product("Product_picturl_big")<>"" then %>
</a>
<% end if %>
<%else response.Write "<img src='IMAGES/nopic.jpg'>"
end if%>
</td></tr>
</table>
</td>
</tr>
</table>
</td>
<%rs_product.movenext
end if
next%>
</tr>
<%next%>
</table>
yan11cn
2009-12-17
打赏
举报
回复
[Quote=引用 4 楼 number123456 的回复:]
800A041F 不需要的 'Next'
[/Quote]。
number123456
2009-12-17
打赏
举报
回复
800A041F 不需要的 'Next'
if …… end if中还有什么代码?
number123456
2009-12-17
打赏
举报
回复
单看这一段应该没有问题,你前后还有没有if 或for循环的呢?
zm3965676
2009-12-17
打赏
举报
回复
<%for i=1 to type_rowspan%>
<tr>
<%for j=1 to type_colspan
if not rs_product.eof then
%>
<%rs_product.movenext
end if
next%>(这一行就是624行)
</tr>
<%next%>
yan11cn
2009-12-17
打赏
举报
回复
把那个循环附近的代码贴一下吧 是不是next之前有未结束的if 之类的。。。
ASP
.NET实战-零基础"抄近路"驾驭
ASP
.NET网站开发
本课程开发模式:Web Pages(Web
页面
) 课程大致完成内容: 1、
ASP
.NET是一个使用 HTML、CSS、JavaScript和服务器脚本创建网页和网站的开发框架。 2、
ASP
.NET支持三种不同的开发模式: Web Pages(Web
页面
) MVC...
IIS部署
asp
网站,
打开
.
asp
页面
时
,出现
错误
:ADODB.Connection
错误
‘800a0e7a‘
IIS部署
asp
网站,
打开
.
asp
页面
时
,出现
错误
:ADODB.Connection
错误
'800a0e7a'
Microsoft VBScript 编译器
错误
错误
'800a0408' 怎么解决?无效字符
今天一个用户使用XYCMS建站系统运行
时
发现遇到一个
错误
提示,Microsoft VBScript 编译器
错误
错误
'800a0408' 怎么解决?无效字符,我看了下截图 好,现在大家看到什么没有,该用户使用的是netbox,即简易
ASP
调试...
Microsoft VBScript 运行
时
错误
错误
'800a0046' 没有权限
asp
中向文件夹写入数据的代码出现没有权限的
错误
提示如下: Microsoft VBScript 运行
时
错误
错误
'800a0046' 没有权限 解决办法:给
asp
所在文件夹添加写入权限 ①在
asp
所在文件夹空白地方右击-属性 ...
Microsoft VBScript 运行
时
错误
800a01ad 解决办法总结
Microsoft VBScript 运行
时
错误
800a01ad 解决办法总结
错误
提示Microsoft VBScript 运行
时
错误
错误
'800a01ad'ActiveX 部件不能创建对象: 'scripting.FileSystemObject'/adminyyy/jingtai.
asp
,行 10ActiveX 部件不...
ASP
28,391
社区成员
357,060
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章