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 7575513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:42:25+00:00 2026-05-30T16:42:25+00:00

I have a classic ASP app which connects to an access database, I receive

  • 0

I have a classic ASP app which connects to an access database, I receive the following error when I try to access a page which connects to the database:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x1b48 Thread 0x1970 DBC 0x1948024 Jet'.

/gasket.inc, line 24

Here is my gasket.inc file:

<%
'include file for gasket table database object


'Dimension variables
Dim adoConG         'Database Connection Variable
Dim strConG     'Holds the Database driver and the path and name of the database
Dim rsGasket        'Database Recordset Variable
Dim strAccessDBG    'Holds the Access Database Name
Dim strSQLG         'Database query sring


'Initialise the strAccessDB variable with the name of the Access Database
strAccessDBG = "\\MyServer\databases\gaskets\gaskets.mdb"

'Create a connection object
Set adoConG = Server.CreateObject("ADODB.Connection")

'Database connection info and driver
strConG = "DRIVER={Microsoft Access Driver (*.mdb)};uid=admin;pwd=; DBQ=" & strAccessDBG

'Set an active connection to the Connection object
'adoConG.Open "DSN=Gaskets"
adoConG.Open strConG

'Create a recordset object
Set rsGasket = Server.CreateObject("ADODB.Recordset")


%>

Does that admin user require permission to access the database? Or am I missing something else which is obvious?

  • 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-30T16:42:26+00:00Added an answer on May 30, 2026 at 4:42 pm

    If you’re using a UID/PWD for this, that would have to match an account that was used to lock the database, or a machine/domain account that will have write to/lock permissions to the db. Also, keep in mind that classic ASP is running under the IUSR_ account by default – sometimes this account must have write access to the directory/file containing the Access db.

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

Sidebar

Related Questions

I have a SQL interface page in my classic ASP web app that allows
NET and VB.net code behind. I have a classic ASP page that connects to
I have a classic asp page which generates a PDF serves it to the
I have a classic asp page from which I open a popup page in
I have a large classic ASP app that I have to maintain, and I
We have an old web app written in classic ASP. We don't have the
I have this classic ASP site which has been working fine until we updated
I have a classic ASP application which inserts some values into a word file
I have the following shortened classic ASP code that makes a SQL insert call...
So I've got our legacy app which is classic asp and I've got a

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.