标题:大虾帮忙!“HTTP 500 Internal Server Error”错误
取消只看楼主
xiaowill
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-10-29
结帖率:0
已结贴  问题点数:20 回复次数:2 
大虾帮忙!“HTTP 500 Internal Server Error”错误
<%
dim objconn,strconn,sqlcmd,frmgonghao
frmgonghao=request.form("gonghao")

set objconn=server.createobject("adodb.connection")
strconn="provider= microsoft.jet.oledb.4.0; data source="&server.mappath("train.mdb")                                                                                   
objconn.open strconn
sqlcmd="select * from basic_infor where 工号='"&frmgonghao&"'"
set rs=objconn.execute(sqlcmd)
%>

两周前运行正常,现在运行后报“HTTP 500 Internal Server Error”错误,是IIS需要什么样的设置吗?
搜索更多相关主题的帖子: HTTP Internal Server 
2010-10-29 09:50
xiaowill
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-10-29
得分:0 

返回的是下面的东东

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

2010-10-29 10:52
xiaowill
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-10-29
得分:0 
显示的是如下:
Microsoft JET Database Engine error '80004005'

Too many fields defined.

/ptfesdw25.asp, line 11

line 11 是 “ set rs=objconn.execute(sqlcmd) ”
2010-10-29 13:07



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-324330-1-1.html




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

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