How to Fix Access OLE Server or ActiveX Error After Moving to Windows 11
Question details
Users encounter an OLE server or ActiveX control error in Microsoft Access after upgrading the operating system.

- Product
- Microsoft Access
- Device & OS
- Windows 11
- Scenario
- Clicking a command button in an Access database that previously worked perfectly on Windows 10.
- Observed behavior
- The application throws an error referencing an OLE server, ActiveX controls, macros, user-defined functions, or event procedures, preventing the command button from functioning.
Ensure you have administrative privileges on your Windows 11 computer, as you may need to modify Microsoft Access Trust Center and security configurations.
Configure ActiveX and Macro Settings in Trust Center
Adjusting the Trust Center settings can resolve security blocks on ActiveX controls and macros triggered by the stricter defaults in Windows 11.
Windows 11 often resets or applies stricter security protocols to Office applications. If the VBA references match between your old and new PCs but the error persists, updating the Trust Center settings is the most effective fix.
Launch Microsoft Access, click on 'File' in the top-left corner, select 'Options', and then navigate to the 'Trust Center' tab.
Click the 'Trust Center Settings...' button to open the detailed security configuration window.
Select 'ActiveX Settings' from the left pane. Choose 'Prompt me before enabling all controls with minimal restrictions' and click 'OK'.
Navigate to 'Macro Settings' and select 'Enable all macros' (if the database is from a trusted source). Then, go to 'Trusted Locations', add the folder containing your database, and restart Access.

Verify and Repair VBA References
Ensure that all required object libraries are properly linked and not marked as missing in the VBA editor.
Looking for a Lighter, Hassle-Free Office Suite?
While Microsoft Access handles complex databases, dealing with OS compatibility issues for your daily documents, spreadsheets, and presentations can be frustrating. WPS Office offers a seamless, highly compatible alternative for handling standard Office files without the headache of migration errors.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button for Windows.
- 2. Run the Setup: Open the downloaded executable file and follow the lightweight installation wizard.
- 3. Start Creating: Launch WPS Office to instantly open and edit your existing Word, Excel, and PowerPoint files without formatting loss.

Frequently Asked Questions
Why does this ActiveX error only happen on Windows 11?
Windows 11 introduces updated security protocols and stricter default settings for Office applications. This can block older ActiveX controls or macros that executed without issue on Windows 10 until you explicitly trust them.
Will reinstalling Microsoft Office fix the OLE Server error?
Not necessarily. A reinstall might reset some basic configurations, but security-blocked controls usually require manual adjustments to the Access Trust Center settings and VBA references.
What if the ActiveX control is not listed in the VBA References?
ActiveX is a general technology category and will not appear directly as 'ActiveX' in the references list. You should look for specific .ocx or .dll files related to the control you are using, or resolve the issue via Trust Center.
How do I add a Trusted Location in Access?
Go to File > Options > Trust Center > Trust Center Settings > Trusted Locations. Click 'Add new location', browse to the folder containing your database, check 'Subfolders of this location are also trusted', and click OK.




