Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

COM object with CLSID error in VB.NET

Posted on 2007-04-06
3
Medium Priority
?
842 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

730 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