Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am working on a windows application with Ms access database(.mdb) and Visual Studio 2012,when first time i run the application error occurred says :

"microsoft.jet.oledb.4.0 is not registered in the local machine"

After seeing all previous post i resolved this error by make a change from AnyCpu to X86,then its working fine when i run in Visual studio .....

But..Now i created a setup and when i run the setup then same error occurred here on the developer PC.

PC configuration :

Windows 8,VS2012,64bit



Please let me know what to do here.
Posted
Comments
Richard MacCutchan 5-Jul-13 4:18am    
Have you installed Jet on the target system?
nehas1jan 5-Jul-13 4:34am    
I dont think so,i have MS Office only and i have installed Microsoft Access Database Engine 2010 Redistributable.

Let me know from where i can install Jet??
Richard MacCutchan 5-Jul-13 5:34am    
You don't think so? Maybe it would be an idea to check first. If you want the latest version then you need to get it from Microsoft.
nehas1jan 5-Jul-13 6:11am    
Please elaborate more ..!!
Richard MacCutchan 5-Jul-13 6:13am    
What do you mean "elaborate"; what more information are you looking for?

1 solution

Have a look at similar question: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine[^] (solution 1).

[EDIT #1}
Interesting solution is here: Microsoft.ACE.OLEDB.12.0 Provider can no longer open .mdb under Windows 8[^]. It might be helpful ;)

Other interesting articles:
HOW TO: FIX ERROR - "the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine[^]

How to get a x64 version of Jet?[^]

If above links are useless in your case, try to create setup project using alternative software, like: Inno Setup[^]
More free tools: Best Free Setup Builder[^]
 
Share this answer
 
v2
Comments
nehas1jan 6-Jul-13 3:43am    
I'v tried it before but not useful for me ,, because when i tried to install Ms office 2010 redistributeable 32bit after installation no effect generated on my application i mean error is same..but when i install 64 bit error occurred that my office is 32 bit and this installation can not be done in 64bit.
Maciej Los 6-Jul-13 8:31am    
Interesting...
Have you tried solution3 from above link (manually register dll's)?
nehas1jan 6-Jul-13 8:53am    
Hi,

You are right i tried,i changed the connection string "Provider=Microsoft.ACE.OLEDB.12.0;" but when i run that in my PC(64bit)same error(question Title)
Maciej Los 6-Jul-13 8:59am    
Do not change connection string, try to manually register dll's for OLEDB 4.0 ;)
nehas1jan 6-Jul-13 9:12am    
Oh yes, i tried error occure..

"Msjetoledb40.dll failled to load,make sure that binary is stored in specified path or debug it to check for problems or binary or dependent.dll files.The specified module could not found."

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900