Critical Error During Checkin
Moderator: SourceGear
Critical Error During Checkin
We upgraded to 3.0.6 yesterday. Some users are getting the following error while trying to check in files:
Critical Error! Error in the application.
at VaultServiceBase.VaultRepository.GetReferenceCopiesByPath(HybridDictionary hdNewRefParents, String strAbsolutePath, Boolean bRefCopyLastObjectWithAllFolders, VaultFSObjects& fsoList, Int32& nPinCount)
at VaultServiceAPILib.VaultTransactionContainer.GetReferenceCopiesByPath(String strAbsolutePath, VaultFSObjects& fsoList, Int32& nPinCount)
at VaultServiceAPILib.VaultTransaction.PreCheckCheckIn(Int32 nCurrStatCode, VaultRequestCheckIn vrci, String strFileToken, VaultResponseCheckIn vRespCheckIn, VaultTransactionContainer txContainer)
at VaultServiceAPILib.VaultServiceAPI.BeginTx(HttpApplicationState theApp, VaultLoginInfo vliLoggedInUser, Int32 nTxUserID, Int32 nRepID, DateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
at VaultService.VaultService.DoBeginTx(HttpApplicationState has, HttpSessionState hss, VaultLoginInfo vli, String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, DateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
Again, this only happens to some users. I, for example, am able to check out and check in files from the same repository in which they are having trouble.
Critical Error! Error in the application.
at VaultServiceBase.VaultRepository.GetReferenceCopiesByPath(HybridDictionary hdNewRefParents, String strAbsolutePath, Boolean bRefCopyLastObjectWithAllFolders, VaultFSObjects& fsoList, Int32& nPinCount)
at VaultServiceAPILib.VaultTransactionContainer.GetReferenceCopiesByPath(String strAbsolutePath, VaultFSObjects& fsoList, Int32& nPinCount)
at VaultServiceAPILib.VaultTransaction.PreCheckCheckIn(Int32 nCurrStatCode, VaultRequestCheckIn vrci, String strFileToken, VaultResponseCheckIn vRespCheckIn, VaultTransactionContainer txContainer)
at VaultServiceAPILib.VaultServiceAPI.BeginTx(HttpApplicationState theApp, VaultLoginInfo vliLoggedInUser, Int32 nTxUserID, Int32 nRepID, DateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
at VaultService.VaultService.DoBeginTx(HttpApplicationState has, HttpSessionState hss, VaultLoginInfo vli, String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, DateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
Again, this only happens to some users. I, for example, am able to check out and check in files from the same repository in which they are having trouble.
I have restarted the server and the problem seems to have gotten worse. First of all now we get the following error on checkin:
Critical Error! Error in the application.
at VaultServiceBase.VaultRepository.ReferenceCopy(Int64 nRevID, HybridDictionary hdNewRefParents)
at VaultServiceAPILib.VaultServiceAPI.BeginTx(HttpApplicationState theApp, VaultLoginInfo vliLoggedInUser, Int32 nTxUserID, Int32 nRepID, DateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
at VaultService.VaultService.DoBeginTx(HttpApplicationState has, HttpSessionState hss, VaultLoginInfo vli, String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, DateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
We are not able to check out / show history on any file in the db. The error on the server side for show history is :
BeginHistoryQuery returned: FailObjPathInvalid
On the client side, for check out and show history we see:
The object could not be found. It may have been deleted, moved or renamed.
TIA.
Critical Error! Error in the application.
at VaultServiceBase.VaultRepository.ReferenceCopy(Int64 nRevID, HybridDictionary hdNewRefParents)
at VaultServiceAPILib.VaultServiceAPI.BeginTx(HttpApplicationState theApp, VaultLoginInfo vliLoggedInUser, Int32 nTxUserID, Int32 nRepID, DateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
at VaultService.VaultService.DoBeginTx(HttpApplicationState has, HttpSessionState hss, VaultLoginInfo vli, String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, DateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
We are not able to check out / show history on any file in the db. The error on the server side for show history is :
BeginHistoryQuery returned: FailObjPathInvalid
On the client side, for check out and show history we see:
The object could not be found. It may have been deleted, moved or renamed.
TIA.
Hmmm....
Perhaps it wasn't the server, but something in the cache file on the client that was causing the problem.
Pick a machine which seems to be having the problem. Make sure all instances of Vault GUI / Admin Tool and IDE clients are shut down.
Try removing the client side cache ( CacheMember_Repository / CacheMember_LastStructureGetTime ) files from %appdata%\sourcegear\vault_1\client\{SOME-GUID}
where {SOME-GUID} is the value from SELECT uniquerepid, name FROM sgvault.dbo.tblrepositories is the uniquerepid value for the repository in question.
Finally start up the Vault client, and re-try the operation.
Does that help?
Perhaps it wasn't the server, but something in the cache file on the client that was causing the problem.
Pick a machine which seems to be having the problem. Make sure all instances of Vault GUI / Admin Tool and IDE clients are shut down.
Try removing the client side cache ( CacheMember_Repository / CacheMember_LastStructureGetTime ) files from %appdata%\sourcegear\vault_1\client\{SOME-GUID}
where {SOME-GUID} is the value from SELECT uniquerepid, name FROM sgvault.dbo.tblrepositories is the uniquerepid value for the repository in question.
Finally start up the Vault client, and re-try the operation.
Does that help?
Jeff Clausius
SourceGear
SourceGear
ITS WORSE
Hi Jeff:
Its progressively getting worse. The latest is if we login (everyone of us, no excpetions, every client machine, no exceptions) to the repository, we get the following message:
"You have no rights to access any folders in this repository"
We have 6 other repositories and all of them work perfectly fine.
Folder security is not enabled for this repository in question. In the admin tool, we get the following information:
Folders: 2993 (+1718 deleted)
Files: 9220 (+8469 deleted)
Tree size: 0 bytes
Disk space needed: 0 bytes
Database size: 6.71 GB
When we go to Undo Checkout in admin and choose this repository, we get "Object Reference not set to an instance of an object" error. When we go to Obliterate in admin and choose the repository, we get:
VaultServiceAPILib.VaultSoapException: 1206 : FailObjPathInvalid
at VaultService.VaultService.ListDeletedObjects(Int32 nRepID, String directoryPath, Boolean recursive, VaultDeletedObject[]& deletedlist)
HELP!!!
Its progressively getting worse. The latest is if we login (everyone of us, no excpetions, every client machine, no exceptions) to the repository, we get the following message:
"You have no rights to access any folders in this repository"
We have 6 other repositories and all of them work perfectly fine.
Folder security is not enabled for this repository in question. In the admin tool, we get the following information:
Folders: 2993 (+1718 deleted)
Files: 9220 (+8469 deleted)
Tree size: 0 bytes
Disk space needed: 0 bytes
Database size: 6.71 GB
When we go to Undo Checkout in admin and choose this repository, we get "Object Reference not set to an instance of an object" error. When we go to Obliterate in admin and choose the repository, we get:
VaultServiceAPILib.VaultSoapException: 1206 : FailObjPathInvalid
at VaultService.VaultService.ListDeletedObjects(Int32 nRepID, String directoryPath, Boolean recursive, VaultDeletedObject[]& deletedlist)
HELP!!!