Author Topic: PSDK: Cannot connect to the configuration server  (Read 1839 times)

Offline nuttakorn

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
PSDK: Cannot connect to the configuration server
« on: December 02, 2021, 11:03:15 PM »
I would like to connect configuration server but I got the error message: "Application not found"

Coding is very simple as below:

Quote
ConfServerProtocol confServerProtocol = new ConfServerProtocol(new Endpoint(uri));
confServerProtocol.ClientApplicationType = (int)CfgAppType.CFGAgentDesktop;
confServerProtocol.ClientName = "ClientName";
confServerProtocol.UserName = "myusername;
confServerProtocol.UserPassword = "mypassword";

confServerProtocol.Open();

Platform SDK version is 9.0.x, any idea how to fix this problem?

Thanks in advance

Offline hsujdik

  • Sr. Member
  • ****
  • Posts: 483
  • Karma: 17
Re: PSDK: Cannot connect to the configuration server
« Reply #1 on: December 03, 2021, 12:23:12 AM »
Does this application "ClientName" exist on Configuration Server (eg, configured by Configuration Manager, GAX or GA)?

If it does, is it associated with an application template with the Type of "Agent Desktop"?

Is the user "myusername" assigned to an Access Group that has READ permissions on that applicaiton?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7526
  • Karma: 56330
Re: PSDK: Cannot connect to the configuration server
« Reply #2 on: December 03, 2021, 01:54:21 AM »
Good idea is to ask for CfgServer logs so you can see exactly why the error.


Offline nuttakorn

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: PSDK: Cannot connect to the configuration server
« Reply #3 on: December 03, 2021, 01:45:57 PM »
Many thanks for your help. I can fix the problem by change application name.
It doesn't exist on configuration server.