Solved

ActiveX Web Deployment Error

Posted on 1998-07-09
9
217 Views
Last Modified: 2010-04-04
Howdy..

I was playing with the Active Form Example in Delphi 3's directory, Which, using the EmpServer Server Program, I got to work on my machine.  However, on another machine in the office, the browser hits the page which asks if the user wishes to install the ActiveX Control.  After clicking Yes, I get a DAX Error that says 'CLASS NOT REGISTERED'.  

Near as I can tell its talking about the GUID of the ActiveX Control (?) which of course isnt registered on his machine.  How does one get it registered on a "new" machine??

Roger Webb
0
Comment
Question by:Whytboy
  • 5
  • 4
9 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1357526
Hi Whytboy,

You need to have DBCLIENT.DLL on the client, and it needs to be registered.

Zif.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1357527
And another message form TI-Borland :

DBCLIENT.DLL
Question:
What is the role of DBClient.DLL?
Answer:
DBCLIENT.DLL contains the low-level implementation of
TClientDataSet.  It manages all of the data and implements
functionality like filters, sorting, etc.  The relationship
between TClientDataSet and DBCLIENT.DLL is very similar to the
one between TTable and the BDE.  The functionality is surfaced
through two COM interfaces (DSBase & DSCursor) and requires OLE
registration.  If DBCLIENT.DLL is placed in any directory on the
path or in the EXE directory on the client machine, it will
automatically be registered by the VCL code in TClientDataSet.  
Otherwise it must be registered using REGSVR32.EXE or TREGSVR.EXE.

Zif.
0
 

Author Comment

by:Whytboy
ID: 1357528
Is there a way to distribute that file along with the OCX? and have them both register automatically?

Roger
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:ZifNab
ID: 1357529
Whytboy,

 If DBCLIENT.DLL is placed in any directory on the path or in the EXE directory on the client machine, it will automatically be registered by the VCL code in TClientDataSet.

But you can do it all in your installation with this freeware installer : http://www.connect.net/jordanr/isinfo.htm 

Zif.
   
0
 

Author Comment

by:Whytboy
ID: 1357530
thats what I'm saying... How do I distribute that file along with the OCX to a client machine over the internet (that I cant just copy the file to!)

Roger
0
 

Author Comment

by:Whytboy
ID: 1357531
Well, another interesting point.  I went to another machine and put the DBClient.dll file in his Windows System directory, and hit my page again.... Same error.

I'm gonna try and see if registering it manually helps any.. but .. keep in mind, that I cant register anything manually over the Internet!

Roger
0
 

Author Comment

by:Whytboy
ID: 1357532
Registering it manually didnt help either...

Roger
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1357533
don't you've do register your activeX control too?
0
 

Author Comment

by:Whytboy
ID: 1357534
Isnt that what I'm saying??  I shouldn't have to "REGISTER" anything.  I mean, its over the internet, I cant get to the machines that will hit this page, so NO, I can't register anything.  I figured this would happen automatically when they got the Control.  I just wanna know how to get the control (and the DBClient DLL) to their machine.  The browser should register it.

Roger
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 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