
急!在线等!ASP的高手们,请帮我看看这段代码哪里出错了
</SCRIPT><BODYleftmargin="0"topmargin="0"marginheight="0"marginwidth="0"><tablewidth=...
</SCRIPT>
<BODY leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<table width=100% cellpadding=0 cellspacing=0 border=0 align=left>
<tr>
<td valign=top> <table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=42 valign=bottom> <img src="images/admin_title.gif" width=158 height=38>
</td>
</tr>
</table>
<table width=158 align=center cellpadding=0 cellspacing=0>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/title_bg_quit.gif >
<span><a href="index.asp" target=_top><b>管理首页</b></a> | <a href="logout.asp" target=_top><b>退出</b></a></span> </td>
</tr>
<tr>
<td style="display:"> <div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr>
<td height=20>用户名:<font color=red><%=session("Admin")%></font>|<a href=renpassword.asp target=right><font color=red>修改密码</font></a></td>
</tr>
<tr>
<td height=20>身 份:<font color=red><%
select case session("Flag")
case 1
response.write "系统CEO (站长)"
case 2
response.write "管理员"
case 3
response.write "业务员"
end select
%> </font></td>
</tr></table></td>
</table>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr>
<td height=10></td>
</tr>
</table>
</div>
<%
dim j,i
dim tmpmenu
dim menuname
dim menurl
for i=0 to ubound(menu,1)
%>
<table width=158 align=center cellpadding=0 cellspacing=0>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/title_bg_show.gif" id=menuTitle1 onClick="showsubmenu(<%=i%>)">
<span><%=menu(i,0)%></span> </td>
</tr>
<tr>
<td <%if i=1 or i=2 then%> style="display:" <%else%> style="display:none" <%end if%> id='submenu<%=i%>'>
<!--<td style="display:none" id='submenu<%=i%>'>-->
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<%
for j=1 to ubound(menu,2)
if isempty(menu(i,j)) then exit for
%>
<tr><td height=20><img src=images/bullet.gif border=0><%=menu(i,j)%></td></tr>
<%
next
%>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr><td height=10></td></tr>
</table>
</div>
</td>
</tr>
</table>
<%next%>
<BR>
连接不到“添加商品”
<%@LANGUAGE="VBSCRIPT" CODEPAGE="950"%>
<%
if session("Flag")=1 then
color="#000000"
elseif session("Flag")=2 then
color="#000000"
else
color="#CCCCCC"
end if
if session("Flag")=1 then
colorx="#000000"
else
colorx="#CCCCCC"
end if
REM 管理栏目设置
dim menu(7,10)
menu(0,0)="网站设置"
menu(0,1)="<a href=webconfig.asp target=right><font color="&colorx&">网站信息</a> | <a href=sysset.asp target=right><font color="&colorx&">货运费率</a>"
menu(1,0)="商品管理"
menu(1,1)="<a href=addbook.asp target=right>添加商品</a> | <a href=managebook.asp target=right>查看修改</a>"
menu(1,2)="<a href=ManageBrand.asp?action=no target=right><font color="&color&">品牌管理</a> | <a href=ManageUnit.asp?action=no target=right><font color="&color&">单位管理</a>"
%>
错误提示是调试ASP网页 HTTP 500 内部服务器错误 展开
<BODY leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<table width=100% cellpadding=0 cellspacing=0 border=0 align=left>
<tr>
<td valign=top> <table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=42 valign=bottom> <img src="images/admin_title.gif" width=158 height=38>
</td>
</tr>
</table>
<table width=158 align=center cellpadding=0 cellspacing=0>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/title_bg_quit.gif >
<span><a href="index.asp" target=_top><b>管理首页</b></a> | <a href="logout.asp" target=_top><b>退出</b></a></span> </td>
</tr>
<tr>
<td style="display:"> <div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr>
<td height=20>用户名:<font color=red><%=session("Admin")%></font>|<a href=renpassword.asp target=right><font color=red>修改密码</font></a></td>
</tr>
<tr>
<td height=20>身 份:<font color=red><%
select case session("Flag")
case 1
response.write "系统CEO (站长)"
case 2
response.write "管理员"
case 3
response.write "业务员"
end select
%> </font></td>
</tr></table></td>
</table>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr>
<td height=10></td>
</tr>
</table>
</div>
<%
dim j,i
dim tmpmenu
dim menuname
dim menurl
for i=0 to ubound(menu,1)
%>
<table width=158 align=center cellpadding=0 cellspacing=0>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/title_bg_show.gif" id=menuTitle1 onClick="showsubmenu(<%=i%>)">
<span><%=menu(i,0)%></span> </td>
</tr>
<tr>
<td <%if i=1 or i=2 then%> style="display:" <%else%> style="display:none" <%end if%> id='submenu<%=i%>'>
<!--<td style="display:none" id='submenu<%=i%>'>-->
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<%
for j=1 to ubound(menu,2)
if isempty(menu(i,j)) then exit for
%>
<tr><td height=20><img src=images/bullet.gif border=0><%=menu(i,j)%></td></tr>
<%
next
%>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr><td height=10></td></tr>
</table>
</div>
</td>
</tr>
</table>
<%next%>
<BR>
连接不到“添加商品”
<%@LANGUAGE="VBSCRIPT" CODEPAGE="950"%>
<%
if session("Flag")=1 then
color="#000000"
elseif session("Flag")=2 then
color="#000000"
else
color="#CCCCCC"
end if
if session("Flag")=1 then
colorx="#000000"
else
colorx="#CCCCCC"
end if
REM 管理栏目设置
dim menu(7,10)
menu(0,0)="网站设置"
menu(0,1)="<a href=webconfig.asp target=right><font color="&colorx&">网站信息</a> | <a href=sysset.asp target=right><font color="&colorx&">货运费率</a>"
menu(1,0)="商品管理"
menu(1,1)="<a href=addbook.asp target=right>添加商品</a> | <a href=managebook.asp target=right>查看修改</a>"
menu(1,2)="<a href=ManageBrand.asp?action=no target=right><font color="&color&">品牌管理</a> | <a href=ManageUnit.asp?action=no target=right><font color="&color&">单位管理</a>"
%>
错误提示是调试ASP网页 HTTP 500 内部服务器错误 展开
4个回答
展开全部
错误提示是什么.
这个错误提示应该不是代码的问题.是IIS的问题.
做一个静态页(.html)看看能不能访问.
如果能访问.说明IIS设置有问题不能解析asp代码.
这个错误提示应该不是代码的问题.是IIS的问题.
做一个静态页(.html)看看能不能访问.
如果能访问.说明IIS设置有问题不能解析asp代码.
展开全部
500这个错误太多了 主要还是你代码有地方不对
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询