Hi All,
Greetings.
We just started to build a client side webpage to showcase to a prospect how the chat works over the web. We are using the samples provided for alongside demo image provided by Genesys (I know there's a webpage that comes pre-built using which the same can be showcased, but we have to do some changes to that and show some more stuff on the webpage due to which we need to build a new one from scratch). Now Here's what we are doing:
[b][u] Asp Page that is being used to create the connection to the loadbalancer: [/u][/b]
string strconfigServerHost = ConfigurationManager.AppSettings["configServerHost"];
int intconfigServerPort = Convert.ToInt32(ConfigurationManager.AppSettings["configServerPort"]);
string strbackupConfigServerHost = ConfigurationManager.AppSettings["backupConfigServerHost"];
int intbackupConfigServerPort = Convert.ToInt32(ConfigurationManager.AppSettings["backupConfigServerPort"]);
string strconfigServerAppName = ConfigurationManager.AppSettings["configServerAppName"];
LoadBalancer.Init(strconfigServerHost, intconfigServerPort, strbackupConfigServerHost, intbackupConfigServerPort, strconfigServerAppName);
[b][u]web.config File Contents---[/u][/b]
<add key="configServerHost" value="demosrv.genesyslab.com"/>
<add key="configServerPort" value="2020"/>
<add key="backupConfigServerHost" value="demosrv.genesyslab.com"/>
<add key="backupConfigServerPort" value="2020"/>
<add key="configServerAppName" value="<Name of WebServerSample App that comes pre-built with demo image>"/>
Now When we are doing the LoadBalancer.Init and supplying the credentials as picked from web.config file. But the LoadBalancer doesn't get initialized.
My Queries:
[list type=decimal]
[li]What are we doing wrong in this?[/li]
[li]Do we have to first initialize the Config Server connection first and then the LoadBalancer?[/li]
[/list]
Appreciate an earnest response.
Thanks,
Upkar S