Hello,
I am attempting to have a .vbs file on the server connect to an Access database on that same server. I use the same connection script in my classic .asp pages and it works fine. But when I click on the .vbs file (on the server), I get this:
Script:
C:\website\myvbsfile.vbs
Line: 42
[Microsoft][ODBC Driver Manager]Data Source Name not found and no default driver specified
Code: 80004005 Source: Microsoft OLE DB Provider for ODBC Drivers
'here is the connection vbscript in the .vbs file:Dim objConn
Set objConn = CreateObject("ADODB.Connection")
objConn.ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};" & _
"DBQ=c:/databases/mydb.mdb"
objConn.Open 'line 42
My Settings:
Enable 32-bit Applications is set to True. I would like to attempt to connect with a system DSN, but the System DSN tab of the ODBC Data Source Administrator shows no system data sources. If I click the Add button, the Create New Data Source dialog only shows a SQL Server driver. The Drivers tab shows only the SQL Server Driver. However, the USER DSN tab DOES show the Microsoft Access Driver.
Any Ideas?