Page 1 of 1

Cannot connect to SelectServer

Posted: Fri Jan 21, 2022 12:17 pm
by bandorganman
My system was just updated to the latest software and now when my software tries to connect to the SelectServer the following error occurs:

"This version of the Select client is not supported by the server."

How do I fix this?

Code: Select all

using (SelectServer ss = new SelectServer(new Uri("http://localhost:8080")))
            {
                string reason;
                if (!ss.TryAuthenticate(out reason))
                {
                    Results.Text = reason;
                    return;
                }
                else
                {
                    Results.Text = "Successfully connected to SoftPro Select Server\n\r";

                }

Re: Cannot connect to SelectServer

Posted: Fri Jan 21, 2022 10:19 pm
by BobRichards
The client software version MUST match the version on the server. Get the DLLs from your server.

Re: Cannot connect to SelectServer

Posted: Sun Jan 23, 2022 1:27 pm
by bandorganman
This is on my development system, there is no server. I suspect that the SDK needs to be updated in Studio but for some reason the SDK setup says it cannot connect to the database.

Re: Cannot connect to SelectServer

Posted: Mon Jan 24, 2022 2:38 pm
by BobRichards
I suspect that the application you are developing is referencing SoftPro DLLs that do not match the ones on the Server. Open your Visual Studio project and see where where the project thinks the DLLs are.
2022-01-24_13-32-09.jpg
2022-01-24_13-32-09.jpg (95.59 KiB) Viewed 3406 times
Make sure that the path points to a copy of the same DLLs that are being used by the server. They must match. I sounds like you need to get the DLLs from the server and copy them on your local machine or else change the path of the project files to point at the Select client that you installed on your dev machine. I usually point my my project under development to the local Select client.

Re: Cannot connect to SelectServer

Posted: Mon Jan 24, 2022 9:30 pm
by bandorganman
Thanks for pointing me in the right direction. Everything works now!