I have these error messages when I start MS-Access
application (has VBA
code).
When I click OK in the first error message and debug in the second, the debugger opens up and points to the line that says: "Set oServer = New SQLDMO.SQLServer
"
I realise that it's a problem with SQL-DMO, but can't seem to register the DLL.
My environment: Win7 Pro 64-bit
, Office 2010 64-bit
, MS SQL Server 2008 R2 SP2 64-bit
.
I downloaded the backwards compatibility package from Microsoft, ran the MSI
, and nothing.
Tried to manually install, and get error messages:
R6034
forC:\Windows\System32\regsvr32.exe
and when I click Ok --> The module "SQLDMO.DLL
" failed to load.Make sure the binary is stored at the specified path or debug it
... blah blah- When I try to register it from
C:\Windows\SysWOW64
, I get "The module "SQLDMO.DLL" may not (be) compatible with the version of Windows that you're running. Check if the module is compatible with....
I've checked the version of SQLDMO.DLL
and it is definitely 64-bit. I have located all the other DLLs that SQL-DMO needs and stored them in SysWOW64
and System32
.
I have run Office repair
, Windows Update
, SQL Server repair
(the log file indicates pass for everything for Client Tools Backwards Compatibility).
Any help is much appreciated. Thanks, Miki.