logo
search
Others

How to Fix Microsoft Access Runtime Error 3024 When Connecting to SQL Server

Olivia MillerOlivia Miller Oct 12, 2026 868 views

Question details

The user needs to resolve runtime error 3024 in Microsoft Access occurring during an attempted connection to a SQL Server database.

How to Fix Microsoft Access Runtime Error 3024 When Connecting to SQL Server
Product
Microsoft Access, SQL Server
Device & OS
not provided
Scenario
Connecting a Microsoft Access database or frontend application to a SQL Server backend.
Observed behavior
Microsoft Access throws runtime error 3024 (typically 'File not found'), even though the exact same database connection works successfully in Visual Studio.
Before you start

Ensure you have documented the exact versions of Microsoft Access and SQL Server you are using, and verify that you have the necessary administrative privileges to check ODBC data sources and database connection strings.

Solution 1Recommended

Verify Connection Strings and Relink Tables

Error 3024 generally means Access cannot find a required file or database. Updating the connection string or relinking your SQL Server tables usually resolves the missing path issue.

Microsoft Access heavily relies on accurate file paths and ODBC connection strings for linked tables. If a database was moved or the connection string contains an error, Access will fail to locate the SQL Server backend, whereas Visual Studio might be using a completely different connection configuration.

1
Open Linked Table Manager

Launch Microsoft Access, navigate to the 'External Data' tab on the ribbon, and click on 'Linked Table Manager'.

2
Select the SQL Server Tables

In the Linked Table Manager window, select the checkboxes next to the tables that are linked to your SQL Server database.

3
Refresh Links and Update Connection

Check the box that says 'Always prompt for new location' at the bottom, then click 'OK'. When prompted, select or create the correct Machine/System Data Source (DSN) pointing to your SQL Server.

4
Verify Database Name

During the ODBC setup, ensure the default database selected exactly matches the name of your SQL Server database.

Verify Connection Strings and Relink Tables
Verify Exact Product Versions: Always check your specific software versions. Non-existent versions like 'SQL Server 2026' or 'Access 2022' mentioned in error logs or forums often point to underlying typos in connection strings or mismatched runtime components.
Free Microsoft Office alternative

Discover WPS Office as a Lightweight Alternative

While Microsoft Access is used for complex SQL Server database management, WPS Office provides a free, lightweight, and highly compatible alternative for your daily document, spreadsheet, and presentation needs. Enjoy a familiar interface and seamless migration without expensive subscriptions.

Fully compatible with Microsoft Office file formats (.docx, .xlsx, .pptx).Lightweight installation with extremely low system resource consumption.Familiar tabbed user interface ensuring a zero-learning-curve transition.Built-in PDF editing, conversion tools, and versatile document management.
microsoft office alternative - wps office

Frequently Asked Questions

What does Runtime Error 3024 mean in Microsoft Access?

Runtime Error 3024 is a 'File not found' error. In the context of connecting to a SQL Server, it usually indicates that Access cannot find the linked database file, the required ODBC Data Source Name (DSN) does not exist, or the connection string is pointing to an invalid path.

Why does my SQL Server connection work in Visual Studio but fail in Access?

Visual Studio often uses native ADO.NET providers or entirely different connection strings configured in code. Microsoft Access typically relies on ODBC drivers. If the necessary ODBC driver is missing, misconfigured, or has a bitness mismatch (e.g., 32-bit Access trying to use a 64-bit driver), Access will fail even though Visual Studio succeeds.

How do I fix a missing ODBC Data Source for Microsoft Access?

You need to open the Windows ODBC Data Source Administrator tool that matches the bitness of your Microsoft Access installation (32-bit or 64-bit). From there, you can add a new User or System DSN using the correct SQL Server driver, which Access can then use to establish the connection.