Solved

COM object with CLSID error in VB.NET

Posted on 2007-04-06
3
831 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

19 Experts available now in Live!

Get 1:1 Help Now