logo
search
Others

How to Fix Access Pass-Through Query Error 3305 Invalid Connection String

Khadija KhanKhadija Khan Oct 7, 2026 868 views

Question details

Users encounter error 3305 regarding an invalid connection string when executing VBA pass-through queries in Access.

Fixing Access Pass-Through Query Error 3305 (Invalid Connection String)
Product
Microsoft Access
Device & OS
Windows
Scenario
Executing a VBA pass-through query that relies on an ODBC connection string after installing a recent system update.
Observed behavior
The database returns Error 3305 'Invalid Connection String', and the query fails even when the connection string is directly supplied.
Before you start

Verify your current Microsoft Access version, build number, and update channel by navigating to File > Account before attempting to apply any updates.

Solution 1Recommended

Update Microsoft 365 to the Latest Channel Release

This error is linked to a known bug introduced in a previous update. Installing the latest patch from the Current Channel will resolve the issue automatically.

Microsoft has acknowledged this bug affecting VBA pass-through queries and ODBC connection parsing. A permanent fix has already been rolled out to users on the Current Channel.

1
Open Account Settings

Launch Microsoft Access, click on 'File' in the top-left corner, and select 'Account' from the menu.

2
Check for Updates

Under the Product Information section, click on the 'Update Options' dropdown menu.

3
Apply Updates

Select 'Update Now'. Allow Microsoft 365 to download and install the latest patches.

4
Restart Access

Once the update is complete, close and restart Microsoft Access, then run your VBA pass-through query again.

Update Microsoft 365 to the Latest Channel Release
Automatic Updates: Ensuring your Microsoft 365 installation is set to update automatically can prevent similar known bugs from affecting your workflow in the future.
Free Microsoft Office alternative

Looking for a Stable, Lightweight Alternative to Microsoft Office?

While WPS Office does not feature a direct clone of Microsoft Access, it provides a highly compatible, free, and lightweight suite for your Word, Excel, and PowerPoint documents. If you are frustrated by frequent bugs in Microsoft 365 updates, WPS Office is an excellent, reliable alternative for your daily productivity needs.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for Windows.
  2. 2. Install WPS Office: Run the downloaded executable file and follow the simple on-screen instructions.
  3. 3. Open Your Files: Launch WPS Office and seamlessly open your existing Word, Excel, and PowerPoint documents.
Fully compatible with Microsoft Office formats (DOCX, XLSX, PPTX)Free and lightweight alternative to Microsoft 365Familiar user interface requires no learning curveStable performance without disruptive automatic background updates
microsoft office alternative - wps office

Frequently Asked Questions

Why did my VBA pass-through query suddenly stop working?

A specific Windows and Microsoft 365 update introduced a bug that affects how Access processes ODBC connection strings in DAO, leading to Error 3305.

How do I check my Microsoft Access update channel?

Open Access, click on 'File', navigate to 'Account', and look under the 'About Access' section to see your version, build number, and current update channel.

Can a missing semicolon cause Error 3305?

Yes, ODBC connection strings require precise formatting. A missing semicolon between parameters will cause Access to misinterpret the string and return an invalid connection string error.