logo
search
Update & Upgrade Problems

How to Fix Microsoft Access Error -3151 Salesforce ODBC Connection Failed

Aamir Naveed AkramAamir Naveed Akram Sep 28, 2026 869 views

Question details

Users need a solution to restore their Salesforce database connections in Microsoft Access after experiencing an ODBC failure.

Fixing Microsoft Access Error -3151: Salesforce ODBC Connection Failed
Product
Microsoft Access
Device & OS
not provided
Scenario
Attempting to access or refresh linked Salesforce tables in Microsoft Access after a Microsoft 365 update.
Observed behavior
The built-in Salesforce ODBC connector fails and displays Error -3151. Standard troubleshooting methods like refreshing links or checking security tokens do not resolve the issue.
Before you start

Before modifying your Office installation, ensure you save any open databases and keep your Microsoft 365 account credentials handy, as applying updates or rolling back versions will require restarting the application.

Solution 1Recommended

Update Microsoft 365 to the Latest Version

Microsoft has released a patch for the Salesforce ODBC connector issue. Updating to Current Channel version 2408 (build 17928.20156) or later is the official fix.

Applying the latest Microsoft 365 update is the most straightforward and secure way to resolve Error -3151 without needing to use command-line tools.

1
Open Account Settings

Launch Microsoft Access or any other Office application. Click on 'File' in the top-left corner and select 'Account' from the side menu.

2
Check for Updates

Under the 'Product Information' section, locate and click the 'Update Options' drop-down button.

3
Apply the Update

Select 'Update Now' from the menu. Wait for Microsoft 365 to download and install the latest Current Channel version (build 17928.20156 or higher). Once completed, restart Microsoft Access and test your Salesforce connection.

Update Microsoft 365 to the Latest Version
Update Availability: If the update says you are already on the latest version but your build is older than 17928.20156, your organization may be managing your update channel. In this case, proceed to the rollback solution.
Free Microsoft Office alternative

Looking for a Lightweight, Bug-Free Office Alternative?

While Microsoft Access manages complex database connections, routine tasks like spreadsheet tracking, document editing, and presentations don't have to rely on heavy, update-prone software. WPS Office provides a stable, highly compatible, and completely free alternative to Microsoft Office.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button.
  2. 2. Install WPS Office: Run the downloaded executable file and follow the on-screen instructions to complete the setup.
  3. 3. Open and Edit: Launch WPS Office to immediately start creating or editing your documents, spreadsheets, and presentations.
Excellent compatibility with standard Microsoft Office formats (.xlsx, .docx, .pptx).Lightweight installation that avoids system-draining automatic updates.Familiar user interface for seamless migration without a learning curve.Free built-in PDF editing and format conversion tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why am I suddenly getting Error -3151 when connecting to Salesforce?

This error is caused by a known bug introduced in the Microsoft 365 Version 2406 update. It specifically impacts the built-in Microsoft Access Salesforce ODBC connector, breaking active database links.

Will refreshing my linked tables fix the ODBC connection failure?

No. Standard troubleshooting methods, such as refreshing linked tables, reimporting your tables, or verifying your Salesforce token, will not bypass this error. A software update or rollback is required.

How do I stop Microsoft 365 from automatically reinstalling the broken version?

If you choose to temporarily roll back your Office version to fix the error, you must stop automatic updates. Open any Office application, go to File > Account, click on 'Update Options', and select 'Disable Updates'.