Error create COM calss

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Error create COM calssExpand / Collapse
Author
Message
Posted 3/12/2007 2:56:36 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/2/2007 11:22:00 AM
Posts: 8, Visits: 1

Hi,

I have developed a windows console application to do some sftp transfers using the secure wsftp pro SDK. I created a msi package which included the Interop.WsftpSDK.dll and WsftpSDK.dll along with my exe's. When I try to execute my console app to do the transfers, it is failing witht he following error msg:

3/12/2007 1:28:31 PM Error:ExitCode(0)MessageRetrieving the COM class factory for component with CLSID {DEB78591-FA51-45FB-A504-C68555177A5B} failed due to the following error: 80040154.

any help in this regard will be appreciated.

Thanks,

Vinod

Post #29506
Posted 5/1/2007 11:54:39 PM


Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Forum Members
Last Login: 6/17/2008 12:37:29 PM
Posts: 146, Visits: 127

I was also getting this error after installing .net 3.0 x64 just now, had to revert back to 2.0.

Unable to log into the system.
Reason: Retrieving the COM class factory for component with CLSID {hidden} failed due to the following error: 80040154.

This should be considered a bug as 3.0 is backwards compatible with 2.0 as far as I know.




Shawn Hyde
507 536-9556
Area51 Computers & Services
Consulting and Custom Internet Solutions
Rochester, MN
Post #31792
Posted 4/14/2008 6:06:56 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/15/2008 2:11:09 PM
Posts: 1, Visits: 4
Does anyone have a solution to this?  I have been recently encountering this too when attempting to use this with the .NET 2.0 framework; upgrading .NET projects from 1.1 to 2.0 framework.  It works great with .NET 1.1 framework, but using the same code under .NET 2.0 framework, I get "COMException was unhandled" title, "Retrieving the COM class factory for component with CLSID{DEB78591-FA51-45FB-A504-C68555177A5B} failed due to the following error: 80040154."  This iw with early binding.  Using late-binding, "pApi = CreateObject("WsftpSDK.WsftpApi")", I get title "Exception was unhandled", "Cannot create ActiveX component."  I have 64-bit machine, but that works with 1.1 framework, so see why it wouldn't work with 2.0 framework.

Does anyone have a solution to this? I have been recently encountering this too when attempting to use this with the .NET 2.0 framework; upgrading .NET projects from 1.1 to 2.0 framework. It works great with .NET 1.1 framework, but using the same code under .NET 2.0 framework, I get "COMException was unhandled" title, "Retrieving the COM class factory for component with CLSID{DEB78591-FA51-45FB-A504-C68555177A5B} failed due to the following error: 80040154." This iw with early binding. Using late-binding, "pApi = CreateObject("WsftpSDK.WsftpApi")", I get title "Exception was unhandled", "Cannot create ActiveX component." I have 64-bit machine, but that works with 1.1 framework, so see why it wouldn't work with 2.0 framework.
Post #42819
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Hush, FTPplanet.com, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 11:11am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 9 queries. Compression Enabled.