Solved

ActiveX Web Deployment Error

Posted on 1998-07-09
9
215 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…

831 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