| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 585 人关注过本帖
标题:新手求助,总是提示少END
只看楼主 加入收藏
aaron0913
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-4-2
结帖率:0
收藏
已结贴  问题点数:20 回复次数:4 
新手求助,总是提示少END
各位前辈们:
        麻烦你们帮我看一下这个代码,前几天在机子上运行都没有问题,为什么这两天就不能运行了呢,老是提示少END,我没有改动代码呀
请各位帮忙看看,万分感谢。提示如下:
----------------------------------------------
错误类型:
Microsoft VBScript 编译器错误 (0x800A03F6)
缺少 'End'
/hx/admin/index.asp, 第 209 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
网页:
GET /hx/admin/index.asp
------------------------------------------------
<!--#include file="bsconfig.asp"-->
<html><head>
<meta http-equiv=Content-Type content=text/html;charset=gb2312>
<title>后台管理</title>
<style type="text/css">
.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}
.a2{BACKGROUND-COLOR: A4B6D7;}
</style>
</head>
<%
select case Request("menu")
case ""
index
case "top"
top2

end select
%>
<% sub top2 %>
<BODY leftMargin=0 topMargin=0 rightMargin=0>
<CENTER>
<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
      <TD align=center width="100%" height=25 style="BACKGROUND-IMAGE: url(images/titlebg.gif); COLOR: #330099; font: 10.5pt"
><B> 后台管理</B></TD>
</TR>
</TABLE>
</CENTER>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
</body>
<% end sub %>

<% sub index %>
<body style="MARGIN: 0px" scroll=no onResize=javascript:parent.carnoc.location.reload()>
<script>
if(self!=top){top.location=self.location;}
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}}
</script>

<table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%">
  <tr>
    <td align="middle" noWrap vAlign="center" id="frmTitle">
    <iframe frameBorder="0" id="carnoc" name="carnoc" scrolling=yes src="Menu_left.asp" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 174px; Z-INDEX: 2">
    </iframe>
    </td>
    <td bgcolor="A4B6D7" style="WIDTH: 9pt">
    <table border="0" cellPadding="0" cellSpacing="0" height="100%">
      <tr>
        <td style="HEIGHT: 100%" onClick="switchSysBar()">
        <font style="FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff">
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <span class="navPoint" id="switchPoint" title="关闭/打开左栏">3</span><br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        屏幕切换 </font></td>
      </tr>
    </table>
    </td>
        <td style="WIDTH: 100%">
        <iframe frameborder="0" id="main" name="top" scrolling="no" scrolling="yes" src="?menu=top" style="HEIGHT: 4%; VISIBILITY: inherit; WIDTH:  
100%; Z-INDEX: 1">
        </iframe>
        <iframe frameborder="0" id="main" name="main" scrolling="yes" src="sysadmin_view.asp" style="HEIGHT: 96%; VISIBILITY: inherit; WIDTH: 100%;  
Z-INDEX: 1">
        </iframe></td>
  </tr>
</table>
<script>
if(window.screen.width<'1024'){switchSysBar()}
</script>
</body>
<%
end sub

Function IsObjInstalled(strClassString)
On Error Resume Next
IsObjInstalled = False
Err = 0
Dim xTestObj
Set xTestObj = Server.CreateObject(strClassString)
If 0 = Err Then IsObjInstalled = True
Set xTestObj = Nothing
Err = 0
End Function         总是在这里提示

%></html>


<script type="text/javascript" src="http://web.
搜索更多相关主题的帖子: 提示 END 
2010-04-03 00:00
aaron0913
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-4-2
收藏
得分:0 
各位兄弟麻烦大家帮我看一下,浪费你们的时间,真不好意思
2010-04-03 13:57
gupiao175
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:40
帖 子:1787
专家分:7527
注 册:2007-6-27
收藏
得分:20 
首先反问个问题,文件里为什么有那么多个
<% sub index %>
</body>
<% end sub %>
?
缺少END,如果你肯定你没有修改过任何代码,那么就看看你包含的文件bsconfig.asp里是不是缺少,建议在文件体积大的时候一定要记得归类,函数类归函数类,不要用到什么就加什么,太乱了!

Q:1428196631,百度:开发地 即可找到我,有事请留言!
2010-04-03 15:23
aaron0913
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-4-2
收藏
得分:0 
谢谢楼上的兄台
还有一个问题不明白,为什么之前访问网面的时间速度很快,这两天好慢啊
页面要很久才会出来
2010-04-03 20:04
gupiao175
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:40
帖 子:1787
专家分:7527
注 册:2007-6-27
收藏
得分:0 
访问网面慢,以前快,突然慢了,也许是服务器软件设置有问题,这种情况找空间商就可以了,如果是你怀疑程序本身的问题,可以拿到无网络的本机测试,看看是否代码存在缺陷,导致运行速度过慢!

Q:1428196631,百度:开发地 即可找到我,有事请留言!
2010-04-06 10:28
快速回复:新手求助,总是提示少END
数据加载中...
 
   



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

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