The Database Mirroring sample shows you how to deploy and test Database Mirroring.

Please note that you must have the Pubs database on your server in order for the sample application to work and have enabled database mirroring using the 1400 trace flag.  Please refer to the chapter on how to turn on database mirroring using the trace flag.

To download the pubs database, please download the scripts for Pubs from the following location http://www.microsoft.com/downloads/details.aspx?FamilyID=06616212-0356-46a0-8da2-eebc53a68034&displaylang=en


To run the application, perform the following steps:

1) Double click the DatabaseMirroring.sln file to load the application into Visual Studio 2005.

2) Hit ctrl-F5 to start the application without debugging.

3) Follow the instructions on the screen to configure and test Database Mirroring.
