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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:33:34+00:00 2026-05-12T05:33:34+00:00

I am having to work in classic ASP for a small job. I am

  • 0

I am having to work in classic ASP for a small job.
I am trying to get the site running on my computer to test. I am running Windows 7 and IIS 7.

I get an error when running from local host and on checking the logs I get the error:
80004005 | Could_not_find_file_’c:\inetpub\wwwroot\sc\website\data\si.mdb’

My code is like so

dim objConn
dim objRS
set objConn = Server.CreateObject("ADODB.Connection")

objConn.Provider="Microsoft.Jet.OLEDB.4.0"
Set objRS = Server.CreateObject("ADODB.Recordset")

objConn.Open("c:/inetpub/wwwroot/sc/website/data/si.mdb")

This is the exact path to the file however.
Anyone know how I can access this? Is the code wrong or are there IIS settings I need to set?

I do not have any version of Office installed, would that cause a problem?

I have tried lots of different paths and provider settings but none have worked.

Edit
The code I am working on actually didn’t have any connection string details in the code but the person said it still worked on thier computer as a friend setup the test environment.

He doesn’t recall how his friend setup but said ” What I remember from watching him, he connected to the database through Data Sources (ODBC) because as you said in the code theres no direct path as its using a ‘global something’ (dont know the right term).”

  • 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-12T05:33:34+00:00Added an answer on May 12, 2026 at 5:33 am

    You could try using Process Monitor to see exactly which file is not being found or it is being caused by a permissions issue.

    Also, although using forward slashes instead of backslashes isn’t usually a problem, you may want to try changing that in case it makes any difference.

    If you’re using an x64 version of windows, JET is not supported in this mode, though you can get around it by configuring IIS to run x32 applications. To do this, run the following at the command line:

    cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true"
    iisreset
    

    The second command may not be required, but I’m guessing that you would probably need to restart IIS before this change takes effect.

    It sounds like the code was previously set to use a global DSN, hence the lack of a path in the connection string, though there should have still been some kind of connection details (like the DSN name).

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

Sidebar

Related Questions

I'm having problems with an old classic asp site that I'm trying to get
I'm trying to get an email sent using ASP classic, and am having trouble
I am having trouble getting my application to work correctly. I am trying to
I'm trying to get my company to move to ASP.NET MVC and away from
I'm running sitecore 6.4 under IIS 7.5 and I'm having a problem with the
Building a site super quick and having it work on all my Mac browsers,
Having worked with Classic ASP for about 2 years now by creating a few
I'm having trouble with a filter on an ADO Recordset in legacy ASP Classic
We're having trouble migrating our ASP.NET applications to Windows Server 2008 R2 x64 and
I am unfortunately having to work with asp.net web forms. I have a label

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.