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: 9/19/2008 4:21:00 PM
Posts: 147, Visits: 132

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
Posted 8/1/2008 11:43:34 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/7/2008 11:26:49 AM
Posts: 2, Visits: 3
I'm receiving this same error.  Using VS 2008 .NET 3.5 64 bit.  Doesn't look like a 64 bit issue, but rather a framework issue.  Any updates/solutions?

Retrieving the COM class factory for component with CLSID {DEB78591-FA51-45FB-A504-C68555177A5B} failed due to the following error: 80040154

Post #45855
Posted 10/1/2008 12:55:10 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2 days ago @ 4:48:39 PM
Posts: 2, Visits: 5
rajjr_tx (8/1/2008)
I'm receiving this same error.  Using VS 2008 .NET 3.5 64 bit.  Doesn't look like a 64 bit issue, but rather a framework issue.  Any updates/solutions?

Retrieving the COM class factory for component with CLSID {DEB78591-FA51-45FB-A504-C68555177A5B} failed due to the following error: 80040154

 

Have a customer receiving the exact same error - initally thought it was because the DLL was not registered but now it appears to be a framework issue.  Would love to hear about any updates or solutions.

Post #47412
Posted 2 days ago @ 4:52:45 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2 days ago @ 4:48:39 PM
Posts: 2, Visits: 5
Update:

IPSwitch recommended doing my build using the x86 option which allowed me to get farther but it was not until they sent me a new WsftpSDK.dll did my problem get solved.

Post #47531
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 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 2:48am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 10 queries. Compression Enabled.