Another potential cause for this error is Sandbox Mode, which prevents MS Access from running certain statements that are considered unsafe. This can be disabled by setting the following registry key...
HKLM\Software\Microsoft\Office\12.0\Access Connectivity Engine\Engines
SandboxMode (DWORD Value)
...to either 0 or 2:
SETTING DESCRIPTION
0 Sandbox mode is disabled at all times.
1 Sandbox mode is used for Access, but not for non-Access programs.
2 Sandbox mode is used for non-Access programs, but not for Access.
3 Sandbox mode is used at all times. This is the default value.