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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:04:01+00:00 2026-05-11T09:04:01+00:00

I have a connection to an access database that implements MSDataShape that works perfectly

  • 0

I have a connection to an access database that implements MSDataShape that works perfectly on Windows XP, now when i try to run it on Windows Vista it game me an error.

The error on vista:

Error # -2147467259 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

The same code works perfectly in a clean xp instalation.

What’s the big secret?

  • 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. 2026-05-11T09:04:02+00:00Added an answer on May 11, 2026 at 9:04 am

    I tested this on Vista and Access 2000, and it worked for me. I have the latest Jet version, which should install with Vista.

    Private Sub Form_Open(Cancel As Integer)     Set cn = New ADODB.Connection     With cn         .Provider = 'MSDataShape'         .CursorLocation = adUseClient         .ConnectionString = 'DATA PROVIDER=Microsoft.Jet.OLEDB.4.0;' _          & 'DATA SOURCE=c:\docs\ltd.mdb'         .Open     End With      Set rs = New ADODB.Recordset      With rs         .Source = 'SELECT * From Table1'         .ActiveConnection = cn         .CursorType = adOpenKeyset         .LockType = adLockOptimistic         .Open     End With      Set Me.Recordset = rs     Me.UniqueTable = 'Table1'  End Sub 

    References: http://support.microsoft.com/kb/227053/EN-US/ http://support.microsoft.com/kb/239114/en-us

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

Sidebar

Related Questions

I have this Access database that we use to run reports. The report is
I am trying to access database from a Class Library Project. I have connection
I have a database connection which takes an input from the querystring to access
I have a site that uses classic ASP and a database in Access 2007
I have a connection string like this: SERVER=localhost;DATABASE=tree;UID=root;PASSWORD=branch;Min Pool Size = 0;Max Pool Size=200
I'm hearing that is better to have one connection open upon app start up
I have an Oracle Connection to a ORACLE 10.2 database and want to listen
I have the following connection string: Data Source=localhost\\SQLEXPRESS; , it complains that '' is
I have a mySQL database that tracks our projects and drives our website's display
I have an existing ASP.NET application that implements Forms Authentication site-wide. The application is

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.