Error:
Run-time error 3709: The connection cannot be used to perform this operation. It is either closed or invalid in this context.
Snapshot:
Workaround 1: Unregister and Re-register the DAO350.dll using Regsvr32.
- Open Command prompt as Administrator
- Type Regsvr32 /u “C:\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL”.
- Click enter to unregister.
- Type Regsvr32 /u “C:\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL”.
- Click enter to register it.
Workaround 2: Run the application always as administrator.
Right click the Application shortcut and Go to Properties set Run as Administrator.