I found a solution to this problem, noting that the βremoteβ database connections were again displayed in Server Explorer when I opened the solution file (I previously had VS to open the last project at startup).
So, knowing that this should be something in the solution, I was looking for files, and I have a database project that contains build scripts, etc. In this project, there is a section "DBRefFolder" in the * .dbp file. The "excluded" database links were here, and when I deleted them, everything was fine.
It's a little annoying that VS is not deleting these entries properly, but at least I have a solution.
The following is an example from a * .dbp file:
Begin DataProject = "SQL Server Databases" ... ... ... ... Begin DBRefFolder = "Database References" Begin DBRefNode = "Name" ConnectStr = "Data Source=XXX;Initial Catalog=YYY;Integrated Security=True" Provider = "{91510608-8809-4020-8897-FBA057E22D54}" Colorizer = 6 End ... ... ... ... End End
source share