Visual Studio 2008 Client : Item been added with same key...

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

Moderator: SourceGear

Post Reply
heysad
Posts: 18
Joined: Wed Aug 18, 2004 5:39 am

Visual Studio 2008 Client : Item been added with same key...

Post by heysad » Mon Nov 23, 2009 8:21 am

...or a very similar message, got this after renaming a project and it's namespace and fixing the appropriate references.

Checked in via Windows Client as opposed to the VS client and did not get the same message:(

Could someone explain why I'm getting this behaviour?

Thx

- Andy

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

Re: Visual Studio 2008 Client : Item been added with same key...

Post by lbauer » Mon Nov 23, 2009 3:37 pm

What version of Vault are you using? What type of project is this?

We've seen this error in earlier versions of Vault with solutions having more than one Business Intelligence project.

Let me know if your situation is different.
Linda Bauer
SourceGear
Technical Support Manager

heysad
Posts: 18
Joined: Wed Aug 18, 2004 5:39 am

Re: Visual Studio 2008 Client : Item been added with same key...

Post by heysad » Tue Nov 24, 2009 2:42 am

Hi Linda,

Fotresss client version is 4.0.1 (18729).

It would have been either a Winforms of Class Library project. No business intelligence projects in the solution.

FYI there was a Vault Client (v5 I believe) on this machine which I was using to connect to a Vault server on another remote server. This client has now been uninstalled, i.e. after the Fortress client was installed. Just though I'd mention it in case it was relevant!

Thx

- Andy

heysad
Posts: 18
Joined: Wed Aug 18, 2004 5:39 am

Re: Visual Studio 2008 Client : Item been added with same key...

Post by heysad » Tue Nov 24, 2009 5:41 am

The other thing that is a little odd is that when I go into the Windows Client and opt for a check in there are a number of files that broke the size limit and failed.

The interesting thing is that several of these items for check in relate to the same file and one of them doesn't have any info in the size column.

Even if this is not causing the issue I would like to get rid of them. How would I do that?

Thx

- Andy

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

Re: Visual Studio 2008 Client : Item been added with same key...

Post by lbauer » Tue Nov 24, 2009 1:35 pm

You probably have "orphaned" items in the pending change set. Details here:

http://support.sourcegear.com/viewtopic.php?p=26479

Regarding the Visual Studio error, I'd recommend upgrading, as we've fixed a lot of Visual Studio integration issues since 4.0.1. You could upgrade at least to Vault 4.1.4 -- it's free since you have Vault 4.x. Or for an upgrade fee, you could upgrade to Vault 5.0. It's best to troubleshoot with the latest version, as you may be experiencing a bug that's already been fixed.
Linda Bauer
SourceGear
Technical Support Manager

heysad
Posts: 18
Joined: Wed Aug 18, 2004 5:39 am

Re: Visual Studio 2008 Client : Item been added with same key...

Post by heysad » Tue Nov 24, 2009 1:44 pm

Hi Linda,

I'm causing some confusion I think!

I'm working on client site and already hadaccess to a Vault server. Used that for a while, then got a Fortress trial for my client.

After I'd installed the latest Fortress client I uninstalled the Vault client.

Vault client and Fortress client are pointing at completely different servers.

All Fortress installs were downloaded less than two weeks ago.

Regards.

- Andy

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

Re: Visual Studio 2008 Client : Item been added with same key...

Post by lbauer » Wed Nov 25, 2009 5:03 pm

Yes, it was a bit confusing.

So you are using Fortress 2.0? Was your VS 2008 project previously integrated with Vault? Or have you only used it with Fortress integration?
Linda Bauer
SourceGear
Technical Support Manager

heysad
Posts: 18
Joined: Wed Aug 18, 2004 5:39 am

Re: Visual Studio 2008 Client : Item been added with same key...

Post by heysad » Thu Nov 26, 2009 3:21 am

The solution itself was under VAULT source control IIRC.

The projects may well have been, have been doing a lot of refactoring and splitting stuff out to seperate projects (namespaces) so not 100% sure.

Saying that, the entier original code base was source controlled under Vault.

Thx

- Andy

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

Re: Visual Studio 2008 Client : Item been added with same key...

Post by lbauer » Fri Dec 04, 2009 11:59 am

Let's start over. Are you still having the problem? Is it reproducible?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply