Cannot add any solutions to Vault

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

Moderator: SourceGear

Post Reply
darrynj

Cannot add any solutions to Vault

Post by darrynj » Mon Feb 21, 2005 7:08 pm

I have just installed Vault 2 weeks ago. For the first week it worked well and I was pleased. I have a solution in Vault and it worked fine, although now I cannot check in or out through VS.net 2003. The standalons client works though.

I can no longer add any solutions to Vault. When I try I get the (attached) error: "The project <projectname>.csproj that you are adding to source control will be added tot he same source control location as <solutionname>.sln. It overlaps this project in folder C:\<project path>"

When I click Continue on this dialog I get an error "File ~skjfhsivhskvhsi.csproj could not be mapped to the Vault project $/<projectname>"

I cannot find references to these errors anywhere. I am running XP Pro SP2 with VS.net 2003.
Attachments
Untitled-1.gif
Untitled-1.gif (13.24 KiB) Viewed 3821 times
Untitled-2.gif
Untitled-2.gif (6.38 KiB) Viewed 3822 times

darrynj

btw it is 3.02

Post by darrynj » Mon Feb 21, 2005 7:09 pm

latest version

darrynj

Post by darrynj » Mon Feb 21, 2005 10:13 pm

Client Information
Vault Client Version: 3.0.2.2812
.Net Framework Version: 1.1.4322.2032
Operating System: Microsoft Windows XP Professional
Service Pack: 2.0
OS Version: 5.1.2600
Total Physical Memory: 1023.23 MB
Time Zone: (GMT+10:00) Canberra, Melbourne, Sydney

Server is local MSSQL2000 SP3

darrynj

Post by darrynj » Mon Feb 21, 2005 11:55 pm

OK, I have uninstalled all SourceGear products, removed every file and registry setting and dropped the database. I then installed Vault Server 3_0_2 and all tools, creating a new database.

I get the exact same problem.

I can also not create a project in the Vault Client, the messages are as follows:

[22/02/2005 4:51:25 PM] Preparing data to begin transaction
[22/02/2005 4:51:25 PM] Beginning transaction
[22/02/2005 4:51:25 PM] Create folder $/ChangeRequest
[22/02/2005 4:51:25 PM] Ending the transaction
[22/02/2005 4:51:28 PM] Server unavailable for transaction end
[22/02/2005 4:51:28 PM] An exception was encountered during the transaction. Exception: Exception of type System.Exception was thrown. at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[22/02/2005 4:51:28 PM] Transaction failed
[22/02/2005 4:51:28 PM] Transaction failed
[22/02/2005 4:51:49 PM] Refreshing folder tree
[22/02/2005 4:51:49 PM] Folder tree refreshed
[22/02/2005 4:51:53 PM] Preparing data to begin transaction
[22/02/2005 4:51:53 PM] Beginning transaction
[22/02/2005 4:51:53 PM] Create folder $/Hello
[22/02/2005 4:51:53 PM] Ending the transaction
[22/02/2005 4:52:01 PM] Server unavailable for transaction end
[22/02/2005 4:52:01 PM] An exception was encountered during the transaction. Exception: Exception of type System.Exception was thrown. at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[22/02/2005 4:52:01 PM] Transaction failed
[22/02/2005 4:52:01 PM] Transaction failed

I am tearing my hair out, can anyone help?

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

Post by dan » Tue Feb 22, 2005 8:28 am

Check the server log (by default at C:\windows\temp\sgvault on server machine) to see if there is more info on the error. It looks like something isn't right after the 3.0.2 server install. Does it work the same way on all machine trying to change the repository, or is it just your machine?

This doesn't appear to be the same issue as the VS.Net problem though. Generally VS like to have the project file and the solution file in separate folders when they are under source control, so you might try that approach and see if it likes it better.

darrynj

fixed!

Post by darrynj » Tue Feb 22, 2005 11:09 pm

Dan, thanks for your help.

I looked in the log file and found multiple incidences of:

"XML stored procedures are not supported in fibers mode"

a quick search in this forum found the answer: turn off fibers mode. I did this and now everything is working smoothly - including the project/solution issue.

Thanks again.

Post Reply