Error adding project from IDE

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

Moderator: SourceGear

Post Reply
blefler2000

Error adding project from IDE

Post by blefler2000 » Wed Mar 30, 2005 11:20 am

Evaluating client connected to SourceGear's test Vault...

Everything works great through client interface.

Getting error 'Files could not be mapped to the Vault project $/billtest/test4' when attempting to add solution to source control from the IDE.

Steps:

1. Create dir in Vault through vault client.
2. Create new solution.
3. Attempt to 'Add Solution to Source Control'
4. Login
5. Choose database
6. Choose newly created directory.
7. Receive error (see full error detail from IDE below)

[3/30/2005 12:13:38 PM] Preparing data to begin transaction
[3/30/2005 12:13:38 PM] Beginning transaction
[3/30/2005 12:13:38 PM] Create folder $/billtest/test4
[3/30/2005 12:13:38 PM] Ending the transaction
[3/30/2005 12:13:39 PM] Transaction completed successfully
---- Operation started at time 12:13:40 PM ----
---- Operation completed successfully at time 12:13:40 PM ----
[3/30/2005 12:13:40 PM] Preparing data to begin transaction
[3/30/2005 12:13:40 PM] Beginning transaction
[3/30/2005 12:13:40 PM] Add $/billtest/test4/~sakd15f2ad101c5354b.sln
[3/30/2005 12:13:41 PM] Ending the transaction
[3/30/2005 12:13:41 PM] Server unavailable for transaction end
[3/30/2005 12:13:41 PM] An exception was encountered during the transaction. Exception: The Vault server could not be contacted to perform the operation. Your network connection to the server may have been interrupted. Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.The underlying connection was closed: An unexpected error occurred on a send. at VaultClientNetLib.VaultConnection.EndTx(String strTxID, Int64& nNewRevision, VaultResponseItem[]& responses, Int32 nAction, DateTime& txBeginDate)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
[3/30/2005 12:13:41 PM] Transaction failed
[3/30/2005 12:13:42 PM] Transaction failed
SCCAdd Method: Couldn't map to vault project
SCCRemove Method: The file isn't in the folder
---- Operation started at time 12:17:00 PM ----
[3/30/2005 12:17:00 PM] Preparing data to begin transaction
[3/30/2005 12:17:00 PM] Beginning transaction
[3/30/2005 12:17:00 PM] Server unavailable for transaction begin
[3/30/2005 12:17:00 PM] Transaction failed
[3/30/2005 12:17:00 PM] An exception was encountered during the transaction. Exception: 1300 : FailExistingTx at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VaultClientNetLib.ClientService.VaultService.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID)
at VaultClientNetLib.VaultConnection.BeginTx(Int32 nRepID, VaultRequestItem[]& requests, String& strTxID, String comment)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, Boolean keepCheckedOut, Boolean removeLocalCopy, Boolean bIsImport, DateTime dateImport, Int32 nUserIDImport, Int64& nRevID)
SCCAdd Method: The Vault server could not be contacted to perform the operation. Your network connection to the server may have been interrupted. Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.
---- Operation completed successfully at time 12:17:03 PM ----

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

Post by dan » Wed Mar 30, 2005 11:36 am

It looks like the real problem is that client is losing the connection to the server. If you try the same Add through the GUI client, do you get the same kind of problem?

blefler2000

Post by blefler2000 » Wed Mar 30, 2005 12:43 pm

No, everything I try on the client works just fine.

I checked the solution in through the client and then opened it in the IDE - which worked fine. I then added a new project to the solution, which checked out the solution file with no problems. But when I attempted to checked the new files/project in it gave me the same type of errors.

It appears that everything works great in the IDE - check In/Out, retrieve - except adding new projects/solutions.

Guest

Post by Guest » Wed Mar 30, 2005 12:46 pm

Looks like I was too hasty. The client is getting some connection problems as well, but it seems to recover better, by retrying adds etc., than the IDE.

I am testing this on the work network. I will try tonight at home where there are less network controls in the way and see how it works.

Post Reply