Portal HTTP Error 404.15 - String too long

Related to the Portal
Post Reply
sbidny
Posts: 123
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614

Portal HTTP Error 404.15 - String too long

Post 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)
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Portal HTTP Error 404.15 - String too long

Post by rimai »

Try again
Roberto.
sbidny
Posts: 123
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614

Re: Portal HTTP Error 404.15 - String too long

Post 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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Portal HTTP Error 404.15 - String too long

Post by rimai »

It should work now.
Roberto.
sbidny
Posts: 123
Joined: Mon Sep 17, 2012 12:41 pm
Location: Lincoln Park, Chicago, IL, USA 60614

Re: Portal HTTP Error 404.15 - String too long

Post by sbidny »

Seems to have worked this time. Thank you, sir!
Post Reply