唯美卡通情侣头像一对:HTTP 错误 403 - 禁止访问 请帮帮我

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/23 22:26:41
我自己建立的数据库是 由于yygl:
Global.asp代码如下:
<script language="vbscript" runat="server">
sub Application_OnStart
Application("Connection2_ConnectionString") "DRIVER=SQL Server;SERVER=local; UID=sa;password=; App=Microsoft Development Environment;WSID=JL;DTABASE=yygl;"
Application("Connection2_ConnectionTimeout") = 15
Application("Connection2_CommandTimeout") = 30
Application("Connection2_CursorLocation") = 3
Application("Connection2_RuntimeUserName") ="sa"
Application("Connection2_RuntimePassword") =""
End sub
</script>

BasicText.asp页 代码为..
<%@LANGUAGE="VBSCRIPT"%>
<html>
<head>
<title>系统测试页</title>
</head>
<body>
<%
Dim Gs_Account,Gs_Password,DBConn,Rs,LStr_Sql,Gs_StaffID
Gs_Account=Trim(Request("text1"))
Gs_Password=Trim(Request("password1"))
Set DBConn=Server.CreateObject("ADODB.Connection")
DBconn.Open Application("Connection2_ConnectionString")
LStr_Sql="SELECT Stf_ID,Rit_GID,Rit_UPass,Rit_UStatus"
LStr_Sql= LStr_Sql+"FROM Right_User"
LStr_Sql= LStr_Sql+"WHERE Rit_UID='"&GS_Account&","
Set Rs=Server.CreateObject("ADODB.Recordset")
Rs.Open LStr_Sql.DBConn
If Rs.EOF And Rs.BOF Then
Rs.Close
DBConn.Close
Set Rs=Nothing
Set DBConn=Nothing
%>
<script language="vbscript">
<!--
MsgBox"对不起没有此帐号!",,"CMS系统提示"
form1.submit
-->
</script>
<%
Response.End()
Else
If Trim(Rs("Rit_UStatus"))<>"启用"Then
Rs.Close
Set Rs=Nothing
%>
<script language="vbscript">
<!--
MsgBox "对不起此帐号没有启动",,"CMS系统提示"
form1.submit
-->
</script>
<%
Response.End()
End If
If Trim(Rs("Rit_UPass"))<>Gs_password Then
Rs.Close
Set Rs=Nothing
Set DBConn=Nothing
%>
<script language="vbscript">
<!--
MsgBox"对不起,密码不正确,请重新输入!",,"CMS系统提示"
form1.submit
-->
</script>
<%
Response.End()
End If
Gs_StaffID=Trim(Rs("Stf_ID"))
Session("Gs_StafferName")="Gs_Account"
Rit_ID=Trim(Rs("Rit_GID"))
End If
Rs.Close
DBConn.Close
Set Rs=Nothing
Set DBConn=Nothing
if Rit_ID<>"2" then
Session("Gs_StafferType")="总部职工"
%>
<h2 align="center">CMS2006系统测试页(总部)</h2>
<p><font color="red" size="4"><strong>基础资料维护:</strong></font></p>

问错地方了吧
到电脑/数码这个区问问吧