Upload Fail

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

Moderator: SourceGear

Post Reply
scaiferw
Posts: 83
Joined: Thu Mar 22, 2012 8:22 am

Upload Fail

Post by scaiferw » Thu Apr 12, 2012 12:14 pm

I'm getting an error uploading a file set to Vault. It seems to proceed well then I get the following.

The reference to (404) Not Found suggests an IIS issue, but I'm not sure where to look.

The path is 5 folders deep.

Can you give me an idea what's happening here?

FOLLOWUP: I tried creating the top level folder for my fileset (which happens to be where the big files are) and dragged the contents into it from Windows Explorer, instead of dragging my whole project folder directly into Vault. The project uploaded without error. Not enough experience yet to know if this is consistent. Does that offer a clue? I have been able to drag other project folders over without problems.

Code: Select all

[12/04/2012 9:13:36 AM] Add $/path/en/Data1.cab

[12/04/2012 9:13:36 AM] Add $/path/fr/AcroRead.msi

[12/04/2012 9:13:36 AM] Add $/path/fr/AcroRead.mst

[12/04/2012 9:13:36 AM] Add $/path/fr/Data1.cab

[12/04/2012 9:13:36 AM] Add $/path/AdobeReader_v10r1.sfv


[12/04/2012 9:13:59 AM] Upload for item $/path/en/Data1.cab failed, retrying...

[12/04/2012 9:14:08 AM] Upload for item $/path/fr/Data1.cab failed, retrying...

[12/04/2012 9:14:12 AM] Upload for item $/path/en/Data1.cab failed, retrying...

[12/04/2012 9:14:20 AM] Upload for item $/path/fr/Data1.cab failed, retrying...

[12/04/2012 9:14:24 AM] Upload for item $/path/en/Data1.cab failed, retrying...

[12/04/2012 9:14:24 AM] Upload for item $/path/en/Data1.cab 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 server had an error processing the file upload but did not return an error header. The remote server returned an error: (404) Not Found."

An exception was encountered during the transaction. Exception: The server had an error processing the file upload but did not return an error header. The remote server returned an error: (404) Not Found. at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)

at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)

[12/04/2012 9:14:25 AM] Ending the transaction

[12/04/2012 9:14:33 AM] Upload for item $/path/fr/Data1.cab failed, retrying...

[12/04/2012 9:14:33 AM] Upload for item $/path/fr/Data1.cab 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 server had an error processing the file upload but did not return an error header. The remote server returned an error: (404) Not Found."

An exception was encountered during the transaction. Exception: The server had an error processing the file upload but did not return an error header. The remote server returned an error: (404) Not Found. at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)

at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)

[12/04/2012 9:14:38 AM] Transaction failed

[12/04/2012 9:14:42 AM] Transaction failed
Vault Standard Version 5.1.1.19215 -- Windows Server 2008 R2 -- SQL Server 2008 R2

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Upload Fail

Post by lbauer » Thu Apr 12, 2012 3:25 pm

The first thing I would suggest is to try chunked encoding for uploads. This can reduce memory consumption.

This setting is in the Vault GUI Client under Tools->Options->Network Settings.

If you already have that checked, you could try unchecking it.
Linda Bauer
SourceGear
Technical Support Manager

scaiferw
Posts: 83
Joined: Thu Mar 22, 2012 8:22 am

Re: Upload Fail

Post by scaiferw » Fri Apr 13, 2012 5:37 am

I tried that, and it didn't work for me. It appeared to have worked for someone else though, so I think there is something else at play given the inconsistent results. Do you have any ideas?
Vault Standard Version 5.1.1.19215 -- Windows Server 2008 R2 -- SQL Server 2008 R2

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Upload Fail

Post by lbauer » Fri Apr 13, 2012 1:07 pm

How large is the file you're uploading?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply