主题:程序打不开,大家帮帮忙!
是这样的,我下了一套程序,asp的
我放在wwwroot下面在本地打开后,他就出现了"系统日常维护中!"
后台都进不去,
我看了一下它的conn.asp文件
是这样写的:
<!--#include file="const.asp"-->
<%
If IsObject(Conn) = false Then
On Error Resume Next
set conn = Server.CreateObject("ADODB.Connection")
conn.Open conndata
If Err.Number <> 0 Then
Response.write "系统日常维护中!"
Response.End()
end if
end if
%>
然后里面包含的那个const.asp又是这样写的:
<!--#include file="ubb.asp"-->
<!--#include file="data.asp"-->
<%If IsObject(contt) = false Then
'if Application("citycss")="" or Application("citycss")<>"" then
On Error Resume Next
set contt = Server.CreateObject("ADODB.Connection")
contt.Open "driver={sql server};server=(local);uid=sa;pwd=sa;database=smt;"
If Err.Number <> 0 Then
Response.write "系统日常维护中!"
Response.End()
end if
'end if
SMT_citytime=now()
SMT_citydate=date()
大概是这样,里面内容有很多,我就贴了一点出来,
苦于asp才初学,不是太了解,在这请高手指教!!!
我放在wwwroot下面在本地打开后,他就出现了"系统日常维护中!"
后台都进不去,
我看了一下它的conn.asp文件
是这样写的:
<!--#include file="const.asp"-->
<%
If IsObject(Conn) = false Then
On Error Resume Next
set conn = Server.CreateObject("ADODB.Connection")
conn.Open conndata
If Err.Number <> 0 Then
Response.write "系统日常维护中!"
Response.End()
end if
end if
%>
然后里面包含的那个const.asp又是这样写的:
<!--#include file="ubb.asp"-->
<!--#include file="data.asp"-->
<%If IsObject(contt) = false Then
'if Application("citycss")="" or Application("citycss")<>"" then
On Error Resume Next
set contt = Server.CreateObject("ADODB.Connection")
contt.Open "driver={sql server};server=(local);uid=sa;pwd=sa;database=smt;"
If Err.Number <> 0 Then
Response.write "系统日常维护中!"
Response.End()
end if
'end if
SMT_citytime=now()
SMT_citydate=date()
大概是这样,里面内容有很多,我就贴了一点出来,
苦于asp才初学,不是太了解,在这请高手指教!!!