" /> Configuration Platform SDK problem - Genesys CTI User Forum

Author Topic: Configuration Platform SDK problem  (Read 5030 times)

Offline mmullings

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Configuration Platform SDK problem
« on: January 25, 2009, 07:29:32 AM »
Advertisement
Hi All

I am writing a service that connects to the Config Server but I keep getting the message: "Application not found"
I checked the Config Server Console and I see the error:

Configuration Server Error : Error  [CFGAppSecurityViolat
ion], object [CfgApplication], property [DBID] Description Application not found

I have created a template type "ThirPartyApp" called customservice and application called "MyService" based on it. I have also verified the application "MyService" as in fact created in the cfg_application table. The code is as follows for 7.2 .NET SDK:


tServerProtocol = new ConfServerProtocol(
new Endpoint(
tServerName,
tServerUri));

tServerProtocol.ClientType = ConfServerClientType.ThirdPartyApp;
tServerProtocol.ClientName = "MyService";
tServerProtocol.UserName = "default"; efault";
tServerProtocol.UserPassword = "password";                tServerProtocol.Open();

Thanks nad advance

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Configuration Platform SDK problem
« Reply #1 on: January 25, 2009, 08:47:04 PM »
Hi,

Could you post here Configuration Server debug log (from initial connection to error occurrence) and and version of used Platform SDK?

R.

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Configuration Platform SDK problem
« Reply #2 on: January 27, 2009, 12:24:17 AM »
We had a similar problem about two years ago... Let me dig through our journals and see what was the cause! But it was something very trivial (like application type had to be something else...)

Offline mmullings

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Configuration Platform SDK problem
« Reply #3 on: February 04, 2009, 09:41:34 PM »
Thanks guys for your help

I found out the problem was a result of an incorrect API call I made after cerating the link.

Thanks a bunch!

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Configuration Platform SDK problem
« Reply #4 on: February 05, 2009, 05:16:40 AM »
Just for the record: what was the correct call?

Offline mmullings

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Configuration Platform SDK problem
« Reply #5 on: February 26, 2009, 05:28:47 PM »
The port above was actually correct. The problem was with an ilegal call I made afterwards.

Thx