Cannot find Open method
Hello,
Com object is initialized, but cannot find Open method
What's may be wrong?
P.S. that happens only in a server mode(executing behalf on certain service)
Client mode is ok.
Thank you in advance.
PS: Debug log is below
2014-12-04 17:08:57.838Z] [0005] Working directory: C:\Windows\system32
[2014-12-04 17:08:59.898Z] [0005] Result []
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetProperties entering
[2014-12-04 17:08:59.913Z] [0005] Result [12]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetProperties leaving
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetFields entering
[2014-12-04 17:08:59.913Z] [0005] Fields [0]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetFields leaving
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetMethods entering
[2014-12-04 17:08:59.913Z] [0005] Result [48]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetMethods leaving
[2014-12-04 17:08:59.913Z] [0005] Name [Open]
[2014-12-04 17:08:59.913Z] [0005] Target [WinSCP.Session]
[2014-12-04 17:08:59.913Z] [0005] Args [1] [null]
[2014-12-04 17:08:59.913Z] [0005] Arg [0] [System.__ComObject] [null]
[2014-12-04 17:08:59.913Z] [0005] Culture [ru-RU]
[2014-12-04 17:08:59.913Z] [0005] Invoking
[2014-12-04 17:08:59.913Z] [0005] Error [System.MissingMethodException: Method 'WinSCP.Session.Open' not found.
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at WinSCP.Session.System.Reflection.IReflect.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetProperties entering
[2014-12-04 17:08:59.913Z] [0005] Result [12]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetProperties leaving
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetFields entering
[2014-12-04 17:08:59.913Z] [0005] Fields [0]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetFields leaving
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetMethods entering
[2014-12-04 17:08:59.913Z] [0005] Result [48]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetMethods leaving
Com object is initialized, but cannot find Open method
What's may be wrong?
P.S. that happens only in a server mode(executing behalf on certain service)
Client mode is ok.
Thank you in advance.
PS: Debug log is below
2014-12-04 17:08:57.838Z] [0005] Working directory: C:\Windows\system32
[2014-12-04 17:08:59.898Z] [0005] Result []
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetProperties entering
[2014-12-04 17:08:59.913Z] [0005] Result [12]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetProperties leaving
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetFields entering
[2014-12-04 17:08:59.913Z] [0005] Fields [0]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetFields leaving
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetMethods entering
[2014-12-04 17:08:59.913Z] [0005] Result [48]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetMethods leaving
[2014-12-04 17:08:59.913Z] [0005] Name [Open]
[2014-12-04 17:08:59.913Z] [0005] Target [WinSCP.Session]
[2014-12-04 17:08:59.913Z] [0005] Args [1] [null]
[2014-12-04 17:08:59.913Z] [0005] Arg [0] [System.__ComObject] [null]
[2014-12-04 17:08:59.913Z] [0005] Culture [ru-RU]
[2014-12-04 17:08:59.913Z] [0005] Invoking
[2014-12-04 17:08:59.913Z] [0005] Error [System.MissingMethodException: Method 'WinSCP.Session.Open' not found.
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at WinSCP.Session.System.Reflection.IReflect.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetProperties entering
[2014-12-04 17:08:59.913Z] [0005] Result [12]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetProperties leaving
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetFields entering
[2014-12-04 17:08:59.913Z] [0005] Fields [0]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetFields leaving
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetMethods entering
[2014-12-04 17:08:59.913Z] [0005] Result [48]
[2014-12-04 17:08:59.913Z] [0005] Session.System.Reflection.IReflect.GetMethods leaving