VSS2005 Internet - Ther was a failure uploading the URL

I've searched and read several threads on this and have checked all my permissions on both the upload directory, the virtual directory and the settings in the .ini file and all appear correct but I'm still getting the error -

There was a failure uploading the URL

http://serveraddress/SourceSafe/VSSUpload_db1/Guid1/{Guid2}. Do you want to retry the operation

Yes No

What's odd is that if I check the physical directory on the VSS server, there are several files in the GUID directory, including the file it's having trouble with. I tried removing the project from source control and adding it as a new project and watched to upload in the physical directory and discovered that the file that it is erroring out on is uploading 2,020K before it fails.

What else can I try

Thanks in advance for any assistance.



Answer this question

VSS2005 Internet - Ther was a failure uploading the URL

  • KD Hallman-MSFT

    How big is the file that it can not upload < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

    How long does it take to upload this size of file from your client to your server

    What timeout value do you have on the server (In web.config: <httpRuntime executionTimeout=" "/>)

    What timeout value do you have set on the client (HKCU\Software\Microsoft\SourceSafe\Timeout)

     

    Have you tried disabling antivirus on both server and the client


  • Imran Aziz

    This looks like different issue from uploading. It seems like client computer can not connect to the server on SSL port.

    Have you tried modifying web.config on the server:

    Remove following line:

    <remove name="Documentation"/>

    Modify

    <customErrors mode="Off"/>

    then navigating to httpS://yourserver/SourceSafe/vssservice.asmx from your client computer

    Do you see Web Service manifest

    If not try checking your firewall settings on the server and perhaps your SSL port number. If it’s not 443 you need to specify correct port in the connection string.


  • steve thomas

    I changed the setup to require SSL and started getting this message -

    Cannot contact the Visual SourceSage Internet Web Service or cannot access the specified database.

    The server returned the following error: (0x80072EE2)

    The plug-in advanced settings for SourceSafe Internet requier SSL connections. Please, verify that your server can be accessed using secure connections or change your plug-in advanced settings.

    Again, this is happening in the same place as it was before. I checked both settings in the threads mentioned and the first already existed. I added the 2nd one and ran an IISReset and go the same error at the same point.

    I can change to the LAN Connection and upload the project with no trouble.


  • Ben Rich

    Hi,

    I had a similar problem, although in my case it was not caused by an HTTP timeout or connection limitation. VSS uses the "PUT" verb when uploading files. This requires WebDav to be installed on the web server. Once I installed this subcomponent of WWW services on Windows 2003, VSS stopped throwing this error.

    Hope this helps!


  • Albin

  • Steven Galione

    I think the file is only 2020 kb.  It looks like it uploads that complete file and then times out.  I don't know for sure though because all I see is the GUID so I'm not certain which file it is.  I do know that if I run VSS using the LAN connection (not the Internet plugin) that same GUID only gets to 2020 kb but the process continues.

    It will run for about 5 minutes before it times out.  It seems as though it finishes uploading whatever file it is and then isn't able to upload anymore.

    I have both timeouts set to 3600.

    I've excluded the WebUpload and WebDownload folders from virus scanning on the server.

    I did just discover that I was using the RC and not the final release so I've upgraded to the final release but this didn't help.

    After getting the error mentioned above, I click OK and get -

    The current source control operation cannot be completed.  The source control plug-in returned the following error:  Access failure.

    <OK>

    Also, when I run using the SSL connection on the local network, the complete upload/check-in does complete but I still get the error.  It seems that the connection to the server is timing out waiting for the process on the server to finish in this case.  I'm not sure what other time outs to check though.


  • Arjan1982

    LAN plug-in does not use Upload/download folders at all. Does it actually work when you are using VSS LAN plug-in

    What is the exact error message that you see

    Is there a way for you to determine which file that is by the content of the file in the GUID named folder If not can you try creating a huge file and try checkin it in

    Could you try uploading this file from your client to the server using this tool

    http://www.alinconstantin.com/download/Winhttp.zip

    If you can upload with this tool then I’d start checking access rights on the database itself. Also you may want to disable you antivirus for your database location temporary to see if it helps. (You may need to reboot the server after disabling the antivirus)


  • Qube

    Yes, I did do that and it connects just fine.

    It does upload partially and small projects upload just fine.

    I also tried it over a VPN to eliminate the firewall from the equation.


  • VSS2005 Internet - Ther was a failure uploading the URL