I am trying to connect a form in which I created to a database. I am doing this by sending the form data to a .asp page and having the .asp page display and then create a new entry in the database. I have the ODBC resource created on our intranet server. The resource is named FolderRequests. I have created the connection string but get an error and can not figure out what the problem is. I am a newbie to this still. The connection string I have and the error are below. Any help would be appreciated.
-----------------------------------------------------------
39 Dim objConn
40
41 'Create a connection to the database
42 Set objConn = Server.CreateObject("ADODB.Connection"
43
44 'Open the connection
45 objConn.Open "DSN=FolderRequests","",""
--> I have also tried with
objConn.Open "DSN=FolderRequests"
-----------------------------------------------------------
The error I get is
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/dds/DDS_Organized/MAI Output.asp, line 45
-----------------------------------------------------------
The database is an Access 2000 database with only 1 table named MAIReq. The Database itself is called FolderRequest.mdb. I don't think that the resource itself is the problem since it was created the same way that all of our other resources have been which are working properly.
Thanks
Russ
-----------------------------------------------------------
39 Dim objConn
40
41 'Create a connection to the database
42 Set objConn = Server.CreateObject("ADODB.Connection"
43
44 'Open the connection
45 objConn.Open "DSN=FolderRequests","",""
--> I have also tried with
objConn.Open "DSN=FolderRequests"
-----------------------------------------------------------
The error I get is
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/dds/DDS_Organized/MAI Output.asp, line 45
-----------------------------------------------------------
The database is an Access 2000 database with only 1 table named MAIReq. The Database itself is called FolderRequest.mdb. I don't think that the resource itself is the problem since it was created the same way that all of our other resources have been which are working properly.
Thanks
Russ