To be productive i need to be able to do my development on more than one machine. When i'm home i develop on my main workstation but when i'm on the road i use my notebook. I can't use the sql server on my home network of course because i wouldn't have access when i'm on the road. I've tried to use an attached mdf file and sync my development folder between my workstation and my notebook but i always run into issues connecting to the mdf file. I don't remember all the error messages that i've got. I do remember having to delete the TR log file and have sql server recreate it in the past to solve the problem. Is there a better way?
You are scripting all of your work to an .SQL file, aren't you? If this is a brand new application, you should have scripts to DROP and CREATE the database, create all security accounts, create all schemas, create all database objects, etc. Then you just need to keep adding your development to the script, and run the whole thing against the current SQL Server you are using to make it up to date.
If you are working on an existing application, then you just need to script your changes for the current release. Syncing would consist of restoring your copy of the production backup and running your script with the changes.