『求助』请各位大大帮我看看出什么问题了,在线等
用IIS信息管理器打开我写的那个index.asp页面后出现了以下显示:
An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error
我的代码如下:(请大大们看看这到底是什么问题呢,谢谢啦)
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>注册登陆系统</title><link rel="stylesheet" type="text/css" href="../CSS/index_style.css"><%function sub()if form_index.userNum.value=empty then msgbox"请输入用户名!"elseif form_index.password.value=empty msgbox"请输入密码!"end ifend function%></head><body><div id="base"><div id="topline"></div><div id="title">用户登录</div><div id="warry">注意:您还没有登录,请先登录,新用户需先注册</div><hr><form action="index.asp" method="post" name="form_index"><table id="tab"><tr><td id="user">用户名:</td><td id="text1"><input type="text" id="userNum" name="userNum"></td><td class="h6">*</td></tr><tr><td id="pwd">密 码:</td><td id="text2"><input type="password" id="password" name="password"></td><td class="h6">*</td></tr><tr><td colspan="2"><input type="button" value="确定" src="#" id="btm" name="sub" onClick="sub()"><input type="button" value="注册" src="#" id="btm" name="reg"></td></tr><tr><td id="warring"><p id="warring"></p></td></tr></table></form><div id="bottomline"></div></div></body></html>
</tr>
<tr>
<td width="16" height="35"> </td>
<td width="85" height="35" align="right">
<span style="font-size: 11pt">
<font color="#FF0000">*</font></span><font color="#4F4F4F"><span style="font-size: 11pt">密码</span></font></td>
<td width="351" height="35" align="left" colspan="2">
<font color="#4F4F4F">
<span style="font-size: 11pt"> </span></font><input type="password" name="pwd" size="23"></td>
</tr>
<tr>
<td width="16" height="35"> </td>
<td width="85" height="35" align="right">
<span style="font-size: 11pt">
<font color="#FF0000">*</font></span><font color="#4F4F4F"><span style="font-size: 11pt">确认密码</span></font></td>
<td width="351" height="35" align="left" colspan="2">
<font color="#4F4F4F">
<span style="font-size: 11pt"> </span></font><input type="password" name="pwd1" size="23"></td>
</tr>
<tr>
<td width="16" rowspan="5" height="119"> </td>
<td width="85" align="right" height="39">
<span style="font-size: 11pt">
<font color="#FF0000">*</font></span><font color="#4F4F4F"><span style="font-size: 11pt">电子邮箱</span></font></td>
<td width="351" align="left" height="39" colspan="2"> <input type="text" name="uEmail" size="22" onblur='isEmail(this.value)'></td>
</tr>
<!--<tr>
<td width="85" align="right" height="37">
<span style="font-size: 11pt">
<font color="#FF0000">*</font></span><font color="#4F4F4F"><span style="font-size: 11pt">效验码</span></font></td>
<td width="351" align="left" height="37" colspan="2">
<font color="#4F4F4F">
<span style="font-size: 11pt"> </span></font><input type="text" name="T6" size="7"><font color="#FF0000" style="font-size: 9pt">1265</font></td>
</tr>-->
<tr>
<td width="70" height="21">
</td>
<td width="23" height="21">
<input type="radio" value="V1" checked name="R1"></td>
<td width="313" height="21">
<span style="font-size: 9pt">
<font color="#000000">我已阅读并同意</font><font color="#4F4F4F">
会员注册协议 </font><font color="#000000">和</font><font color="#4F4F4F">
隐私保护政策</font></span></td>
</tr>
<tr>
<td width="422" colspan="3" height="11">
</td>
</tr>
<tr>
<td width="422" colspan="3" height="10">
<input type="image" src="pictrue/lizc.jpg" />
</td>
</tr>
</form>
[解决办法]
lz加个on error resume next
然后在有怀疑的地方加
if err.number <> 0 then
response.write err.description
response.end
end if
[解决办法]
还有,服务器端的不能在客户端运行。