You must initialize the primary Microsoft SQL Server so that Replication Agent can open the supplemental log of a table or procedure that is marked for replication. Do this only once for each primary data server.
When initializing the primary data server and Replication Agent for the first time:
sp_configure 'remote admin connections', 1 GO RECONFIGURE GO
To execute sp_configure with both parameters to change a configuration option or to run the RECONFIGURE statement, you must be granted the ALTER SETTINGS server-level permission. This permission is implicitly held by the sysadmin and serveradmin fixed server roles.
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2007-11-09 13:40:02.40 Server Dedicated admin connection support was established for listening locally on port 1348.
ra_config pds_dac_port_number, port
where port is the DAC port number you recorded.
"C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe” -m -s instanceName
where instanceName is the name of the Microsoft SQL Server instance.
server_xlog init ra_admin init
In the primary database, Replication Agent creates tables, procedures, and triggers. The sp_SybSetLogforReplTable, sp_SybSetLogforReplProc, and sp_SybSetLogforLOBCol procedures are created in the mssqlsystemresource database with execute permission granted to Public.
Start other Microsoft SQL Server services, such as Microsoft SQL Server Agent service or the Microsoft SQL Server Analysis Service.