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

  • Home
  • SEARCH
  • 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 7686733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:32:47+00:00 2026-05-31T19:32:47+00:00

I have an application that uses the MS Access 2003 front end to connect

  • 0

I have an application that uses the MS Access 2003 front end to connect to both a MS SQL and a Sybase database. This application uses VBA (Visual Basic 6) and this cannot be changed. We are in the midst of a conversion from Windows XP (where the application runs fine) to Windows 7.

On Windows 7, attempts to connect to the Sybase databsae fail. The application uses a pass through query and when the failure occurs, I receive the following message:

An unexpected error occurred in Call_SP.
Error number: 48
Error description: Error in loading DLL
Error source: Secure open security

The particular line of code where this is throwing the error is:

For Each qryDef In dbLocal.QueryDefs

The items in this line of code are defined like this:

Dim dbLocal As Database
Dim qryDef As QueryDef

Set dbLocal = CurrentDb()

When originally launching the application, there was a missing reference for Microsoft DAO 3.6 Object Library. I copied the dao360.dll file to C:\Program Files (x86)\Common Files\Microsoft Shared\DAO, registered it using regsvr32.exe, and set the reference (Tools -> References) to this file.

At this point, I suspect the problem may have something to do with user rights on this machine, but I’m stuck on where to start. Users do have “read and execute” rights on the dao360.dll file.

We have a lot of legacy apps written in Access, so our systems use Access 2003, but Word, Excel, and Outlook 2010. We are moving to Windows 7 64-bit.

  • 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-05-31T19:32:48+00:00Added an answer on May 31, 2026 at 7:32 pm

    If I was in your shoes, I would try the following:

    1. Remove and re-install Access

      And I would run a registry cleaner like CCleaner to remove broken library reference from the registry before re-installing Access and applying all updates.
      The fact that the dao360.dll was missing or improperly registered shows that there is at least one installation issue on that machine.
      Also, remove and re-install your ODBC drivers for the other databases.

    2. Try on the same machine from a different user

      Create a new user on the machine, then log under that user and check if you still get the issue.

    3. Try from a different machine

      Use the same database, make sure the DAO references are selected, and try code query again.
      If it still doesn’t work, then there is another issue somewhere, and it’s not related necessarly to DAO.

    4. You mention using Sybase and SQL Server.

      Are the ODBC drivers functioning properly? Could there be some corruption there too on the machine?
      What if you create a new database and try a single pass-through query using the same connection string?

    5. 32 and 64 bits mixup

      Are you sure all dependent software and database drivers are installed for 32bit?
      If you are trying to access an ODBC data source that uses a 64bit driver from a 32bit app, it will fail.
      In Win7 x64 the ODBC console available from the Administrative Tools in the Control Panel is not 32bit!
      You need to create your DSN using C:\Windows\SysWOW64\odbcad32.exe instead.

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

Sidebar

Related Questions

I have to support an application that uses an access database. My development machine
I have an application that uses Silverlight and ASP.NET as a front-end. It retrieves
I have a web application that uses a local SQL Server Express database (a.k.a.
I have application that uses direct data access to it's Database. I have nothing
We have one .exe application that uses one .mdb Microsoft Access database. I need
I currently have an application that uses a browserfield to access an internet page
I have an application that uses Entity Framework to access the data, and throughout
I have a web application that uses Facebook Connect (built in Ruby on Rails
We have an application that uses Windows authentication to authenticate users with the database,
I am currently working on a VB.NET desktop application that uses .mdb (Access) database

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.