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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top