Fix Microsoft Access Error 2114 When Loading an Image via VBA
Question details
The user is experiencing intermittent Microsoft Access Error 2114 when using VBA to load a small image from a mapped or AWS-hosted drive.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Loading a bitmap image (.bmp) into an Access form via VBA from a network or AWS-hosted mapped drive (such as an A: drive).
- Observed behavior
- Access throws Error 2114 intermittently, failing to load the image onto the form despite the code having worked previously and the image file being small.
Before troubleshooting, ensure that your network connection is stable and that you can manually browse to the image file's directory through Windows File Explorer without experiencing any delays.
Verify Network Drive Mapping and Update Access Paths
Intermittent failures often occur due to mapped network drives (like A:) disconnecting or becoming temporarily unavailable in AWS environments.
In many AWS or network-hosted database environments, mapped drive letters can intermittently disconnect due to network latency or session policies. When VBA tries to load an image during these micro-disconnects, Access cannot find the file and throws Error 2114.
Open Windows File Explorer and verify that the mapped drive containing the image is currently connected and accessible. Double-click the drive to ensure it prompts no authentication errors.
Instead of relying on a mapped drive letter in your VBA code (e.g., A:\Prod\Applications\DB\Archive\DB Front End\Logo.bmp), update the path string to use the absolute Universal Naming Convention (UNC) path (e.g., \\ServerName\Prod\...). This bypasses the reliance on mapped drive letters.
Right-click the folder hosting the image, select 'Properties', and navigate to the 'Security' tab. Confirm that the user group running the Access database has full 'Read' and 'Execute' permissions.

Check Image Format and File Integrity
Ensure the image file itself is not corrupted and is in a format natively supported by MS Access.
Need a Reliable Office Suite? Try WPS Office
While WPS Office does not natively handle Access database files, it is a comprehensive, free, and lightweight alternative to Microsoft Office for all your documents, spreadsheets, and presentations. Enjoy seamless compatibility and an intuitive interface without the heavy subscription fees.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to set up the suite on your device.
- 3. Open Your Documents: Launch WPS Office and instantly open, edit, and save your existing .docx, .xlsx, and .pptx files with zero format loss.

Frequently Asked Questions
What does Microsoft Access Error 2114 mean?
Access Error 2114 typically means that MS Access doesn't support the format of the file you are trying to load, or the file is too large. However, when working with VBA and network drives, it frequently acts as a generic error indicating the file path is unavailable or the drive mapping has dropped.
Why does Error 2114 happen intermittently on AWS-hosted drives?
Network latency, temporary drops in AWS drive mappings, or restricted access policies can cause VBA to temporarily lose connection to the file path. When the VBA code attempts to assign the image to the form during these micro-drops, Error 2114 is triggered.
Does changing a mapped drive letter to a UNC path fix VBA image errors?
Yes, in many cases. Mapped drive letters depend on the user's specific Windows session and can disconnect. Using a Universal Naming Convention (UNC) path provides a direct, reliable network route that VBA can resolve consistently regardless of drive mapping status.




