Hi Guys
I have an application that was working perfectly until last night. All of a sudden, it has stopped and I am getting the following error:
Active Server Pages error 'ASP 0241'
CreateObject Exception
/bman/main.asp
The CreateObject of '(null)' caused exception C0000005.
Server object error 'ASP 0177 : c0000005'
Server.CreateObject Failed
/bman/includes/opendb.asp, line 2
c0000005
The code is dead simple as you can see (I have only put in the first few lines)
<%
Set cn = Server.CreateObject("ADODB.Connection")
cs = Server.MapPath("/bman/budget2002.mdb")
'dsn = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & cs
dsn = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & cs
'dsn = "BudgetManager"
cn.Mode = 3
The system fails on the Set cn = Server.CreateObject line. I am running this on a Win2K PC and accessing from Win XP machines. I reckon something has happened with IIS but am unable to determine what or how to fix it. Any help would be appreciated.
I have an application that was working perfectly until last night. All of a sudden, it has stopped and I am getting the following error:
Active Server Pages error 'ASP 0241'
CreateObject Exception
/bman/main.asp
The CreateObject of '(null)' caused exception C0000005.
Server object error 'ASP 0177 : c0000005'
Server.CreateObject Failed
/bman/includes/opendb.asp, line 2
c0000005
The code is dead simple as you can see (I have only put in the first few lines)
<%
Set cn = Server.CreateObject("ADODB.Connection")
cs = Server.MapPath("/bman/budget2002.mdb")
'dsn = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & cs
dsn = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & cs
'dsn = "BudgetManager"
cn.Mode = 3
The system fails on the Set cn = Server.CreateObject line. I am running this on a Win2K PC and accessing from Win XP machines. I reckon something has happened with IIS but am unable to determine what or how to fix it. Any help would be appreciated.