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
Waylander1970
Posts: 10
Joined: Thu Jan 19, 2006 5:11 am

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

Post by Waylander1970 » Thu Jan 19, 2006 5:18 am

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

I get this occasionally when I close a solution, no other feedback or issues though.

Ryan

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

Post by gmagana » Thu Jan 19, 2006 2:41 pm

I just ignore it... It's either a VS bug or a Vault bug... I get it when I have VS configured to automatically check in everything when I close a solution and nothing is checked out (hence there are "no valid elements" to check in).
gabriel magana-gonzalez

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

Post by gmagana » Thu Jan 19, 2006 5:12 pm

I've tried to make this happen predictably for Vault people to test (if they choose to)... I have only been able to make it happen on a rather narrow set of circumstances:

1) Create a web project, add it to source control. Create is as a c# project so you can use code-behind coding style (a .cs file will be generated for every .aspx file).

2) Add a couple ASPX pages.

3) click the "+" sign by one of the pages so that the .CS filename is displayed. Do a check out on that file.
Sidebar Note: At this point I always get a Vault error message: "Check out failed for XXX.aspx: You already have the file checked out." I guess someone's trying to check out the .aspx file twice. After dismissing the error message, the .aspx file appears to not be checked out (it has the lock icon by it), but in reality it is checked out, as confirmed by clicking "Refresh Status" on the VS2005 "Source Control" toolbar. Is this a fluke in my system, or is this a bug?
4) Now do a checkin or undo checkout and close the solution. You will get the "None of the items in the selection are valid for this operation" message.
gabriel magana-gonzalez

Post Reply