There is folder which contains around 130 dlls and 30 other binary files. All these files have a shared link to another folder. I have been using this folder with no issues for more than 2 years. I was checking in all the 160 files and got an error. So checked in a few files at a time and was able to check in all files except 3 dlls.
Tried to check in with the "Use chunked encoding..." option check and unchecked. Removed the shared links and still failed to check. Even asked another developer to check in these 3 files for me and it failed for him too. I also checked in an old version of this file and it also failed.
I am able to check in files in other folder with no issues it just these 3 files.
Today another user was checking the same set of files in another repository and was getting the same error for 2 dlls.
We are using ver 7.2.1.265 Vault Standard server and client.
Below is the error message form the Client and Server Log.
Client Error:
[11/17/2014 12:03:10 PM] Beginning transaction
[11/17/2014 12:03:10 PM] Check in $/Lib/CAN.dll
[11/17/2014 12:03:11 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/17/2014 12:03:11 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/17/2014 12:03:11 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/17/2014 12:03:11 PM] Ending the transaction
[11/17/2014 12:03:11 PM] Upload for item $/Lib/CAN.dll failed too many times, aborting transaction.
Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.
The specific error was "The underlying connection was closed: An unexpected error occurred on a send."
An exception was encountered during the transaction. Exception: The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.GetResponse()
at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)
at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)
InnerException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers)
at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)
at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)
InnerException.InnerException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.MultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers)
[11/17/2014 12:03:11 PM] An error occurred while trying to end a transaction.
[11/17/2014 12:03:11 PM] An exception was encountered during the transaction. Exception: Server was unable to process request. ---> The process cannot access the file 'C:\Windows\Temp\32025ed4-f7c7-40cc-98f1-cbf55c1e7ecf.vlt' because it is being used by another process. 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.EndTx(String strTxID, Int32 nTxAction, VaultDateTime& dtTxBegin, Int64& nNewRevision, VaultResponseItem[]& responses)
at VaultClientNetLib.VaultConnection.EndTx(String strTxID, Int64& nNewRevision, VaultResponseItem[]& responses, Int32 nAction, VaultDateTime& txBeginDate)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
[11/17/2014 12:03:11 PM] Transaction failed
[11/17/2014 12:03:11 PM] Transaction failed
Server Log Error:
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled VaultFileUpload.aspx encountered: FailDeltaApply
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled Uncaught Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Inner Exception: The remote host closed the connection. The error code is 0x80070057.
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner Exeption Stack Trace: at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()
at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
at System.Web.HttpWriter.Write(String s)
at VaultService.VaultFileUpload.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled VaultFileUpload.aspx encountered: FailDeltaApply
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled Uncaught Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Inner Exception: The remote host closed the connection. The error code is 0x80070057.
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner Exeption Stack Trace: at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()
at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
at System.Web.HttpWriter.Write(String s)
at VaultService.VaultFileUpload.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled VaultFileUpload.aspx encountered: FailDeltaApply
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled Uncaught Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Inner Exception: The remote host closed the connection. The error code is 0x80070057.
----11/17/2014 12:03:11 PM user1--machine1(172.1.1.1)--SSL Disabled at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner Exeption Stack Trace: at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()
at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
at System.Web.HttpWriter.Write(String s)
at VaultService.VaultFileUpload.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Check in problems
Moderator: SourceGear
Re: Check in problems
The two important pieces of what you posted are "process cannot access the file 'C:\Windows\Temp\32025ed4-f7c7-40cc-98f1-cbf55c1e7ecf.vlt' because it is being used by another process" and " FailDeltaApply."
Let's start with the file that is in use. Let's try the following steps to see if it's possible to get away from that temp file.
1) Open Vault and perform an Undo Check Out, but use the option to Leave the changes instead of reverting them.
2) Reboot your machine. This will make everything be released at least once.
3) Start up Vault. Check out the file again, and then try to check it in.
What are your results?
Let's start with the file that is in use. Let's try the following steps to see if it's possible to get away from that temp file.
1) Open Vault and perform an Undo Check Out, but use the option to Leave the changes instead of reverting them.
2) Reboot your machine. This will make everything be released at least once.
3) Start up Vault. Check out the file again, and then try to check it in.
What are your results?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Check in problems
We don't Check out files we just check in modified files as a team process. I tried to check in the file with it checked out and not. Still getting the same error. We restarted Vault app pool and site last night with no success.
Error from the Client with the file not checked out:
[11/18/2014 1:29:27 PM] Preparing data to begin transaction
[11/18/2014 1:29:28 PM] Beginning transaction
[11/18/2014 1:29:28 PM] Check in $/Lib/CAN.dll
[11/18/2014 1:29:28 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/18/2014 1:29:28 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/18/2014 1:29:29 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/18/2014 1:29:29 PM] Ending the transaction
[11/18/2014 1:29:29 PM] Transaction failed
[11/18/2014 1:29:29 PM] Upload for item $/Lib/CAN.dll failed too many times, aborting transaction.
Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.
The specific error was "The underlying connection was closed: An unexpected error occurred on a receive."
An exception was encountered during the transaction. Exception: The underlying connection was closed: An unexpected error occurred on a receive. at System.Net.HttpWebRequest.GetResponse()
at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)
at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)
InnerException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
InnerException.InnerException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
[11/18/2014 1:29:29 PM] An error occurred while trying to end a transaction.
[11/18/2014 1:29:29 PM] An exception was encountered during the transaction. Exception: Server was unable to process request. ---> The process cannot access the file 'C:\Windows\Temp\2c8f31b7-af4a-4514-93e4-589804d98de0.vlt' because it is being used by another process. 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.EndTx(String strTxID, Int32 nTxAction, VaultDateTime& dtTxBegin, Int64& nNewRevision, VaultResponseItem[]& responses)
at VaultClientNetLib.VaultConnection.EndTx(String strTxID, Int64& nNewRevision, VaultResponseItem[]& responses, Int32 nAction, VaultDateTime& txBeginDate)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
[11/18/2014 1:29:29 PM] Transaction failed
Error from the Client with the file not checked out:
[11/18/2014 1:29:27 PM] Preparing data to begin transaction
[11/18/2014 1:29:28 PM] Beginning transaction
[11/18/2014 1:29:28 PM] Check in $/Lib/CAN.dll
[11/18/2014 1:29:28 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/18/2014 1:29:28 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/18/2014 1:29:29 PM] Upload for item $/Lib/CAN.dll failed, retrying...
[11/18/2014 1:29:29 PM] Ending the transaction
[11/18/2014 1:29:29 PM] Transaction failed
[11/18/2014 1:29:29 PM] Upload for item $/Lib/CAN.dll failed too many times, aborting transaction.
Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.
The specific error was "The underlying connection was closed: An unexpected error occurred on a receive."
An exception was encountered during the transaction. Exception: The underlying connection was closed: An unexpected error occurred on a receive. at System.Net.HttpWebRequest.GetResponse()
at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)
at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)
InnerException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
InnerException.InnerException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
[11/18/2014 1:29:29 PM] An error occurred while trying to end a transaction.
[11/18/2014 1:29:29 PM] An exception was encountered during the transaction. Exception: Server was unable to process request. ---> The process cannot access the file 'C:\Windows\Temp\2c8f31b7-af4a-4514-93e4-589804d98de0.vlt' because it is being used by another process. 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.EndTx(String strTxID, Int32 nTxAction, VaultDateTime& dtTxBegin, Int64& nNewRevision, VaultResponseItem[]& responses)
at VaultClientNetLib.VaultConnection.EndTx(String strTxID, Int64& nNewRevision, VaultResponseItem[]& responses, Int32 nAction, VaultDateTime& txBeginDate)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
[11/18/2014 1:29:29 PM] Transaction failed
Re: Check in problems
Received email. Will respond offline.
HS: 232020
HS: 232020
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support