Error msgs. debugging project after adding to vault

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

Moderator: SourceGear

Post Reply
bmutch
Posts: 4
Joined: Thu Apr 13, 2006 9:36 am

Error msgs. debugging project after adding to vault

Post by bmutch » Thu Apr 13, 2006 11:29 am

I am having issues. First I tried to rename a project in vault and that caused too many issues to detal here, I'll deal with that in a later post. My main problem is detailed below.

If I try to add a VS 2005 group of projects to vault (not from within the IDE, but stand-alone), and then try to run from the IDE I am getting both of these error messages trying to run the solution in debug mode:

"The operation could not be completed. The process can not access the file because it is being used by another process"

note:
If I kill the "...vshost.exe" file in Task Mgr. , then the program will debug. but I must do this every time I restart debugging. If I disable the Visual Studio hosting process in the Project properties, then the program crashed due to some Security settings, I want to use the Visual Studio hosting process but it gives me this error when I add Source Control with vault to the project.

the 2nd error msg I often get is:
"Visual Studio could not copy a support file to this location: ...vshost.exe. Please verify the path exists and is writeable.

note: the file does exist and it is not read-only.

Can anyone help with these? We are looking at purchasing Vault but I can't recommend it if it is unusable.

Thanks.

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

Post by lbauer » Thu Apr 13, 2006 1:06 pm

Visual Studio projects should be added to Vault through Visual Studio->File->Source Control->Add solution to source control. This creates the proper bindings. From then on, you can just open the project normally.

Other users can then retrieve the project via File->Source Control->Open from Source Control, or for web projects, File->Open Website.
Linda Bauer
SourceGear
Technical Support Manager

bmutch
Posts: 4
Joined: Thu Apr 13, 2006 9:36 am

added solution from IDE

Post by bmutch » Thu Apr 13, 2006 5:26 pm

Thanks Linda,
it seemed to integrate a lot better using you method. I did still get those two error messages the first and second times I debugged in the IDE, then I killed the process again, and from then on I can seem to run okay w/o the error msgs. Still concerns me that I got them at the beginning though, but all will be well if they keep from appearing again.

Have you ever heard of anyone getting these error msg's before?

thanks again,
Bruce Mutch

bmutch
Posts: 4
Joined: Thu Apr 13, 2006 9:36 am

they're back

Post by bmutch » Thu Apr 13, 2006 5:30 pm

well I spoke too soon. I just edited one file in the IDE, tried to run the project, and got the messages ( both again).

Please let me know if you can help with this.
thanks.

bmutch
Posts: 4
Joined: Thu Apr 13, 2006 9:36 am

it was an issue running from the network

Post by bmutch » Thu Apr 13, 2006 5:58 pm

Well, all runs well if I copy the project from the network to my local drive, then add to vault, and run from my local drive. It seems that this is a VS2005 issue, and probably not a vault issue. I have seen other posts on the net with the same problem. I would rather run from the network as that is what gets backed up, but at least I can run it from my local drive, and use vault as a backup.

thanks,
Bruce Mutch

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

Post by lbauer » Fri Apr 14, 2006 8:08 am

Thanks for the update. VS 2005 has only been in official release for a few months, and we're still learning about its idiosyncracies. It definitely wants things done a certain way. :)
Linda Bauer
SourceGear
Technical Support Manager

Post Reply