Implementing Robotic Automations (OpenSpan) with Citrix Context in a C# project.
Hello community, I have a question regarding Citrix Contexts in OpenSpan. I am trying to build a C# application that listens to events on a Windows Adapter that is in a Citrix Context. However, every time I try to instantiate the OpenSpan Project in my C# program, I receive an error. I have tried this in multiple projects. Everything works as expected when there is no Citrix context, but every project throws this error as soon as it the context is added. Is it possible to use Citrix solutions in a C# project? If so, what am I missing? Any help will be much appreciated.
1) Exception Information
*********************************************
Exception Type: System.ComponentModel.Win32Exception
NativeErrorCode: 2
ErrorCode: -2147467259
Message: "The system cannot find the file specified"
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Boolean StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo)
HelpLink: NULL
Source: "System"
HResult: -2147467259
Hello community, I have a question regarding Citrix Contexts in OpenSpan. I am trying to build a C# application that listens to events on a Windows Adapter that is in a Citrix Context. However, every time I try to instantiate the OpenSpan Project in my C# program, I receive an error. I have tried this in multiple projects. Everything works as expected when there is no Citrix context, but every project throws this error as soon as it the context is added. Is it possible to use Citrix solutions in a C# project? If so, what am I missing? Any help will be much appreciated.
1) Exception Information
*********************************************
Exception Type: System.ComponentModel.Win32Exception
NativeErrorCode: 2
ErrorCode: -2147467259
Message: "The system cannot find the file specified"
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Boolean StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo)
HelpLink: NULL
Source: "System"
HResult: -2147467259
StackTrace Information
*********************************************
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at OpenSpan.Runtime.ProcessProxyContext.InternalConnect()
at OpenSpan.Runtime.BaseRemoteProxyContext.Connect()
at OpenSpan.Runtime.RuntimeHost.CreateContexts()
at OpenSpan.Runtime.RuntimeHost..ctor(RuntimeProject project, RuntimeHostCommandLineHelper commandLine, IServiceProvider serviceProvider, String sessionName, Boolean disableWinforms, Boolean initializeScout)
at OpenSpan.Runtime.RuntimeHost..ctor(RuntimeProject project, IServiceProvider serviceProvider, RuntimeHostCommandLineHelper commandLineHelper, Boolean initializeScout)
at OpenSpan.Runtime.RuntimeProject.Initialize()
at Auto_Pause_and_Resume.Project.Auto_Pause_and_Resume..ctor() in C:\Users\Derek\Documents\Visual Studio 2015\Projects\Auto Pause and Resume\Auto Pause and Resume\obj\Debug\_Project_\Auto Pause and Resume.cs:line 34
at APR_logic.Program.Main(String[] args) in C:\Users\Derek\Documents\Visual Studio 2015\Projects\Auto Pause and Resume\Auto Pause and Resume\APR_logic\Program.cs:line 35
javascript:void(0)
***Updated by moderator: Lochan to add SR Exists group tag***