I'm using the Refinitiv.Data library for .NET and am trying to open a Desktop session to connect to an instance of Workspace.
Refinitiv.Data.Log.Level = NLog.LogLevel.Debug session = DesktopSession.Definition().AppKey(appKey).GetSession(); session.Open();
When running the above code when setting up the project as a Console Application, I am able to connect, but when setting this up as a class library and calling the code from a Windows Application, the session.Open call is hanging on the ping request and blocks the rest of the application. Can I find any log files for Workspace to see why the request might be hanging?
The RDP logs when running as a Console Application:
2021-05-26 17:32:16.8271|Info|Refinitiv.Data.Core.DesktopSessionCore|10|Using default port: 9000 2021-05-26 17:32:16.8591|Debug|Refinitiv.Data.Core.DesktopSessionCore|10|Sending desktop proxy ping request (GET): "http://localhost:9000/ping?all" 2021-05-26 17:32:18.0684|Debug|Refinitiv.Data.Core.DesktopSessionCore|14|Desktop Session proxy ping succeeded: { IsSuccess: True HttpStatus: { "HTTPStatusCode": 200, "HTTPReason": "OK" }...
The RDP logs when built as a class library:
2021-05-26 18:14:32.7178|Info|Refinitiv.Data.Core.DesktopSessionCore|1|Using default port: 9000 2021-05-26 18:14:32.7548|Debug|Refinitiv.Data.Core.DesktopSessionCore|1|Sending desktop proxy ping request (GET): "http://localhost:9000/ping?all"