Link to home
Create AccountLog in
.NET Programming

.NET Programming

--

Questions

--

Followers

Top Experts

Avatar of Anand Majmundar
Anand Majmundar🇮🇳

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

Upgraded a working . NET 3.5 website on shared hosting to .NET 4.5 VPS. Getting the following error:


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







Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of gr8gonzogr8gonzo🇺🇸

This usually happens when you have 64-bit code that tries to access an Access database but you haven't installed the 64-bit Access drivers (or there is otherwise some mismatch). It's not the only possibility but the most common one, so first just download and install the redistributable from Microsoft:


https://www.microsoft.com/en-us/download/details.aspx?id=13255


You should get a 32-bit driver and a 64-bit one so make sure you install the one that matches the bitness of your website code.


Avatar of Anand MajmundarAnand Majmundar🇮🇳

ASKER

Thank you.

Meanwhile, my Web.Config has the following:

  <connectionStrings>
    <remove name="LocalSqlServer" />
    <remove name="LocalSqlServer" />
    <add name="LocalSqlServer" providerName="System.Data.SqlClient" connectionString="data source=103.133.214.169,1433;Initial Catalog=MyDB;Integrated Security=False;User=MyUsr;Password=MyPW" />
    <remove name="LocalMySqlServer" />
  </connectionStrings>

This worked fine in .NET 3.5 Shared Hosting. Now I am in .NET 4.5 VPS.

Any comments here?


ASKER CERTIFIED SOLUTION
Avatar of gr8gonzogr8gonzo🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

SOLUTION
Avatar of Jim Dettman (EE MVE)Jim Dettman (EE MVE)🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

.NET Programming

.NET Programming

--

Questions

--

Followers

Top Experts

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.