Whenever I open a saved query in SQL Server 2005, I get the "Connect to Database Engine" prompt even if I have an active database connection open. I had SQL Server 2005 installed on another computer and did not get this prompt every time (I just replaced that computer).

Any way to configure SQL Server Management Studio to not prompt me every time and connect to the last active database by default?