SSIS 2012 + WinSCP

Advertisement

Khaled merdassi
Guest

SSIS 2012 + WinSCP

Hi all,

I tried to use the WinSCP in a SSIS C# script task and i am getting this message error :

"
Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()
"
The version of .Net referenced by the script is .Net4, and please note that i can't use earlier versions, it's a problem with the .Net version and what version of WinSCP assembly work fine with .Net 4

Best regards,

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Ankur wrote:

Were you able to resolve this issue Martin? If yes, please suggest how?
As you can see, I never got a response my question above. Can you answer it?

Reply with quote

Advertisement

You can post new topics in this forum