The length of the query string for this request exceeds the configured maxQueryStringLength value

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/10/2011 4:46:25 AM
Gravatar
Total Posts 2

The length of the query string for this request exceeds the configured maxQueryStringLength value

Hi,

I have just downloaded the mojo portal, installed via Microsoft Web Publishing.

I have added a few pages with little content.  However I was in the process of creating a Contact page under root.  This page contains HTML content.

I went to edit the page, clicked on the HTML button and pasted in some HTML source.  I got the following exception in the HTML Source Editor dialog:

 

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() +8888285
   System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +59
 

The HTML Source was as follows:

<p>
        Address</p>
    <p>
        Our House
        <br />
        In
        <br />
        Middle of
        <br />
        Our Street
        <br />
        Somewhere
        <br />
        Somehow
        <br />
        XXXX XXX</p>
    <p>
        <strong>Telephone</strong></p>
    <table>
        <tr>
            <td>
                <p>
                    Office</p>
            </td>
            <td>
                <p>
                    +XX (X)XXXX XXX XXX</p>
            </td>
        </tr>
        <tr>
            <td>
                <p>
                    Support</p>
            </td>
            <td>
                <p>
                    +XX (X)XXXX XXX XXX</p>
            </td>
        </tr>
    </table>
    <p>ertert</p>       
    <table>
        <tr>
            <td>
                XXXX XXXXXXX
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                XXXX XXXXXXXX
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                XXXX XXXXXXXXXXX
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                XXXXX XXXXXX
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                XXX XXXX
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                XXXX XXXXXXXX
            </td>
            <td>
                XXXXXXXXXXX
            </td>
        </tr>
        <tr>
            <td>
                XXXXX XXXX
            </td>
            <td>
            </td>
        </tr>
    </table>
    <p>ertert</p>
    <p>ertert</p>
    <p>ertert</p>

 

However, the code appears to copy to the normal editor window.  You can click on the X to close the HTML Source Editor dialog.

It does not prevent the app from working but it is not a nice error.  Any thoughts?

 

Thanks

Andez

 

 

2/10/2011 11:14:45 AM
Gravatar
Total Posts 18439

Re: The length of the query string for this request exceeds the configured maxQueryStringLength value

Hi,

I'm not sure what you are doing but that is not a reproducible error or bug in mojoPortal as far as I know. If you can reproduce this error on demo.mojoportal.com or provide repeatable steps to produce it I will look into it as a bug.

Only thing I can suggest is try using CKeditor instead of TinyMCE, you can enable it in Administration > Site Settings.

There is a setting in Web.config that determines the max length allowed for query strings

<httpRuntime requestValidationMode="2.0" maxUrlLength="560" maxQueryStringLength="2048"  />

but it should be long enough already and I don't know any reason it would give that error in the editor, nor does it happen for me when I paste in the content you posted in html view.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.