Troubleshooting
- HTTP Error 404.15
Problem: Request URL too long error when accessing XMPro applications
You need to make two changes to fix this issue
Increase the httpRuntime maxQueryStringLength and maxUrlLength in the system.web section
Add requestFiltering settings in the system.webServer section
Here's how to modify your web.config file:
Navigate to
C:\inetpub\wwwroot\xmprosubscriptionmanager
and open web.config in a text editorUpdate the httpRuntime line in the system.web section
<!-- Find this line --> <httpRuntime targetFramework="4.8" maxUrlLength="1024" /> <!-- Change it to this --> <httpRuntime targetFramework="4.8" maxUrlLength="8192" maxQueryStringLength="8192" />
- HTTP Error 400: Bad Request - Request Too Long
Open Registry Editor by pressing Win+R, typing "regedit" and pressing Enter
Navigate to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters
Look for these two registry keys:
MaxFieldLength
MaxRequestBytes
If they don't exist, create them as DWORD (32-bit) values
Right-click in the right pane and select:
"New" → "DWORD (32-bit) Value"
Name the first value
MaxFieldLength
Double-click it to edit
Select "Decimal" as the base
Enter a value of 65536 (or higher if needed)
Click OK
Right-click again and add a second DWORD value
Name it
MaxRequestBytes
Double-click to edit
Select "Decimal" as the base
Enter a value of 65536 (or higher if needed)
Click OK
After adding or modifying these values, close Registry Editor
Open Command Prompt as Administrator and type
net stop http /y
net start http
iisreset
Always back up configuration files before making any changes to avoid unintended consequences. Contact XMPro Support if issues persist after attempting these solutions.
Last updated
Was this helpful?