Hi
I am just starting with asp, and have already figured out quite a few stumbling blocks along the way. I am very sure this is something really stupid but I just cannot figure it out.
The problem I have now really has me baffled.
When I want to view my asp page, the browser just sits there and looks like it is loading, but nothing is happening. I have checked my connections strings, one using dsn and one dsn-less, but I am pretty sure the connection string is correct.
Here are the connection strings:
Using dsn:
Dim MM_eOrganiser_STRING
MM_eOrganiser_STRING = "dsn=eOrganiser"
...
Function OpenDB()
Dim cnDB 'As ADODB.Connection
Set cnDB = Server.CreateObject("ADODB.Connection"
cnDB.ConnectionString = MM_eOrganiser_STRING
cnDB.Open
Set OpenDB = cnDB
End Function
Dsn-less:
Dim MM_eOrganiser_STRING
MM_eOrganiser_STRING = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\systemdb\eOrganiser.mdb"
...
Function OpenDB()
Dim cnDB 'As ADODB.Connection
Set cnDB = Server.CreateObject("ADODB.Connection"
cnDB.ConnectionString = MM_eOrganiser_STRING
cnDB.Open
Set OpenDB = cnDB
End Function
Any help would be greatly appreciated. If it is not the connection, then what can cause it?
I am just starting with asp, and have already figured out quite a few stumbling blocks along the way. I am very sure this is something really stupid but I just cannot figure it out.
The problem I have now really has me baffled.
When I want to view my asp page, the browser just sits there and looks like it is loading, but nothing is happening. I have checked my connections strings, one using dsn and one dsn-less, but I am pretty sure the connection string is correct.
Here are the connection strings:
Using dsn:
Dim MM_eOrganiser_STRING
MM_eOrganiser_STRING = "dsn=eOrganiser"
...
Function OpenDB()
Dim cnDB 'As ADODB.Connection
Set cnDB = Server.CreateObject("ADODB.Connection"
cnDB.ConnectionString = MM_eOrganiser_STRING
cnDB.Open
Set OpenDB = cnDB
End Function
Dsn-less:
Dim MM_eOrganiser_STRING
MM_eOrganiser_STRING = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\systemdb\eOrganiser.mdb"
...
Function OpenDB()
Dim cnDB 'As ADODB.Connection
Set cnDB = Server.CreateObject("ADODB.Connection"
cnDB.ConnectionString = MM_eOrganiser_STRING
cnDB.Open
Set OpenDB = cnDB
End Function
Any help would be greatly appreciated. If it is not the connection, then what can cause it?