I was using a dsn connection - i switched to a ole connection
Main Topics
Browse All TopicsI work for a large company. I have a 2000 machine that I do my development on and our workstation people are moving to xp sp2.
I use ado 2.8 as a reference for my database connections
using the ms mdac chceker util i found:
2000 - MDAC 2.8 RTM
XP - MDAC 2.8 SP1 on XP SP2
I get a automation provider error when i compile on the 2000 and run it on the XP - most likely its because they are different mdacs - the best part is they wont let me install an older mdac version becuase they say its a security risk.
so .. here is my question - what can i do to make my db connection work acros both?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
no - they will not let me install mdac because they say its a security risk even tho they have a patch for it.
here is some code:
dim MyConn as ADODB.Connection
myconn.connectionstring = <place before mentioned strings here"
myconn.open <- error
I beleive the error was like - automation provider not found
i will have to check again
Might be worth running an MDAC integrity check, have a look at
http://www.microsoft.com/d
Business Accounts
Answer for Membership
by: leonstrykerPosted on 2005-04-07 at 06:59:53ID: 13726987
Can you install the new MDAC on your machine? Can you debug on on of the XP machines? If not debug, then at least setup a log file and have the errors logged to see which line genreates the problem.
Leon