Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / October 2003

Tip: Looking for answers? Try searching our database.

tlb register failure

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan Kosmonov - 08 Oct 2003 12:34 GMT
Hello,

   I have developed a dll application using VB .Net and i can register my
tlb file on my machine without any trouble. Bu i cannot register it on
another machine.

I get the error message;
"The component DLL's self-registration routine failed. The DllRegisterServer
function failed or the routine did not register the component"

Is there a compilation setting I shoul do, or what? Any comments, helps will
be gratefull.

Best Regards and Best Wishes.
Ersen
Phil Wilson - 09 Oct 2003 00:43 GMT
Well VB.Net doesn't have a DLL project wizard, so you probably built a class
library, and if so, it won't be a COM server exporting DllRegisterServer. In
addition, registering a tlb file is one thing, registering a .NET class library
for COM interop is something else. You should probably be looking at regasm.exe
(are you trying to run regsvr32 on your class library?)
Signature

Phil Wilson [MVP Windows Installer]
----

> Hello,
>
[quoted text clipped - 11 lines]
> Best Regards and Best Wishes.
> Ersen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.