比较小的狗的品种可爱:求助:c0000005 是什么错误?
来源:百度文库 编辑:高考问答 时间:2024/06/13 12:56:52
我做的网站,在本地测试的时候都没问题。为什么一放到空间上运行了一段时间后就出现以下的错误?
Active Server Pages 错误 'ASP 0241'
CreateObject 异常
/eng/product_list.asp
'(null)' 的 CreateObject 方法产生了异常 C0000005。
Server 对象 错误 'ASP 0177 : c0000005'
Server.CreateObject 失败
/eng/conn/conn.asp,行 6
c0000005
我的数据库是这样连接的:
<%
'On error resume next
Dim Conn,Dbpath
Dbpath = Server.Mappath("data/data.mdb")
'Response.Write dbpath
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open "driver={microsoft access driver (*.mdb)};dbq=" & Dbpath
Set Rs = Server.Createobject("Adodb.Recordset")
'function siftCode(code)
'siftCode=replace(code,";","h")
'siftCode=replace(siftCode,"'","`")
'end function
Function getModelID(ModelName)
Sql="SELECT Type_ID FROM Text_Type WHERE Type_Eng_name='"&ModelName&"'"
Set Rs=Conn.Execute(Sql)
If Rs.Eof Then
getModelID=0
Else
getModelID=Rs("Type_ID")
End if
Rs.Close
End function
Function gettModelID(ModelName)
Sql="SELECT Product_Type_ID FROM Product_Type WHERE Product_Eng_name='"&ModelName&"'"
Set Rs=Conn.Execute(Sql)
If Rs.Eof Then
gettModelID=0
Else
gettModelID=Rs("Product_Type_ID")
End if
Rs.Close
End function
%>
高手帮忙啊。
Active Server Pages 错误 'ASP 0241'
CreateObject 异常
/eng/product_list.asp
'(null)' 的 CreateObject 方法产生了异常 C0000005。
Server 对象 错误 'ASP 0177 : c0000005'
Server.CreateObject 失败
/eng/conn/conn.asp,行 6
c0000005
我的数据库是这样连接的:
<%
'On error resume next
Dim Conn,Dbpath
Dbpath = Server.Mappath("data/data.mdb")
'Response.Write dbpath
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open "driver={microsoft access driver (*.mdb)};dbq=" & Dbpath
Set Rs = Server.Createobject("Adodb.Recordset")
'function siftCode(code)
'siftCode=replace(code,";","h")
'siftCode=replace(siftCode,"'","`")
'end function
Function getModelID(ModelName)
Sql="SELECT Type_ID FROM Text_Type WHERE Type_Eng_name='"&ModelName&"'"
Set Rs=Conn.Execute(Sql)
If Rs.Eof Then
getModelID=0
Else
getModelID=Rs("Type_ID")
End if
Rs.Close
End function
Function gettModelID(ModelName)
Sql="SELECT Product_Type_ID FROM Product_Type WHERE Product_Eng_name='"&ModelName&"'"
Set Rs=Conn.Execute(Sql)
If Rs.Eof Then
gettModelID=0
Else
gettModelID=Rs("Product_Type_ID")
End if
Rs.Close
End function
%>
高手帮忙啊。
内存错误
求助:c0000005 是什么错误?
c0000005 访问错误
c0000005
求助: oxFF624020 是什么错误??
VFP 中“致命错误=c0000005”代表什么意思
Unhand exception:c0000005 Ataddress:00652f80是什么问题 如何处理?
我的电脑重启后报告错误,"BCCode : 1000008e BCP1 : C0000005 BCP2 : BF82758E BCP3 : EF2A5A20..
0×c0000005
unhandled exception access_violation(c0000005)
VFP 错误代码 c0000005