0

I have installed https://www.microsoft.com/en-us/download/details.aspx?id=13255 Still same problem.

While reading .mdb file error occured Microsoft.Jet.oledb 4.0 is not registered on local machine.

Runnnig website on IIS server.

Himanshu Suthar
  • 161
  • 1
  • 5
  • 19
  • install both x86 and x64 bit of runtime – mjb Feb 10 '17 at 04:21
  • Can you please send me link of runtime for Office 2013 both x86 and x64. – Himanshu Suthar Feb 10 '17 at 04:41
  • you already have the link in your question (Microsoft Access Database Engine 2010 Redistributable), after u press the [Download] button, the page will pop another box for u to choose both x86 and x64, you may download both, and install both. – mjb Feb 10 '17 at 08:07
  • Possible duplicate of [Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine](http://stackoverflow.com/questions/1991643/microsoft-jet-oledb-4-0-provider-is-not-registered-on-the-local-machine) – Ken White Feb 10 '17 at 22:52

3 Answers3

3

open IIS , Go To application pool of your website. Select Advance Settings , There will be one option : Enable 32 Bit ( second option) , It will start working

  • But I have used some DLL that build on 64 bit so if I set App Pool setting Enable 32-bit Applications to true then its create problem for dll. – Himanshu Suthar Feb 10 '17 at 06:21
0

Do you have the 64-bit drier installed? Both?

Also double check your IIS App Pool settings, to be sure you're running the correct 32-bit vs 64-bit settings there.

Andrew Arace
  • 457
  • 4
  • 11
  • Yes I have installed 64 bit Office Redistributable. But I have used some DLL that build on 64 bit so if I set App Pool setting Enable 32-bit Applications to true then its create problem for dll. – Himanshu Suthar Feb 10 '17 at 04:38
0

Answer from @Iqbal

change the provider to “Provider=Microsoft.ACE.OLEDB.12.0;” in connection string

Only change I had to do.

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

doterik
  • 96
  • 2
  • 4