Skip to Content
0
Former Member
Jul 20, 2013 at 12:57 PM

Application registration status never becomes REGISTERED (203)

55 Views

Hi,

As far as I know, app.RegisterApplication() command creates Application Connection on SUP server.

And after this command every subsequent start of application should return REGISTERED(203) status in app.RegistrationStatus property.

But in our case app.RegistrationStatus is always equal to UNREGISTERED(205) after application relaunch, while it permanently exists in "Application Connections" tab of SCC:

According to Registering application gudelines it is necessary to call RegisterApplication() only once, all subsequent application startups should use app.StartConnection() method (http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01726.0213/doc/html/jne1319742325439.html). But in our case we always call RegisterApplication(), because of the condition:

if (app.RegistrationStatus != RegistrationStatus.REGISTERED)

{

app.RegisterApplication();

}

else

{

app.StartConnection();

}

The question is why don't we get REGISTERED status of application in the case?

Thanks, Andrew

Attachments

SCC.jpg (103.3 kB)