COMException Unhandled

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
Posts: 5
Joined: Thu May 13, 2010 7:01 am

COMException Unhandled

Post by Lavi » Thu May 13, 2010 7:16 am

Hey guys,

I'm trying to run the Csharp sample code and just see if it works, but when I reach the line:


I get a "COMException Unhandled - Error HRESULT E_FAIL has been returned from a call to a COM component."

Please note that my development is done on a seperate LAN without an internet connection ( if it matters... ).

Thanks a lot,

Posts: 12031
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)

Re: COMException Unhandled

Post by mb » Thu May 13, 2010 9:37 am

Catch the exception and ignore it. Or uncomment the _upnp.Initialize() line.
Last edited by mb on Thu May 13, 2010 9:40 am, edited 1 time in total.

Post Reply