Project node count mismatch, error when rebinding

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

Moderator: SourceGear

lassevk
Posts: 19
Joined: Fri Apr 16, 2004 2:02 am

Project node count mismatch, error when rebinding

Post by lassevk » Mon Jun 04, 2007 12:56 am

I followed the description in another post here on how to change the source control provider up to the 2005 version and was able to do so right up until the point where I select the Bind menu item on the context menu of the solution.

This just gives me the following error message:

---------------------------
Microsoft Visual Studio
---------------------------
Project node count mismatch
---------------------------
OK
---------------------------

The first time I do this after opening up visual studio it takes a few seconds before it gives me the error, which also comes in a tool-window-like window, but the second time it gives me the normal message box window.

For the time being I'll just do an undo checkout and reload from source control and keep the 2003 version but I'd very much like to know what to look for so that I can upgrade.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Jun 04, 2007 9:34 am

What specific steps were you using to change to the new 2005 binding?

What type of project is this? Is it a web project?
Linda Bauer
SourceGear
Technical Support Manager

egli
Posts: 16
Joined: Tue Jul 25, 2006 10:34 am

Re: Project node count mismatch, error when rebinding

Post by egli » Mon Jun 04, 2007 4:27 pm

[quote="lassevk"]I'd very much like to know what to look for so that I can upgrade.[/quote]

To re-bind the solution, we now have a recomended set of steps at the following KB article:

http://support.sourcegear.com/viewtopic.php?t=7937

Please try re-binding using those steps and let us know if you still get the same error message.

lassevk
Posts: 19
Joined: Fri Apr 16, 2004 2:02 am

Still same result

Post by lassevk » Tue Jun 05, 2007 2:14 am

Yes, I still get the same problem, right after this step:

-- Right-click on the solution and select "Bind" from the context menu.

I'll try manipulating the solution to try to figure out if there's a specific problem that is causing the problems.

lassevk
Posts: 19
Joined: Fri Apr 16, 2004 2:02 am

No-go

Post by lassevk » Tue Jun 05, 2007 2:30 am

The only way to get the bind command to complete is to remove about half of the projects. I've tried narrowing it down to a specific project but it doesn't seem to care which one is the last I remove.

The solution contains about 6 application projects, 18 class libraries and a setup project, as well as some sundry solution files (some html files and similar that have been added to the solution).

lassevk
Posts: 19
Joined: Fri Apr 16, 2004 2:02 am

Solution folders is unsupported

Post by lassevk » Tue Jun 05, 2007 2:54 am

The bind command does not handle solution folders.

Right-click the solution and make a "Solution folder" and then try to bind it, you'll get the error message.

I had to remove all non-project files from the solution, move all projects out of their folders (solution folders are virtual folders only existing in the solution file, not on disk), and then remove all the folders, then I was able to bind.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Jun 06, 2007 3:38 pm

lassevk,

Thanks for your help in tracking this bug down. I've emailed you details on where to download a pre-release build of Vault 4.0.1 to see if it corrects your problem with solution files and solution folders. Please post here if it gets you working again.

evelasquez
Posts: 6
Joined: Mon Jun 04, 2007 12:33 pm

Post by evelasquez » Sat Jun 09, 2007 1:56 pm

Jeremy, I have the same issue. Can you email me the link too? BTW, I have Gold support.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Sat Jun 09, 2007 3:35 pm

I've sent an email with the download information.

neal007
Posts: 225
Joined: Tue Feb 17, 2004 10:13 am

Post by neal007 » Sat Jun 09, 2007 6:15 pm

Why is the download secret? Public beta may be a valuable lesson learned out of this. State it's not production, but in this case it is better than production! Often vendors post "interim" builds under the understanding it's not a production release.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com

Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64

VB.NET Forums: http://www.vbdotnetforums.com

gmagana
Posts: 145
Joined: Wed Feb 18, 2004 10:51 am
Location: Santa Ana, CA, USA

Post by gmagana » Sat Jun 09, 2007 6:47 pm

Well, I suppose it's private because people like me will assume that the .0.1 versionis out and will happily download and install it, only to have it break something (it's not done yet, right?)... Then I will come here and complain loudly even though my expectations were too high, as I have in the past :(
gabriel magana-gonzalez

GregM
Posts: 485
Joined: Sat Mar 13, 2004 9:00 am

Post by GregM » Sat Jun 09, 2007 7:28 pm

Neal, there was a public beta of Vault 4.0.

Not all pre-release versions are fit for public consumption, even when marked as beta.

Edit: oops, I thought there had been a public Vault beta along with the Fortress beta.
Last edited by GregM on Mon Jun 11, 2007 8:39 am, edited 1 time in total.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Sat Jun 09, 2007 8:01 pm

The download is not yet public, because we haven't yet released 4.0.1. There have been many issues that came up over the last week since we released 4.0.0. I didn't want to release several 4.0.x's in the space of a week. The release of 4.0.1 will happen early this week.

There was a public preview of Fortress for months, which had all of these bugs that have been reported only now after release. This points out that if there had been a preview of Vault 4.0, we would have gotten much more use, and therefore much more useful bug reports. Consider this a lesson that has been learned by me.

gmagana
Posts: 145
Joined: Wed Feb 18, 2004 10:51 am
Location: Santa Ana, CA, USA

Post by gmagana » Sat Jun 09, 2007 8:15 pm

I can confirm this bug on solutions that have "Solution folders" which are folders within the solution (used to organize projects within a solution). Having any solution folders causes this error, regardless of whether or not there are any projects within the solution folder.

The work around for me was (as part of a migration from the 2003-style binding):

- At the point when you are about to right click on the solution file (within the VS2005 IDE) to click on "Bind", drag and drop all the projects in the solution folders to the root of the solution.

- Delete all the solution folders

- Right click on the solution and click on "Bind." All should bind OK.

- Check in the solution. Reload if so prompted. The physical path of the projects should not have changed, nor should the location of the projects within Fortress... Check for this with the Fortress client.

- Now, recreate your solution folders and re-add the projects to the appropriate solution folders.

- Check in, and re-verify that all the files are where they should be.

Hope this helps someone...
gabriel magana-gonzalez

John C
Posts: 12
Joined: Fri Jun 03, 2005 3:01 am

Post by John C » Mon Jun 18, 2007 3:28 am

I'm still experiencing the 'project node count mismatch' error when rebinding a solution using the 2005 provider using the instructions mentioned in the knowledgebase article with Vault 4.0.1 in case you're interested. The only way I could successfully rebind the solution was to remove all projects and solution files, rebind the solution and add the projects and solution files again. Bit of a pain!

Post Reply