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

Offline newsG

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
PSDK: Cannot connect to the configuration server
« on: December 02, 2021, 02: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();[/quote]

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

Thanks in advance

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: PSDK: Cannot connect to the configuration server
« Reply #1 on: December 02, 2021, 03:23:12 PM »
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: 7639
  • Karma: 56330
Re: PSDK: Cannot connect to the configuration server
« Reply #2 on: December 02, 2021, 04:54:21 PM »
Good idea is to ask for CfgServer logs so you can see exactly why the error.


Offline newsG

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