Solved

CONNECTION STRING ACCESS (MDB) WIN 7 64 BIT

Posted on 2013-01-02
6
866 Views
Last Modified: 2013-01-02
Hi All,

I try to access mdb (access database) from application:

1. I have install AccessDatabaseEngine.exe
2. I have install AccessDatabaseEngine_x64.exe

I use connection string :

1.  "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & mdlGlobal.strDataAbsensiPath
2.   "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & mdlGlobal.strDataAbsensiPath

Both failed.

What should I do ?

Thank you.
0
Comment
Question by:emi_sastra
  • 3
  • 3
6 Comments
 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 38739091
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 38739097
Hi  pratima_mcs,

Still not found the solution.

Thank you.
0
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 500 total points
ID: 38739100
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:emi_sastra
ID: 38739101
The message is :

"The Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.

"The Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

Thank you.
0
 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 38739108
0
 
LVL 1

Author Closing Comment

by:emi_sastra
ID: 38739120
Great.

It solved with :

in the properties of your VB application, go to advanced compile options and choose CPU target: x86

Thank you very much for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now