The VS 2005 June CTP does not have a corresponding SQL Server 2005 CTP.

The SQL Server 2005 June CTP is based on the VS 2005 Beta 2 bits so if you want to use VS and SQL Server, please use this combination.

I've seen a few questions about this on the newsgroups.