Stack tracing error at startup when sort order is not in the objectid.dat file

[CR #616941] If the sort order is not set correctly in the [collate] section of %SYBASE%\ini\objectid.dat, a stack trace error occurs at Replication Server startup.

Workaround:

  1. Make sure that the character set and set order have been set correctly in Rep_Server_name.cfg file. For example:

    • RS_charset=cp850

    • RS_sortorder=scannocp

  2. Go to %SYBASE%\charsets\<character set> directory; for example, %SYBASE%\charsets|cp850 directory.

  3. Locate and open corresponding sort order file; for example, scannocp.srt.

  4. Check the line that has an “id” and find the sort order ID, for example,

     id = 0x30; Unique ID # (48) for the sort order 
    

    Note that the sort order ID is 48.

  5. In %SYBASE%\ini\objectid.dat, check that there is a line for that sort order under the [collate] section:

    1.3.6.1.4.1.897.4.9.3.48 = scannocp
    

    The last number is the sort order ID (48), all other numbers are identical for all lines. If you have a custom sort order, add this line for it.

  6. Restart Replication Server.