none
IAG & SAP & IIS & 260 characters RRS feed

  • Question

  • Hi,

    Here is a quote from Technet, but the actual URL to fix the problem is missing, does anyone the correct URL?
    http://technet.microsoft.com/en-us/library/dd278022(printer).aspx

    "Some SAP implementation may generate URLs with a long path. By default, the IIS rejects URLs where the path is longer than 260 characters. For details, and for a description of the registry key that controls this setting, access the following link:

    Note that this setting is global to all IIS sites on the computer. "

    Thank you.
    • Edited by ckumark Friday, June 26, 2009 7:29 PM Fixing thread title bug
    Friday, June 12, 2009 9:50 AM

Answers

  • hi Tom,

    is this what you are looking for?

    In order to change the limit for the maximum number of characters in a URL segment (the area between the slashes in the URL) use regedit and browse to the following location:
    HKLM\System\CurrentControlSet\Services\HTTP\Parameters
    Create new a DWORD:
    URLSegmentMaxLength
    The value for this DWORD can be between 0 and 32766 (decimal). It is recommended that this limit not be expanded too greatly as the larger the value the more memory will need to be allocated to IIS. For example a value of 600 will extend the number of characters allowed from the default of 260 to the new value of 600 characters.
    MS KB article 820129 (http://support.microsoft.com/kb/820129/en-us) has more information about this DWORD and the other available parameters that can be modified to control the behavior of the kernel module (Http.sys). The KB also explains the need to restart the HTTP service for the change to take effect.

    • Marked as answer by D Wind Friday, June 12, 2009 10:05 AM
    Friday, June 12, 2009 10:01 AM

All replies

  • hi Tom,

    is this what you are looking for?

    In order to change the limit for the maximum number of characters in a URL segment (the area between the slashes in the URL) use regedit and browse to the following location:
    HKLM\System\CurrentControlSet\Services\HTTP\Parameters
    Create new a DWORD:
    URLSegmentMaxLength
    The value for this DWORD can be between 0 and 32766 (decimal). It is recommended that this limit not be expanded too greatly as the larger the value the more memory will need to be allocated to IIS. For example a value of 600 will extend the number of characters allowed from the default of 260 to the new value of 600 characters.
    MS KB article 820129 (http://support.microsoft.com/kb/820129/en-us) has more information about this DWORD and the other available parameters that can be modified to control the behavior of the kernel module (Http.sys). The KB also explains the need to restart the HTTP service for the change to take effect.

    • Marked as answer by D Wind Friday, June 12, 2009 10:05 AM
    Friday, June 12, 2009 10:01 AM
  • yep thats the one, thank you :-)
    Friday, June 12, 2009 10:05 AM