Solved

COM object with CLSID error in VB.NET

Posted on 2007-04-06
3
830 Views
Last Modified: 2008-01-09
I have written a program in vb.net. I have started getting the following error -

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in connectSMS.exe

Additional information: COM object with CLSID {3B598BD0-AF50-48C6-B6A5-63261A48B054} is either not valid or not registered.

The error happens at the following line of code -

Dim ftp1 As New CHILKATFTPLib.ChilkatFTP

The program worked fine with the ftp code for a while and only started giving the error yesterday.
Any ideas would be greatful.
0
Comment
Question by:accessloans
  • 2
3 Comments
 
LVL 18

Expert Comment

by:Ajay Sharma
ID: 18868803
u have to register the dll before using it

user regsvr32.exe.

go to START =>  RUN
type regsvr32.exe /i dllpath/dllname
0
 
LVL 18

Accepted Solution

by:
Ajay Sharma earned 500 total points
ID: 18868816
0
 

Author Comment

by:accessloans
ID: 18872205
sorry for the delay in replying. I havent had a chance to try it  will do it tomorrow. Can i get the dll to register automatically when the program is installed on any PC.

I thought the installer would deal with this.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now