"Error occured while registering msado26.tlb" ?

"Error occured while registering msado26.tlb" ?

Post by E_Doubl » Fri, 14 Nov 2003 07:13:46


(not sure if this is the right newsgroup, but ...) one of
our developers developed an app that gets the following
error during the install process:

"An error occured while registering c:\windows\system32
\msado26.tlb"

After clicking 'Ignore' the app will complete the install
and open. The machine is WinXP Pro and the user is an
admin. Thanks for any help on this in advance ...
 
 
 

"Error occured while registering msado26.tlb" ?

Post by Terry Kref » Sat, 15 Nov 2003 01:36:11

Sounds like it is trying to DLLSelfregister rather than TLBRegister.

Try
create a file on the development machine in the same folder as
msado26.tlb
call the file msado26.dep
put the following lines in the file

[msado26.tlb]
Dest=$(CommonFilesSys)\ado
Register=$(TLBRegister)

That should sort it out.

Terry

 
 
 

"Error occured while registering msado26.tlb" ?

Post by Val Mazu » Sat, 15 Nov 2003 13:36:54

Hi,

Check next KB about it

http://www.yqcomputer.com/ ;en-us;299645

--
Val Mazur
Microsoft MVP
Check Virus Alert, stay updated
http://www.yqcomputer.com/
 
 
 

"Error occured while registering msado26.tlb" ?

Post by Terry Kref » Sat, 15 Nov 2003 18:22:09

From the cited document

Resolution 1
-------------
This has to be done each and every time you package up.

Resolution 2
--------------
This is worse than Resolution 1 as you have to renumber all the lines.

Resolution 3
-------------
This is at least a one off option for the project, but if the file needs
to be installed on the target machine is hardly optimal.

Resolution 4
-------------
This is a one off option for the file but again if the file needs to be
installed on the target machine it is hardly optimal.

Resolution 5
--------------
This will work but means you are distributing a .dll file instead of
.tlb, a bit if overkill really.


The optimal answer is to provide a .dep file for the .tlb, this tells PDW
what to do with the file each and every time you use it. It's a one off
operation and you can safely forget about it after that.


Terry