Solved

Error running program on client machine

Posted on 2003-12-10
9
259 Views
Last Modified: 2010-04-17
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
Comment
Question by:ssonia27
9 Comments
 
LVL 2

Expert Comment

by:gerryjc
ID: 9911187
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
 
LVL 4

Expert Comment

by:JNSTAUB
ID: 9911190
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
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 9911234
USE the Package & Deployment Wizard (PDW) from VB to create an installation package. It will surely update MDAC (the ADO library).
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:ssonia27
ID: 9911445
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
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 100 total points
ID: 9911689
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 10317082
Points to emoreau
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now