Solved

Problem registering activeds.tlb in VB6 application

Posted on 2007-04-02
6
1,932 Views
Last Modified: 2013-12-20
I'm trying to install a VB6 application, but during the setup, I get the error message:

An error occured while registering the file activeds.tlb; it will install the program, but when I try to run the .exe, I get a run-type error with some cryptic error code and message.  
Note:
Installing on a Windows SP SP2 machine
activeds.tlb is in the system32 folder  
activeds.dll is in the system32 folder
The LDAP settings in the registry are correct
activeds.tlb has been registed with the regtlib utlity
activeds.dll has been registered successfuly with the regsvr32 utility  
The application itself runs fine on my dev machine; no issues with AD authentication    

Been in .NET and OOP for the last four years and have never worked with old technologies.  If anyone can shed some light on how to troubleshoot this, I appreciate it.

Thanks in advance!
0
Comment
Question by:LA_Code_Poet
  • 4
  • 2
6 Comments
 

Author Comment

by:LA_Code_Poet
ID: 18837953
Also, the File Version is:

5.1.2600.0 (xpclient.010817-1148)
0
 

Author Comment

by:LA_Code_Poet
ID: 18839134
I think I found the root of the problem:

*** ERROR: No entrypoint for DllRegisterServer() was found in 'C:\WINDOWS\system32\activeds.tlb'
*** DURING THIS ACTION: DllSelfRegister: "C:\WINDOWS\system32\activeds.tlb"

*** ERROR: An error occurred while registering the file 'C:\WINDOWS\system32\activeds.tlb'
*** ERROR: (User Responded with 'Abort')
*** DURING THIS ACTION: DllSelfRegister: "C:\WINDOWS\system32\activeds.tlb"

I haven't found anything online to aid me in this.  Any suggestions?
0
 

Author Comment

by:LA_Code_Poet
ID: 18839148
From the setup.lst file:

File52=@activeds.tlb,$(WinSysPath),$(DLLSelfRegister),$(Shared),8/4/04 7:00:00 AM,111104,5.1.2600.0  

0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 26

Accepted Solution

by:
EDDYKT earned 500 total points
ID: 18842361
are you using Package & Deployment Wizard?
if yes
change the above line (i guess from your .swt file) to
File52=@activeds.tlb,$(WinSysPath),$(TLBRegister)),$(Shared),8/4/04 7:00:00 AM,111104,5.1.2600.0
0
 

Author Comment

by:LA_Code_Poet
ID: 18842481
That was it...Thanks....

I guess this is a bug of the PDW?

0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 18842498
yes
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need VBS version of Excel date conversion 4 71
using Access 8 68
VBA/SQL - Connect to SQL server and pull data 4 110
passing a value with stream reader AFTER a ";" 3 67
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

773 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