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.
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.
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
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.
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