Solved

COM object with CLSID error in VB.NET

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pagebreak issue while printing the aspx page 3 34
Store results in vb.net 3 24
VB.Net. Reading xml value 6 29
VB.NET Application Installation with sqlserver 8 27
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

791 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