"None of the items in the selection are valid for this.

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

Moderator: SourceGear

Post Reply
Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

"None of the items in the selection are valid for this.

Post by Dino » Thu May 26, 2005 9:07 pm

None of the items in the selection are valid for this operation.

Could have fooled me. Its a new file in a project, and I want it in Vault too - any way to convince Vault that it is valid for a checkin operation?

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri May 27, 2005 7:51 am

Sorry - need more context. Where is this message appearing, and what actions are you attempting? Also, what version of Vault are you running?

Thanks,

Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

Post by Dino » Fri May 27, 2005 2:56 pm

Sorry - not thinking straight.

New files I've just added to the Web project (using the standard Add/New WebForm).

I click Check In on the Web project, and it checks in all the other files, and leaves these ones. If I right click on them individually and select Check In, it gives me at above message.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Mon May 30, 2005 1:40 pm

What version of Visual Studio and Vault are you using?

This appears to be Visual Studio that is preventing the operation, but the question is why does it think it can't be checked in?

Did it successfully add the file to source control (and update the project file). Generally when a new file is added to a project, it will automatically put the file and the changed .csproj file in the pending change set (and you have to commit the operation to update the repository).

Does the file ever make it in the repository?

Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

Post by Dino » Mon May 30, 2005 2:19 pm

2003 and 3.07

I added the flie, and it had a dark red tick beside it - just like every other file, however it wouldn't add it to Vault.

I manually added it to Vault, and now it seems fine, however I have other files that it flatly refuses to ever add to Vault - no matter what I do, they're invalid, I can add them delete them whatever, but they simply won't be recognised as a valid file for Vault - and it's Global.asax.cs, so not exactly an uncommon file.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue May 31, 2005 9:02 am

If I could reproduce this, it would be easier to figure out what is happening. Does this generally happen for all users of this project (e.g., is it related to this project, or does it happen on a lot of projects, but just for some users?).

Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

Post by Dino » Tue May 31, 2005 2:05 pm

It seems to be mostly a problem in this project, but then it is the project I work on 90% of the time...

Post Reply