“Failed to download the file” error in v9 version

Comments

4 comments

  • Avatar
    Sanjay G

    Hi Dhanush, 

    I faced a similar issue and noticed in the developer console that the URL for downloading the file was very long. I suspect this might be due to the document repository having a very long file system folder path with many nested folders.

    0
    Comment actions Permalink
  • Avatar
    Dhanush

    Hi Sanjay,

     

    Thanks for the response. I observed that it had a long folder path. When I updated it to a shorter one, it worked. However, I have a requirement where a new folder path will be generated dynamically, depending on certain values. Is there any way to increase the allowable path length?

    0
    Comment actions Permalink
  • Avatar
    Sanjay G

    This issue is due to the limit in the URL path segment of Windows HTTP service, not AgilePoint. 

    I found the below Microsoft document that details the supported keys and their default values.

    https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/iisadmin-service-inetinfo/httpsys-registry-windows 

    Follow the steps below to increase the length of URL path segment.

    1. Right-click Start, then select Run or Press Windows + R.
    2. Type regedit in the Open: box, and then select OK
    3. Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters
    4. Right-click on Parameters and select New -> DWORD (32-bit) value. 
    5. Type the name as UrlSegmentMaxLength
    6. Right-click on the key and select modify.
    7. Select decimal and add value as 1024(number of characters to allow).
    8. Restart the machine.

    0
    Comment actions Permalink
  • Avatar
    Dhanush

    Thank you so much for your assistance; it was incredibly helpful!

    0
    Comment actions Permalink

Please sign in to leave a comment.