sfFTPLib exception thrown from .NET DLL

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
MDMACK13
Posts: 1
Joined: Fri Jan 28, 2011 1:46 pm

sfFTPLib exception thrown from .NET DLL

Post by MDMACK13 » Mon Oct 15, 2012 5:12 pm

I have an application that calls a DLL that uses sfFTPLib. This DLL is called using System.Reflection but fails each time with an error of "System.Reflection.TargetInvocationException" and an inner error of
"Could not load file or assembly 'Interop.sfFTPLib, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."

I am using C# with the latest version of sfFTPLib.dll. All files necessary for sfFTPLib are available to the DLL. Has anyone run across this before and have a solution?

Thanks.

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

Re: sfFTPLib exception thrown from .NET DLL

Post by mb » Mon Oct 15, 2012 6:42 pm

Please contact support and send the demo project to reproduce the problem.

Post Reply