You can generate Replication Server scripts (*.sql) for the replication process, and/or for the primary and remote databases.
In order for you to connect properly to the replication process you must verify that:
The code of the replication process object corresponds to the instance name of the Replication Server
The User name and Password extended attributes correspond to the Replication Server login user name and password
Each database has been generated using one of the Generate commands from its contextual menu
isql.exe -e -U USRNAME -P PWD -S SVR_TEST -i SVR_TEST.sql