Prepare Your Content Database

Before moving a content database from one farm to another, remember to prepare the database with the STSADM tool.  Otherwise, you'll get a "Failure trying to synch web application" error. This blog describes this command in more details.