If you are having a problem using Vault, post a message here.
Moderator: SourceGear
-
dsellers
- Posts: 13
- Joined: Wed Jul 14, 2004 3:14 pm
Post
by dsellers » Tue Nov 29, 2005 2:02 pm
I am trying to add a 14MB image file to source control. The connection keeps closing. I think the issue is IIS, however I wanted to post about here. If I find a solution I will place it here as well. If it is a SourceGear issue then hopefully their suggestions will be here as well.
Code: Select all
11/29/2005 1:58:25 PM] Preparing data to begin transaction
[11/29/2005 1:58:25 PM] Beginning transaction
[11/29/2005 1:58:25 PM] Add $/Source/Cystem.Commons/Cystem.AssetManager.Tests/img/huge.jpg
[11/29/2005 1:58:32 PM] Upload for item $/Source/Cystem.Commons/Cystem.AssetManager.Tests/img/huge.jpg failed, retrying...
[11/29/2005 1:58:40 PM] Upload for item $/Source/Cystem.Commons/Cystem.AssetManager.Tests/img/huge.jpg failed, retrying...
[11/29/2005 1:58:47 PM] Upload for item $/Source/Cystem.Commons/Cystem.AssetManager.Tests/img/huge.jpg failed, retrying...
[11/29/2005 1:58:47 PM] Ending the transaction
[11/29/2005 1:58:47 PM] Upload for item $/Source/Cystem.Commons/Cystem.AssetManager.Tests/img/huge.jpg 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.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
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)
[11/29/2005 1:58:47 PM] Transaction failed
[11/29/2005 1:58:47 PM] Transaction failed
-
lbauer
- Posts: 9736
- Joined: Tue Dec 16, 2003 1:25 pm
- Location: SourceGear
Post
by lbauer » Tue Nov 29, 2005 4:39 pm
What version of Vault are you using?
Are there any error messages in the
Vault server log file which correspond to the upload?
Linda Bauer
SourceGear
Technical Support Manager
-
dsellers
- Posts: 13
- Joined: Wed Jul 14, 2004 3:14 pm
Post
by dsellers » Wed Nov 30, 2005 8:42 pm
I am using version 3.1.1
I looked in the log file <LogFilePath>%SYSTEMROOT%\Temp\sgvault</LogFilePath> and this was the only line in the log of issue.
----11/30/2005 8:31:46 PM dsellers--CORE2(192.168.1.202)--SSL Disabled VaultFileUpload.aspx encountered: an exception while calculating the CRC for AddFile. Error in the application.
-
lbauer
- Posts: 9736
- Joined: Tue Dec 16, 2003 1:25 pm
- Location: SourceGear
Post
by lbauer » Thu Dec 01, 2005 12:40 pm
The error in the server log indicates a network error in file transfer. The CRC of the file is incorrect indicating the file transfer suffered some errors and the data is corrupt.
The client message indicates the same sort of network error, although the time period doesn't correspond to the time in the server log snippet that you posted.
Can you upload the file from a client on the Vault Server machine itself, using "localhost" for the Vault Server name? This will bypass most network issues.
Also, check your settings in the Vault GUI Client-> Tools->Options->Network settings. Try using Chunked encoding if it isn't already enabled.
Linda Bauer
SourceGear
Technical Support Manager