connecting to access 2007 database

V

v_fas

Here is my connection string and it returns COMException error: {"Not a valid
file name."}


db = DAODBEngine_definst.OpenDatabase(

"Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=C:\Temp\MyAccess2007.accdb;Persist Security Info=False;")

Here is what is contained partially in the detail --
System.Runtime.INterOpservices.COMException: {"Not a valid file name."}
Source: "DAO.Workspace"
Error Code: -2146825233
 
Top