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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:43:29+00:00 2026-05-27T17:43:29+00:00

I recently upgraded my computer from XP to Windows Seven. I was using IIS

  • 0

I recently upgraded my computer from XP to Windows Seven. I was using IIS 6.0 but I am now on IIS 7.5. When I was on my XP machine I was able to get my Classic ASP pages running and viewable. I am working being ableto run a Classic ASP page from my local drive. I am using SQL Server 2005. I set up IIS 7.5 with an application pool with .NET Framework Version 2.0. When I try to run the page I get the error: “Microsoft OLE DB Provider for ODBC Drivers error ‘80004005’ [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified“. My code looks like this:

randomConnection = "Provider=SQLOLEDB;Data Source=server\instance;Initial Catalog=myDataBase;User Id=MyFakeUserID;Password=MyFakePassword;"
Set someRS = Server.CreateObject("ADODB.RecordSet")
mySQLStatement = "SELECT DISTINCT CarInfo.CarMake, CarInfo.CarColor FROM CarInfo"
someRS.Open mySQLStatement, randomConnection

The code errors out on the last line. My code has a lot more that it does after all this. All of the code worked fine with IIS 6.0. The only changes are I switched to Windows Seven 32-bit and IIS 7.5. Is there something special that needs down since I have IIS 7.5? I have created test ASP pages in the root directory without any database logic and the page rendered just fine.

  • 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-27T17:43:30+00:00Added an answer on May 27, 2026 at 5:43 pm

    Your connection string is using the wrong provider – SQLOLEDB is a data provider for SQL Server 2000 or SQL Server 7. You should be using SQLNCLI (or SQLNCLI10) according to SQL Server 2005 connection strings.

    Try this…

    Provider=SQLNCLI;Data Source=server\instance;Initial Catalog=myDataBase;User Id=MyFakeUserID;Password=MyFakePassword;

    You are also trying to open the connection using mySQLStatement as the connection string. You need to revisit the documentation on how to connect and request data from ADODB.

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

Sidebar

Related Questions

I recently upgraded a web server from IIS6 to IIS7 for a classic asp
I recently upgraded my main computer and am now working in windows Vista. My
I recently upgraded to Eclipse Ganymede from Europa and now I'm finding that when
I recently upgraded my web server to Windows 2003 R2 Enterprise 64 Bit. Now
I recently upgraded my computer, and moved from XP to Win7. We have old
I recently upgraded to Xcode 4 (which is a great upgrade) but now I'm
I recently upgraded XCode to run iOS 4.2 from iOS 3.2. However, now, when
I recently upgraded a VS2005 web deployment project to VS2008 - and now I
I recently upgraded to Subversion 1.5, and now I cannot commit my code to
I recently upgraded my oracle client to 10g (10.2.0.1.0). Now when I try to

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.