getting a 404 error on commit

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

Moderator: SourceGear

Post Reply
wshaddix

getting a 404 error on commit

Post by wshaddix » Tue Mar 23, 2004 5:28 pm

I am getting an error:
"The remote server returned and error: (404) Not Found"
when attempting to commit files into the repository. The server is windows 2003 and I made sure that the asp.net web service extensions is permitted (enabled). What else can/should I do?

I am using the Vault Client 2.0.1 (2137) and can create and rename repositories from the client, just not add / commit any files.

Thanks

Wes

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Mar 23, 2004 10:53 pm

a couple of different things:

1) does the server's log give any indication for any errors?

if not, i would suggest temporarily changing the server's logging level to "debug", and then try the upload. after the failure, take a snap shot of the sgvault.log file. if there is a problem, it will be logged there.

2) you mention you can add/rename repositories. this is done through the admin tool. from the gui client, can you add, delete, and move folders within any given repository?
Jeff Clausius
SourceGear

wshaddix

getting a 404 error on commit

Post by wshaddix » Wed Mar 24, 2004 8:38 am

1) does the server's log give any indication for any errors?

-- No, here is a snapshot of what it looks like in debug mode.
----3/24/2004 7:34:28 AM sgvaultsystem--()--
System Started
Version 2.0.1.2137
Cache Level = 1
DataBase Buffer Size = 256
LogFile Path = C:\WINDOWS\Temp\sgvault
Log Level = Debug
Archive Log = Never
ReverseDNS Lookup = False
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = c:\windows\temp
----3/24/2004 7:34:34 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
Login
----3/24/2004 7:34:35 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
GetUserList returned: Success
----3/24/2004 7:34:35 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
GetUserOptions returned: Success
----3/24/2004 7:34:35 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
GetRepositories returned: Success
----3/24/2004 7:34:35 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
Getting repository Structure.
----3/24/2004 7:34:36 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
GetRepositoryStructure returned: Success
----3/24/2004 7:34:36 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
Getting list of checkout changes.
----3/24/2004 7:34:36 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
GetCheckOutListChanges returned: Success
----3/24/2004 7:34:36 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
Getting list of checkout changes.
----3/24/2004 7:34:36 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
GetCheckOutListChanges returned: Success
----3/24/2004 7:34:37 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
ListCloakedObjects returned: Success
----3/24/2004 7:34:37 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
GetRepositoryOptions returned: Success
----3/24/2004 7:34:37 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
GetRepositories returned: Success
----3/24/2004 7:34:44 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
BeginTx beginning transaction
----3/24/2004 7:34:44 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
BeginTx returned: Success
----3/24/2004 7:34:44 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
VaultServiceBase.VaultRequestAddFile returned: Success
----3/24/2004 7:34:45 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
Ending transaction
----3/24/2004 7:34:45 AM wshaddix--151.213.148.88(151.213.148.88)--SSL Disabled
EndTxSuccess

2) ... from the gui client, can you add, delete, and move folders within any given repository?
--- Yes I can add, delete from/to any given repository.

Wes

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Mar 24, 2004 9:31 am

hmmm...

it is missing the code from vaultfileupload.aspx.

the log file should contain text as
  • Uploading file.
  • VaultFileUpload.aspx encountered: <SOME TEXT MESSAGE>

is there something blocking the vaultfileupload.aspx page?
does the vaultfileupload.aspx page exist in the vaultservice virtual directory?
is the .aspx extension registered?

perhaps examining your iis logs (%systemroot%\system32\Logfiles\W3SVC1) for the vaultfileupload.aspx page would provide you with some information.


jeremy also replied to this problem http://support.sourcegear.com/viewtopic.php?t=594
Jeff Clausius
SourceGear

wshaddix

getting a 404 error on commit

Post by wshaddix » Wed Mar 24, 2004 9:48 am

1) does the vaultfileupload.aspx page exist in the vaultservice virtual directory?
--- Yes, exact filename is VaultFileUpload.aspx

2) is the .aspx extension registered?
--- Yes, the site that the VaultService is a virtual directory under is an aspx site that is working fine.

3) IIS Logs. Here is a short snippet of entries that contain that filename. It is logging a 404 error for the .aspx page but requests to VaultService.asmx are fine.

#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken

2004-03-24 14:17:28 W3SVC1963158098 TEMPBROKERS1 216.7.186.129 POST /VaultService/VaultFileUpload.aspx TxToken=fb4e597c-1fed-463c-87e0-85936869125a&FileToken=61d4f9dd-244e-4cf0-ae1d-916435af3cb2 80 - 151.213.148.88 HTTP/1.1 - ASP.NET_SessionId=o4nmae45ketmvybhdq5j2vi4;+_authHdr=972945b8-bb1c-40ac-abee-89d4a454cbd0VSNRXbcGRDxjR6panz1kUw== - www.wesshaddix.com 404 0 2 258 343 93
2004-03-24 14:17:28 W3SVC1963158098 TEMPBROKERS1 216.7.186.129 POST /VaultService/VaultFileUpload.aspx TxToken=fb4e597c-1fed-463c-87e0-85936869125a&FileToken=61d4f9dd-244e-4cf0-ae1d-916435af3cb2 80 - 151.213.148.88 HTTP/1.1 - ASP.NET_SessionId=o4nmae45ketmvybhdq5j2vi4;+_authHdr=972945b8-bb1c-40ac-abee-89d4a454cbd0VSNRXbcGRDxjR6panz1kUw== - www.wesshaddix.com 404 0 2 258 343 78
2004-03-24 14:17:28 W3SVC1963158098 TEMPBROKERS1 216.7.186.129 POST /VaultService/VaultFileUpload.aspx TxToken=fb4e597c-1fed-463c-87e0-85936869125a&FileToken=61d4f9dd-244e-4cf0-ae1d-916435af3cb2 80 - 151.213.148.88 HTTP/1.1 - ASP.NET_SessionId=o4nmae45ketmvybhdq5j2vi4;+_authHdr=972945b8-bb1c-40ac-abee-89d4a454cbd0VSNRXbcGRDxjR6panz1kUw== - www.wesshaddix.com 404 0 2 258 343 78

Post Reply