Skip to Content
author's profile photo Former Member
Former Member

Application registration status never becomes REGISTERED (203)


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 ( But in our case we always call RegisterApplication(), because of the condition:

if (app.RegistrationStatus != RegistrationStatus.REGISTERED)








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

Thanks, Andrew

SCC.jpg (103.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 21, 2013 at 03:00 PM

    You should get the registered status from the second time when you run the app. From the second time the the condition goes to else loop.

    Can you please provide the complete code, to understand where you are doing the mistake.

    - Midhun VP

    Add a comment
    10|10000 characters needed characters exceeded

    • I know that this thread is probably dead, but I would like to share my solution while it helped me in my Win32 client. My symptom was that I get a slightly different error (I left it for web crawlers):

      OnConnectionStatusChanged: 105, 3952, Error: 3952 Detail: A database error occurred. See native error code. Source: moRecordset.cpp 1787.

      To overcome the error, I have reduced the page size that was set by SMP SDK from 8k to 1k:

      static SAPReXDB() {

      Sybase.Persistence.ConnectionProfile _cp0 = Sybase.Persistence.ConnectionProfile.Find(_profile.GetName());




      _profile.SetProperty("databaseFile", "sAPRetailEx3_3.udb");

      _profile.SetProperty("enableStreaming", "true");

      GetConnectionProfile().PageSize = 1024; // it was 8192


  • author's profile photo Former Member
    Former Member
    Posted on Nov 27, 2013 at 11:25 AM

    Hello guys,

    I am experiencing the same identical problem on SUP 2.2.4.

    Any suggestions?

    Thank you

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.