Solved

ActiveX Web Deployment Error

Posted on 1998-07-09
9
207 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
Comment Utility
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
Comment Utility
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
Comment Utility
Is there a way to distribute that file along with the OCX? and have them both register automatically?

Roger
0
 
LVL 8

Expert Comment

by:ZifNab
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:Whytboy
Comment Utility
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
Comment Utility
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
Comment Utility
Registering it manually didnt help either...

Roger
0
 
LVL 8

Expert Comment

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

Author Comment

by:Whytboy
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

728 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

9 Experts available now in Live!

Get 1:1 Help Now