• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

Error running program on client machine

I have developed s/w in visual basic 6 and database in MS SQL 7.0.
My problem is the program is running without any error on my machine and and some other client machines also.
But it is giving error on one client machine.

In  my s/w package first I'm asking for userid and password from the user when they first run the program.

when the user is entering userid and password and click on OK button. the code will execute the query "select * from tablename"
So on executing this The program is giving following error:
"Class does not support automation or does not support expected interface select * from Table name"

anybody can give idea about how to solve this error.

thanks

SS



0
ssonia27
Asked:
ssonia27
1 Solution
 
gerryjcCommented:
Did you include the drivers for MS SQL 7.0 in the install for the application?
Is the correct version of MDAC on the Client Machine that does not work?
Read about it here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp

Can you give us some more details on the machines?
0
 
JNSTAUBCommented:
are you sure to have installed MSDAC with the same version on each machine. MS has developped a software to check the MSDAC package available on each machine (google MS,MSDAC,msdn)to download it
0
 
Éric MoreauSenior .Net ConsultantCommented:
USE the Package & Deployment Wizard (PDW) from VB to create an installation package. It will surely update MDAC (the ADO library).
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
ssonia27Author Commented:
gerryjc
I have installed MS SQL 7.0 connectivity on the client machine. I'll read about MDAC on that link then clear this point

JNSTAUB
which is that s/w to check the version of MSDAC.

emoreau
I have used package and deployment wizard to create installation package. then sun setup on client machine.
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
Éric MoreauSenior .Net ConsultantCommented:
Points to emoreau
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now