When refreshing data from within Power BI, if you are getting the following error:
The provider 'Microsoft.PowerBI.OleDb' is not registered. The following system error occurred: Class not registered A connection could not be made to the data source with the Name of 'DATABASE_NAME'.
Sometimes, while trying to connect with a 32-bit access database from Power BI-64bit Dekstop, you may encounter not registered error. The error can occur with different messages depending on the user. The Power Bi error the provider is not registered can also occur when refreshing on services.
Solution #1
Install the 64-bit version of the Microsoft Access Database Engine
If the error specifically states issues with the Microsoft Access Database Engine 2010 and asks you to install the 64-bit version of the software, then do the following.
Go to Microsoft Access Database Engine 2010 Redistributable page.
Select the language and click the Download button.
Install the software on the machine where Power Bi is installed.
After the software is installed, try to connect access DB from the Power BI desktop. Check if installing the 64-bit version of the software has resolved the error.
Solution #2
Delete and recreate Shortcut
Try to delete the Power Bi shortcut from the desktop.
Now create a new shortcut from the Start screen for the Desktop.
Or simply try to open the Power Bi app from the start screen.
This issue can occur if Power Bi is failing to create cached folders inside the temp directory.
Solution #3
Uninstall and Reinstall Power Bi Desktop
If the issue persists, you may try to uninstall and reinstall Power Bi on your computer.
Press Windows Key + R to open Run.
Type control and click OK to open the Control Panel.
Go to Programs > Programs and Features.
Select and uninstall Power Bi app.
Now go to Power Bi download page and download the latest version.
Install the app and check if the not registered Power Bi error is resolved.