Error when I disable vault as default source control

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Guest

Error when I disable vault as default source control

Post by Guest » Mon Aug 23, 2004 4:59 pm

I would like to use Vault without being integrated into the ide (.net 2003). When I used the Vault Client and disable the option to disable Vault as default source control I then get an error when opening my project in .net

I simply want to use the vault client now not integrated into the IDE

Vault v2.0.4

Error:
The solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Mon Aug 23, 2004 7:56 pm

Did you unbind your solution from Source Code Control before removing the option?

You may need to re-enable Vault as the Default SCC provider to re-enable the SCC menus from within VSS, but once you've done so, you should be able to Use File -> Source Control -> Change Source Control, and then unbind the projects.

HTH
Jeff Clausius
SourceGear

dennybreck
Posts: 2
Joined: Mon Aug 23, 2004 4:55 pm

Post by dennybreck » Mon Aug 23, 2004 8:45 pm

I did not remove the binding before I had origionaly deselected the option. As you suggested I re-enabled the option and looked at the binding properties. I did find one file that was boud.

Upon unbinding I still get the same messages. Now all projects and solutions from the source tree show no binding but they still open with the same error.

Is there a way to clear the flag forcefully?

I would hate tp have to rebuild the project and solution tree to get rid of the error.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Mon Aug 23, 2004 9:27 pm

dennybreck wrote:Is there a way to clear the flag forcefully?
If you've examined your solution / projects (in a text editor), do you notice any SCC binding info? If so, remove it. (Before editing, make a backup of the files just in case). Do you have any *.vspscc files in the repository? If so, you might want to remove them as well.

Also, you may want to remove any MSSCCPRJ.SCC and *.vspscc files in your working folders. Better yet, if the repository is clean of any of the VS.Net SCC bound info, you could do a fresh get to a new working folder.

Have you done a usenet search for this type of problem? I ran across this post. Although the problem is about VS.Net and VSS, the same info applies to Vault:
Removal from Source Control

HTH
Jeff Clausius
SourceGear

dennybreck
Posts: 2
Joined: Mon Aug 23, 2004 4:55 pm

Post by dennybreck » Tue Aug 24, 2004 11:03 am

Thank you I was able to manually clear the information. The files had the text below in them. Upon clearing that and confirming the source control files were removed from the tree it did work.

csproj file
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"


SLN file
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 3
SccProjectUniqueName0 = ..\\..\\Common\\Library\\Library.csproj
SccProjectName0 = $/Code/DiscoveryLearning/Library
SccLocalPath0 = ..\\..\\Common\\Library
CanCheckoutShared = false
SccLocalPath1 = .
CanCheckoutShared = false
SolutionUniqueID = {3FF5ACCF-5B3F-4EFE-9CDE-B51A65370891}
SccProjectUniqueName2 = DB\u0020Test.csproj
SccLocalPath2 = .
CanCheckoutShared = false
EndGlobalSection

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Aug 24, 2004 11:26 am

Sometimes VS.Net doesn't play very nice with project / solution files.

I'm glad to see you were able to resovle the problem.
Jeff Clausius
SourceGear

Post Reply