Solved

ActiveX Web Deployment Error

Posted on 1998-07-09
9
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

615 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