rs.addnew 这个添加总是出现内部服务器错误信息http500

来源:百度知道 编辑:UC知道 时间:2024/06/08 02:21:53
<!--#include file="conn.asp"-->
<%
dim strtitle
strtitle=""
if trim(request.Form("zhuanye"))="" then strtitle=strtitle+"专业不能为空<br>"
if trim(request.Form("xm"))="" then strtitle=strtile+"姓名不能为空<br>"
if trim(request.Form("xh"))="" then strtitle=strtile+"学号不能为空<br>"
if trim(request.Form("csrq"))="" then strtitle=strtile+"出生日期不能为空<br>"
if trim(request.Form("lxdh"))="" then strtitle=strtile+"联系电话不能为空<br>"
if trim(request.Form("hukou"))="" then strtitle=strtile+"户口类别不能为空<br>"
if strtitle<>"" then
response.Redirect"../error.asp?mess="&strtitle
response.end
end if
set conn=server.CreateObject("adodb.connection")
set rs=server.CreateObject(&quo

原因:
IE浏览器设置中屏蔽掉了出错的具体信息。

解决:
1、选择IE浏览器--工具--Internet选项。

2、在高级选项框中将“显示友好HTTP错误信息”的勾选去掉。