Page 1 of 1

Portal HTTP Error 404.15 - String too long

PostPosted: Wed Jan 16, 2019 8:37 am
by sbidny
I am trying to update my labels on the portal after recently adding relay box 8 to my code.

It seems that the URL sent to the web server is too long now, as I am receiving the following error. Can this be changed in the web server config?:

HTTP Error 404.15 - Not Found
The request filtering module is configured to deny a request where the query string is too long.

Most likely causes:
Request filtering is configured on the Web server to deny the request because the query string is too long.

Things you can try:
Verify the configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString setting in the applicationhost.config or web.config file.

Detailed Error Information:
Module RequestFilteringModule
Notification BeginRequest
Handler PageHandlerFactory-Integrated-4.0
Error Code 0x00000000

Requested URL https://forum.reefangel.com:443/status/ ... xxxxxxxxxx

Physical Path D:\Inetpub\wwwroot\status\submitlabels.aspx
Logon Method Not yet determined
Logon User Not yet determined

More Information:
This is a security feature. Do not change this feature unless the scope of the change is fully understood. You can configure the IIS server to reject requests whose query string is greater than a specified value. If the request's query string is greater than the configured value, this error is returned. If the allowed length of the query string needs to be increased, modify the configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString setting.
View more information ยป (http://go.microsoft.com/fwlink/?LinkID= ... 00000,9600)

Re: Portal HTTP Error 404.15 - String too long

PostPosted: Wed Jan 16, 2019 5:46 pm
by rimai
Try again

Re: Portal HTTP Error 404.15 - String too long

PostPosted: Wed Jan 16, 2019 9:46 pm
by sbidny
Seeing a new error:

Server Error in '/' Application.
The length of the query string for this request exceeds the configured maxQueryStringLength value.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The length of the query string for this request exceeds the configured maxQueryStringLength value.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): The length of the query string for this request exceeds the configured maxQueryStringLength value.]
System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +9939759
System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +53

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3163.0

Re: Portal HTTP Error 404.15 - String too long

PostPosted: Thu Jan 17, 2019 3:19 pm
by rimai
It should work now.

Re: Portal HTTP Error 404.15 - String too long

PostPosted: Thu Jan 17, 2019 3:56 pm
by sbidny
Seems to have worked this time. Thank you, sir!