日期:2014-05-17  浏览次数:20947 次

代码运行不起来,请大家帮我挑挑错,谢谢!!!!!!!!!!!
<!--#include file="config.asp" -->

<%
if request("action")="save" then
ConnStr = "Provider = Sqloledb; User ID = "sa"; Password = "maomao"; Initial Catalog = "SRO_VT_SHARD"; Data Source = "127.0.0.1";"
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.open ConnStr
Conn.Execute("update [_Char] set PKPenaltyPoint=0,DailyPK=0,TotalPK=0 where Charname16='"&request("textpk")&"'")
Conn.Close
Set Conn = Nothing
end if
%>
<html>
<body>
<form name="form1" method="post" action="?action=save">
  <label>
  <input name="textpk" type="text" id="textpk">
  </label>
  <label>
 <input type="submit" name="Submit" value="提交">
  </label>
</form>
</body>
</html>  
这样写,程序打不开,错误500,请问是什么原因呢??????? 谢谢!

------解决方案--------------------
ie - 菜单 - 工具 - internet选项 - 高级 去掉显示友好的http错误信息的勾

你看看具体错误时什么