Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


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?

Were you able to resolve this issue Martin? If yes, please suggest how?

Re: SSIS 2012 + WinSCP

What is the root cause (=inner exception) of the exception?
Khaled merdassi

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,