VS 2005 crashes

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

Moderator: SourceGear

Post Reply
ndewitt
Posts: 3
Joined: Wed Feb 01, 2006 11:58 am

VS 2005 crashes

Post by ndewitt » Wed Feb 01, 2006 12:01 pm

I have two machines, laptop & desktop. both have same version of VS 2005. On the laptop I created a C++ project and edited some files. I copied the folder to my flash drive and went to my desktop.

On the desktop machine I copied the files from the flash drive to the local HD and put them into source control (Sourcegear Vault). I made a number of edits/checkins. When I was done I erased the files on the flash drive and copied my new files from the desktop HD.

On my laptop, I copied the files on my flash drive to the local HD, overwriting what was there before. Now opening the solution causes VS 2005 to crash. It doesn't matter if I double-click the .sln or if I open the recent project or if I browse to the project. Crashes every time.

Is this because there's source control info with the files now? Anyone know how I can get rid of this? Do I need to load the Vault client on my laptop to fake out VS into thinking the source control stuff is there, even though I wouldn't be able to connect to my repository? I don't know at the moment what version I'm using with the desktop - I'll post a follow up with that info.

Thanks.

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

Post by dan » Wed Feb 01, 2006 12:23 pm

Yes, there would have been source control info attached to the project files after they were added to source control, as well as binding info that would be specific to the location of the project on your desktop.

What kind of crash are you getting? Usually if VS can't load source control, you can continue after the error dialog and no harm is done.

However, if you are going to develop on both your laptop and your desktop, you should load Vault onto both, and use it on both. You'll need to do an Open From Source Control on the laptop to get your bindings correct, and to pull the files from source control the first time you use it. After that, doing Gets should work fine to get the latest version of files checked into Vault.

ndewitt
Posts: 3
Joined: Wed Feb 01, 2006 11:58 am

Post by ndewitt » Wed Feb 01, 2006 12:27 pm

I believe it's a bona fide crash.
"Microsoft Visual Studio has encountered a problem and needs to close."

I can include information from the error report, if that would be helpful.

Tonight I will load the vault client on the laptop, but I would like to know why it is causing VS to crash. I should at least be able to view my files. I have to use Notepad to look at them.

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

Post by dan » Wed Feb 01, 2006 12:55 pm

If Vault is not on your laptop at all, then it isn't hitting any Vault code that would cause the problem. Visual Studio must be expecting something that isn't there, and not handling the error very well.

ndewitt
Posts: 3
Joined: Wed Feb 01, 2006 11:58 am

Post by ndewitt » Wed Feb 01, 2006 12:59 pm

It sounded like a VS problem to me, but I was hoping for an easy fix.

Ah well, I'll install the client tonight and hopefully that will fix what ails me.

Thanks.

Post Reply