We have a SQL Server solution which is checked into Sourcesafe and contains
multiple projects. Whenever I open the solution, I get the following error
message:
"The project file myprojectfile.ssmssqlproj is not bound to source control,
but the solution contains source control binding information for it.
Do you want to open the project using source control binding information
from the solution or open it as unbound and fix the solution file?"
The message gives the options of "Use Solution Binding" and "Remove Solution
Binding". I always select "Use Solution Binding". This appears to work, but
the next time I open the solution, the error message reappears.
We also have the same issue when using SQL Server 2005.
Any help would be appreciated.
Thanks.
Catherine Sea
www.dynamsoft.com
Unfortunately I now get the following message whenever I open the project in
the SQL Server Management Studio;
"There appears to be a discrepancy between the solution's source control
information about some project(s) and the information in the project file(s).
To resolve this discrepancy it will be necessary to check out the project
file(s) and update them. If the check out fails, however, and the solution is
closed without saving, you will see this warning again the next time you open
the solution."
Puzzling. I'll investigate further.
"Dan" wrote:
> This is a bit of a hack and I'm working in SQL 2005 but it works:
>
> If you open the .ssmssqlproj file in a text editor for a project that is
> correctly binding you'll find 4 lines at the bottom of the file that
> reference the source control bindings (all starting with Scc). Copy those 4
> lines from the correctly bound project, then check the problematic projects
> out fo SourceSafe and then paste those 4 lines into the problematic project
> file. When you then open the solution in SQL Server Management Studio it
> will now be correctly bound and you can check the changes into Source Safe.