Web project removed from source control

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

Web project removed from source control

Post by Dino » Mon Apr 11, 2005 11:13 pm

When I open my solution, I now get this error:

The source control binding information has been removed for project ExtraMile.iChange.Web. The project will be opened without source control.

Followed by:

The project 'ExtraMile.iChange.Web' is under source control. An error occurred registering this project with source control. It is recommended that you do not make any changes to this project.

If I open the project on it's own, it's just fine. But not as part of the solution. Also, the solution itself seems to have been removed from source control as well, and even though it will show as "valid" when trying to re-connect it, it get an "---- Operation terminated with error at time 17:15:24 ----" and it won't reconnect.

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

Post by dan » Tue Apr 12, 2005 7:14 am

What happend prior to the web project not loading in source control?

Did someone check in a new version of the solution with SCC integration turned off?

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

Post by Dino » Tue Apr 12, 2005 7:24 am

Um - have to pass on that one. I have no recollection of having done that, and I doubt Kate can tell me either. She's the only other developer on the project.

Thing is - why can't I re-connect my solution to source control etc? Everything just comes up with "The operation could not be completed".

Any chance of getting meaningful errors even if they are just a stack trace or something? I'm getting this a lot and am getting damn sick of it...

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

Post by dan » Tue Apr 12, 2005 7:31 am

There is a way to log IDE info, but often that doesn't reveal much info. See http://support.sourcegear.com/viewtopic.php?t=2898 for more info.

It sounds like SCC info got stripped from the solution file. Check inside that file (in notepad) and search for "SCC" and see if anything comes up. Also, check the Vault history to see if it used to be there (by diffing versions).

You might be able to get it to work by going into Change Source Control and rebinding it from there...

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

Post by Dino » Tue Apr 12, 2005 7:35 am

Lots comes up when I look in the sln file for SCC... heaps of lines.

As for "Change Source Control" that's precisely what doesn't work. I get the classic "The operation could not be completed" error. So useful.

M4
Posts: 10
Joined: Mon Apr 11, 2005 12:06 pm
Location: AZ
Contact:

I have the same problem

Post by M4 » Tue Apr 12, 2005 7:41 am

Dino,

I have the *EXACT* same problem that has not been solved yet.

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

Post by dan » Tue Apr 12, 2005 8:13 am

In situations like this, there isn't much info to go on to debug it. Visual Studio simply reports that the binding didn't work.

You could send the solution to me and I can try it out. Also, you could rebuild the solution file and if it works, just check it in on top of the existing one. If this works, it would be interesting to compare the contents of the working solution file against the non-working one to see what happened.

code
Posts: 19
Joined: Mon Jun 19, 2006 10:19 am

Exact same problem

Post by code » Mon Jun 19, 2006 10:35 am

I have just come across a strange version of this on one of the projects I have been working on.

I have worked on the project consisting of a solution of 6 projects for the last 4 months. Yesterday I loaded the solution file and one of the projects complained that the source gear binding information could not be found and it would be opened without source control. This was strange as it opened fine the day before and it has never been removed from source control since I created it.

If this happened in the past, I selected change source control from the file menu and bound the project again, however, on this occasion, I just received an alert saying "The operation could not be completed". I get this when trying to change any of the projects in the solution.

A second developer on the project can open the solution without any problems and change source control.

Whenever I try to change source control, I just get the error popup. I tried enabling logging for the IDE client, but there were no visible errors in there, just lines and lines of logs for all the operations that were being performed.

Has anyone managed to resolve this issue at all?

Thanks

code
Posts: 19
Joined: Mon Jun 19, 2006 10:19 am

Update

Post by code » Mon Jun 19, 2006 10:45 am

I can change the source control fine for other solution files. It must be related to the solution file of the offending project.

Could it, or any of the projects in it, been corrupted in any way?

Thanks

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

Post by lbauer » Mon Jun 19, 2006 12:06 pm

You could try backing up your local files and doing a fresh "Open from Source Control" for the solution. This will fetch the project and create the necessary bindings again.
Linda Bauer
SourceGear
Technical Support Manager

code
Posts: 19
Joined: Mon Jun 19, 2006 10:19 am

It worked

Post by code » Tue Jun 20, 2006 4:10 am

Many thanks,

That seemed to work. I don't what could have happened to my original solution and project files but whatever it was, VS didn't like it.

Thanks

Post Reply