We cannot commit to one of repositories.
Moderator: SourceGear
-
- Posts: 25
- Joined: Thu Feb 19, 2004 8:07 am
- Location: Prolog Development Center
- Contact:
We cannot commit to one of repositories.
Dear support team.
We use SourceGear Vault Client Version 3.0.5(2833) and Vault Server Version 3.0.5
We have rather large repository
[revision 14133, 22593 files] and today we have faced with the problem
[12.05.2005 15:42:45] Preparing data to begin transaction
[12.05.2005 15:42:45] Beginning transaction
[12.05.2005 15:42:45] Server unavailable for transaction begin
[12.05.2005 15:42:45] Transaction failed
[12.05.2005 15:42:45] An exception was encountered during the transaction. Exception: Server was unable to process request. --> Error in the application. 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)
I.e. we CANNOT commit files, which were checked out.
We have several repositories on Vault server and we can commit to another (smaller) repository.
What can be a problem?
I have tried to enable LOG in VaultGUIClient.exe.config and I can see the error in LOG file, please see the attachement
Please reply as soon as possible!
{attachement has been deleted after solving the problem}
We use SourceGear Vault Client Version 3.0.5(2833) and Vault Server Version 3.0.5
We have rather large repository
[revision 14133, 22593 files] and today we have faced with the problem
[12.05.2005 15:42:45] Preparing data to begin transaction
[12.05.2005 15:42:45] Beginning transaction
[12.05.2005 15:42:45] Server unavailable for transaction begin
[12.05.2005 15:42:45] Transaction failed
[12.05.2005 15:42:45] An exception was encountered during the transaction. Exception: Server was unable to process request. --> Error in the application. 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)
I.e. we CANNOT commit files, which were checked out.
We have several repositories on Vault server and we can commit to another (smaller) repository.
What can be a problem?
I have tried to enable LOG in VaultGUIClient.exe.config and I can see the error in LOG file, please see the attachement
Please reply as soon as possible!
{attachement has been deleted after solving the problem}
Last edited by Yuri Ilyin on Fri May 13, 2005 3:31 am, edited 1 time in total.
regards Yuri
Prolog Development Center
Prolog Development Center
-
- Posts: 25
- Joined: Thu Feb 19, 2004 8:07 am
- Location: Prolog Development Center
- Contact:
Yes, there is
Yes, there are many error reports in the server's log.
Please look at the attachment
{attachement has been deleted after solving the problem}
Please look at the attachment
{attachement has been deleted after solving the problem}
Last edited by Yuri Ilyin on Fri May 13, 2005 3:30 am, edited 1 time in total.
regards Yuri
Prolog Development Center
Prolog Development Center
-
- Posts: 25
- Joined: Thu Feb 19, 2004 8:07 am
- Location: Prolog Development Center
- Contact:
-
- Posts: 25
- Joined: Thu Feb 19, 2004 8:07 am
- Location: Prolog Development Center
- Contact:
Let's see if you were affected by a problem which was can be prevented by using Vault 3.0.7. Unfortunately, once you encounter this problem Vault 3.0.7 will not help.
Can you restart IIS (iisreset.exe). Next connect with a Vault GUI client. After this, browse the list of repositories (File->Choose Repository). Is the repository missing?
Can you restart IIS (iisreset.exe). Next connect with a Vault GUI client. After this, browse the list of repositories (File->Choose Repository). Is the repository missing?
Jeff Clausius
SourceGear
SourceGear
-
- Posts: 25
- Joined: Thu Feb 19, 2004 8:07 am
- Location: Prolog Development Center
- Contact:
I have followed the suggested steps.
I still can see the problematic repository in Ctrl+P (File->Choose Repository), I can connect to it and even get the latest version.
But I cannot make any modifications (commit, delete and etc).
(and no problems in other smaller repositiories).
I still can see the problematic repository in Ctrl+P (File->Choose Repository), I can connect to it and even get the latest version.
But I cannot make any modifications (commit, delete and etc).
(and no problems in other smaller repositiories).
regards Yuri
Prolog Development Center
Prolog Development Center
OK. If you can see the repository, let's see if we can get a clean look at what is happening.
1) Clearing client side cache. After shutting down all IDE clients as well as all Vault GUI clients, delete CacheMember_Repository and CacheMember_LastStructureGetDate from the %APPDATA%\SourceGear\Vault_1\Client\* directories.
2) Assuming IIS has already been restarted from above, now connect with the client where the cache was cleared. Once the repository has been loaded, try a quick add folder.
If step 2 fails, can you send your sgvault.log from the point of the restart. You should see a "System Started" message in your sgvault.log.
1) Clearing client side cache. After shutting down all IDE clients as well as all Vault GUI clients, delete CacheMember_Repository and CacheMember_LastStructureGetDate from the %APPDATA%\SourceGear\Vault_1\Client\* directories.
2) Assuming IIS has already been restarted from above, now connect with the client where the cache was cleared. Once the repository has been loaded, try a quick add folder.
If step 2 fails, can you send your sgvault.log from the point of the restart. You should see a "System Started" message in your sgvault.log.
Jeff Clausius
SourceGear
SourceGear
-
- Posts: 25
- Joined: Thu Feb 19, 2004 8:07 am
- Location: Prolog Development Center
- Contact:
I have deleted everything from
"%APPDATA%\SourceGear\Vault_1\Client\FB2EEF8B-4921-4DDF-B1FF-411ADF132A26\Yuri_Ilyin\"
directory, including _sgvault directory (the size of deleted files was about 2GB).
But now I can see the dialog box "You have no rigths to view any items it this repository" when I try to login to the problematic repository.
(a person near me, who did not delete temporary files, can login to the problematic repository and we did not change permissions on Vault Server).
"%APPDATA%\SourceGear\Vault_1\Client\FB2EEF8B-4921-4DDF-B1FF-411ADF132A26\Yuri_Ilyin\"
directory, including _sgvault directory (the size of deleted files was about 2GB).
But now I can see the dialog box "You have no rigths to view any items it this repository" when I try to login to the problematic repository.
(a person near me, who did not delete temporary files, can login to the problematic repository and we did not change permissions on Vault Server).
regards Yuri
Prolog Development Center
Prolog Development Center
OK. This is the problem I mentioned above. This will take a couple of go arounds with the sgvault database on your SQL Server.
If you would prefer to use email, just click the email link below.
Let's see what is going on. I'll need results for the following queries.
1) SELECT repid, name, currenttxid FROM sgvault.dbo.tblrepositories
2) SELECT x.repid, x.txid FROM sgvault.dbo.tblfulltreerevisionfolders x WHERE EXISTS ( SELECT y.repid FROM sgvault.dbo.tblrepositories y WHERE y.repid = x.repid AND y.currenttxid = x.txid )
3) SELECT COUNT(x.treelevel) FROM sgvault.dbo.tbltreerevisionfolders x WHERE EXISTS ( SELECT y.repid FROM sgvault.dbo.tblrepositories y WHERE y.currenttxid = x.txid )
If you would prefer to use email, just click the email link below.
Let's see what is going on. I'll need results for the following queries.
1) SELECT repid, name, currenttxid FROM sgvault.dbo.tblrepositories
2) SELECT x.repid, x.txid FROM sgvault.dbo.tblfulltreerevisionfolders x WHERE EXISTS ( SELECT y.repid FROM sgvault.dbo.tblrepositories y WHERE y.repid = x.repid AND y.currenttxid = x.txid )
3) SELECT COUNT(x.treelevel) FROM sgvault.dbo.tbltreerevisionfolders x WHERE EXISTS ( SELECT y.repid FROM sgvault.dbo.tblrepositories y WHERE y.currenttxid = x.txid )
Jeff Clausius
SourceGear
SourceGear
This was resolved offline.
They hit a transaction integrity problem in the server. Incidentally, this problem is avoidable by upgrading the Vault Server to 3.0.7.
They hit a transaction integrity problem in the server. Incidentally, this problem is avoidable by upgrading the Vault Server to 3.0.7.
Jeff Clausius
SourceGear
SourceGear
-
- Posts: 25
- Joined: Thu Feb 19, 2004 8:07 am
- Location: Prolog Development Center
- Contact: