Microsoft KB Archive/314514

= HOW TO: Synchronize Mobile Databases by Using SQL Server CE Relay =

Article ID: 314514

Article Last Modified on 3/29/2007

-

APPLIES TO


 * Microsoft SQL Server 2000 Windows CE Edition 1.1
 * Microsoft ActiveSync 3.1

-



This article was previously published under Q314514



IN THIS TASK
SUMMARY
 * How to Run Relay
 * How to Configure Relay to Run Automatically
 * How to Stop Relay

REFERENCES



SUMMARY
This guide is for users of Microsoft SQL Server 2000 Windows CE Edition version 1.1 (SQL Server CE) who want to use SQL Server CE Relay to synchronize their mobile database. Relay enables mobile users to update their SQL Server CE data without the use of a network connection on their device. You can communicate with a remote SQL Server system by connecting through a serial, IR, or USB connection to a networked desktop.

back to the top

How to Run Relay
You can configure Relay to start automatically or manually. You run Relay on your networked desktop system, which has a connection to your SQL Server database. To run Relay, follow these steps:
 * 1) At the command prompt, change to the C:\Program Files\Microsoft SQL Server CE\Relay folder by typing: cd &quot;\Program Files\Microsoft SQL Server CE\Relay &quot; (without the quotation marks)


 * 1) At the prompt type

SSCERelay /clientport /servername /serverport

where:

is the port on which the mobile device listens.

is the server or proxy server.

is the port on which the desktop system listens.

back to the top

How to Configure Relay to Run Automatically
You configure Relay to run automatically by adding the /register parameter to the end of the command line.

At the command prompt type:

SSCERelay /clientport /servername /serverport /register

where:

is the port on which the mobile device listens.

is the server or proxy server.

is the port on which the desktop system listens.

NOTE: The /register option registers Relay to run every time an ActiveSync connection is made.

back to the top

How to Stop Relay
You can stop Relay from running by using the /stop parameter at the command prompt.

At the command prompt, type:

SSCERelay /stop

back to the top

