stephenlecompte
07-24-2003, 04:31 PM
I just tried to install my new VB program with the setup.exe created from my Package & Deployment Wizard. I got an error stating that could not register a certain file.
It states:
ERROR: No entrypoint for DllRegisterServer() was found in : "C:\WINDOWS\SYSTEMS\msado25.tlb"
An error occured while registering the file.
DURING THIS ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEMS\msad025.tlb"
What is a .tlb file? How can I fix this problem?
Thank you. Thank you. Thank you.
Sincerely,
Stephen
Don't register this file, It's not a DLL or OCX. It should be ok if you dont register it.
Shaggie
08-06-2003, 10:47 PM
This file is called a Type Library. If this tlb (Type Library) file were created by you then your setup program must register it.
The program that registers tlb files & olb files (Object Library) is called regtlib.exe. It is a Microsoft program that you normally run from a command prompt.
The Package & Deployment wizard (if I remember correctly) should be able to register these types of files correctly. It appears to me as if the entry in the setup ini for this file is wrong, as it looks as though it is trying to register it as if it were a dll or an ocx.
When I look at the file name "msado25.tlb" I realize that this is part of the "Microsoft Data Access Components" (Microsoft ADO 2.5).
I suggest that the file "Mdac_typ.exe" be installed on the destination computer before the setup is run. It may be possible to get the setup to run this file, but I am not sure.
If the destination computer is a Windows 2000 or XP machine, then the installation of "mdac_typ.exe" is most likely unnecessary, unless you are using a newer version than what is already installed on that machine.
Good Luck and have fun.
P.S. I believe that mdac_typ stands for "Microsoft Data Access Components - Typical installation". (Someone correct me if I am wrong.)
Shaggie
stephenlecompte
08-22-2003, 08:42 AM
This file is called a Type Library. If this tlb (Type Library) file were created by you then your setup program must register it.
The program that registers tlb files & olb files (Object Library) is called regtlib.exe. It is a Microsoft program that you normally run from a command prompt.
The Package & Deployment wizard (if I remember correctly) should be able to register these types of files correctly. It appears to me as if the entry in the setup ini for this file is wrong, as it looks as though it is trying to register it as if it were a dll or an ocx.
When I look at the file name "msado25.tlb" I realize that this is part of the "Microsoft Data Access Components" (Microsoft ADO 2.5).
I suggest that the file "Mdac_typ.exe" be installed on the destination computer before the setup is run. It may be possible to get the setup to run this file, but I am not sure.
If the destination computer is a Windows 2000 or XP machine, then the installation of "mdac_typ.exe" is most likely unnecessary, unless you are using a newer version than what is already installed on that machine.
Good Luck and have fun.
P.S. I believe that mdac_typ stands for "Microsoft Data Access Components - Typical installation". (Someone correct me if I am wrong.)
Shaggie
Is there an upgrade to the package and deployment wizard or another I can download? For some reason it tries to register this file incorrectly even when I try to correct it in the wizard? Sure I can just ignore it and the program runs fine but others who may install it may get antzy.