Solved

CONNECTION STRING ACCESS (MDB) WIN 7 64 BIT

Posted on 2013-01-02
6
888 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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