Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8879933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:03:43+00:00 2026-06-14T20:03:43+00:00

I have these error messages when I start MS-Access application (has VBA code). When

  • 0

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:

  1. R6034 for C:\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
  2. 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T20:03:43+00:00Added an answer on June 14, 2026 at 8:03 pm

    Not sure how I’ve managed to, but have (somehow) managed to register the 64-bit SQLDMO.DLL (before it didn’t really register it) and then in my VBA code–> Tools –> References… I tried to load the SQLDMO.DLL from the 64-bit folder.
    At first, it didn’t work, and then I placed a copy of the DLL in SysWOW64 (which is a 32-bit folder) and registered it from there (once it was registered, apparently, the system doesn’t need it there anymore – I removed it, and it still works).
    I then tried to figure how come it works. I checked in the Reference Table in the VBA Code, and the Microsoft SQLDMO Object Library is still pointing to C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn, but when I removed SQLDMO.DLL from there it still worked… I then looked in C:\Program Files\Microsoft SQL Server\80\Tools\Binn and removed SQLDMO.DLL from there and then it stopped working!
    I have no idea what happened, or why the reference table is saying it’s pointing to one folder but actually pointing to a different one, or how after the same tries before, only now it works.
    I’d like to be able to replicate this (in case I need to go through this process again), so any ideas/suggestions would be greatly appreciated.
    Thanks, Miki.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Started practicing with XML and C# and I have an error message of There
There's probably a silly error in my code. I have defined the following variables:
I have these 3 tables: and I'm using this code to join them together
I have a Visual Studio 2010 Windows Forms application in which I start a
I have a window application which tries to connect a MS Access file which
I inherited an Access application that I have made some changes to. When I
I have these weird linking errors in iOS. Can someone explain them and how
I have found plenty of information out there about this error: 'ERROR: Could not
now I have been at this for a while and there is an error
I have configured a SMTP appender to send an email whenever there's an error.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.