c# exposure config for client app on different machine to server
Posted: Tue May 30, 2017 3:33 pm
Hi guys,
I have a simple windows form application that reads some data out of jade via c# exposure, it works perfectly when run on the same machine as the server using config similar to the examples in the .net dev reference but I'm struggling to get it working when it's run on another machine in the same lan/network.
When run on a different machine to the server it hangs on opening the JoobContext without any error/exception. For the connection string and joob installation folder I've tried various options: UNC paths, mapped network drives and the DataSource=tcpip://[server]/[guid] connection string extension format with the same result.
I can see in sysinternals tcpview a connection is opened on the client machine and on the server but when debugging the code it never gets to the line after creating the JoobConext
I've read the .net dev reference but it's a bit light on practical cross machine example, couple of questions:
- Does the client require a local copy of the server /Bin64 for the joob section installation directory element OR can this point to the server via UNC or network share? I can't seem it to get it to work with the later.
- For the data source in the connection string should this work when using a mapped drive or do you have to use the ip/guid format for between machines?
I have a simple windows form application that reads some data out of jade via c# exposure, it works perfectly when run on the same machine as the server using config similar to the examples in the .net dev reference but I'm struggling to get it working when it's run on another machine in the same lan/network.
When run on a different machine to the server it hangs on opening the JoobContext without any error/exception. For the connection string and joob installation folder I've tried various options: UNC paths, mapped network drives and the DataSource=tcpip://[server]/[guid] connection string extension format with the same result.
I can see in sysinternals tcpview a connection is opened on the client machine and on the server but when debugging the code it never gets to the line after creating the JoobConext
I've read the .net dev reference but it's a bit light on practical cross machine example, couple of questions:
- Does the client require a local copy of the server /Bin64 for the joob section installation directory element OR can this point to the server via UNC or network share? I can't seem it to get it to work with the later.
- For the data source in the connection string should this work when using a mapped drive or do you have to use the ip/guid format for between machines?