vs 2017 works great but vs2022 gives 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

Jay O'Brien 71 Reputation points
2022-06-28T22:07:27.993+00:00

My VS 2017 apps work fine in debug mode. However, when I try it in VS2022 I receive 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. My desktop programs work in VS2022, just not my asp.net programs

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,578 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. SurferOnWww 1,906 Reputation points
    2022-06-28T23:16:59.553+00:00

    Are you trying to connect the VS2022 to the Access using the ACE? Please note that the VS2017 is 32-bit and VS2022 is 64-bit. The ACE has 32-bit and 64-bit versions which cannot co-exist in a PC. Your ACE is 32-bit if you could use it with the VS2017. Probably that's why.


  2. zanaty zanati 0 Reputation points
    2023-03-08T06:03:59.59+00:00

    Screenshot 2023-03-08 063158