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
Solved

CONNECTION STRING ACCESS (MDB) WIN 7 64 BIT

Posted on 2013-01-02
6
878 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 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