Does your connection string contain a double-slash between the server name and the database instance name?
eg. localhost\\SQLEXPRESS
It should be: localhost\SQLEXPRESS
See:
http://www.hanselman.com/blog/CommentView.aspx?guid=89c01cae-e045-4b06-bff1-8dd2d596e266