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

Jay O'Brien 41 Reputation points

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.
2,442 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SurferOnWww 711 Reputation points

    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.