maxQueryString error

4 posts, 0 answers
  1. Doug R
    Doug R avatar
    3 posts
    Member since:
    Oct 2010

    Posted 04 Mar 2013 Link to this post

    getting this error pop up even the app seems to be working fine:

    Exception Type: System.Data.Services.Client.DataServiceQueryException
    Exception Message: An error occurred while processing this request.
       at System.Data.Services.Client.QueryResult.EndExecute[TElement](Object source, IAsyncResult asyncResult)
       at System.Data.Services.Client.DataServiceRequest.EndExecute[TElement](Object source, DataServiceContext context, IAsyncResult asyncResult)
       at System.Data.Services.Client.DataServiceContext.EndExecute[TElement](IAsyncResult asyncResult)
       at TeamPulse.Client.Managers.ProjectManager.<>c__DisplayClass6c8.<GetTasksPercentComplete>b__6c3(IAsyncResult ar)
       at TeamPulse.Client.DataService.TeamPulseDataContext.<>c__DisplayClass10`1.<>c__DisplayClass13.<BeginExecute>b__f()
    (Inner Exception)
    Exception Type: System.Data.Services.Client.DataServiceClientException
    Exception Message: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>IIS 7.5 Detailed Error - 404.15 - Not Found</title>
    <style type="text/css">
    <!--
    body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;}
    code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}
    .config_source code{font-size:.8em;color:#000000;}
    pre{margin:0;font-size:1.4em;word-wrap:break-word;}
    ul,ol{margin:10px 0 10px 40px;}
    ul.first,ol.first{margin-top:5px;}
    fieldset{padding:0 15px 10px 15px;}
    .summary-container fieldset{padding-bottom:5px;margin-top:4px;}
    legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}
    legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;
     border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696;
     border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;font-size:1em;}
    a:link,a:visited{color:#007EFF;font-weight:bold;}
    a:hover{text-decoration:none;}
    h1{font-size:2.4em;margin:0;color:#FFF;}
    h2{font-size:1.7em;margin:0;color:#CC0000;}
    h3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;}
    h4{font-size:1.2em;margin:10px 0 5px 0;
    }#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS",Verdana,sans-serif;
     color:#FFF;background-color:#5C87B2;
    }#content{margin:0 0 0 2%;position:relative;}
    .summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
    .config_source{background:#fff5c4;}
    .content-container p{margin:0 0 10px 0;
    }#details-left{width:35%;float:left;margin-right:2%;
    }#details-right{width:63%;float:left;overflow:hidden;
    }#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF;
     background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-top:1px solid #4A6C8E;font-weight:normal;
     font-size:1em;color:#FFF;text-align:right;
    }#server_version p{margin:5px 0;}
    table{margin:4px 0 4px 0;width:100%;border:none;}
    td,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:bold;border:none;}
    th{width:30%;text-align:right;padding-right:2%;font-weight:normal;}
    thead th{background-color:#ebebeb;width:25%;
    }#details-right th{width:20%;}
    table tr.alt td,table tr.alt th{background-color:#ebebeb;}
    .highlight-code{color:#CC0000;font-weight:bold;font-style:italic;}
    .clear{clear:both;}
    .preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;}
    -->
    </style>
     
    </head>
    <body>
    <div id="header"><h1>Server Error in Application "TEAMPULSE"</h1></div>
    <div id="server_version"><p>Internet Information Services 7.5</p></div>
    <div id="content">
    <div class="content-container">
     <fieldset><legend>Error Summary</legend>
      <h2>HTTP Error 404.15 - Not Found</h2>
      <h3>The request filtering module is configured to deny a request where the query string is too long.</h3>
     </fieldset>
    </div>
    <div class="content-container">
     <fieldset><legend>Detailed Error Information</legend>
      <div id="details-left">
       <table border="0" cellpadding="0" cellspacing="0">
        <tr class="alt"><th>Module</th><td>RequestFilteringModule</td></tr>
        <tr><th>Notification</th><td>BeginRequest</td></tr>
        <tr class="alt"><th>Handler</th><td>svc-Integrated-4.0</td></tr>
        <tr><th>Error Code</th><td>0x00000000</td></tr>
         
       </table>
      </div>
      <div id="details-right">
       <table border="0" cellpadding="0" cellspacing="0">
        <tr class="alt"><th>Requested URL</th><td>http://c31227:9898/Services/DataService.svc/GetTasksPercentComplete?$filter=(ParentID%20eq%20210%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20209%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20208%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20207%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20206%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20205%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20204%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20203%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20202%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20201%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20200%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20199%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20198%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20197%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20196%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20195%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20194%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20193%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20192%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20191%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20190%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20189%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20188%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20187%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20186%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20185%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20184%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20183%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20182%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20181%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20180%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20179%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20178%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20177%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20176%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20175%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20174%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20173%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20172%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20171%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20170%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20169%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20168%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20167%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20166%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20165%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20164%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20163%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20162%20and%20ParentType%20eq%20'Story')%20or%20(ParentID%20eq%20161%20and%20ParentType%20eq%20'Story')</td></tr>
        <tr><th>Physical Path</th><td>C:\Program Files (x86)\Telerik\TeamPulse\wwwroot\Services\DataService.svc\GetTasksPercentComplete</td></tr>
        <tr class="alt"><th>Logon Method</th><td>Not yet determined</td></tr>
        <tr><th>Logon User</th><td>Not yet determined</td></tr>
         
       </table>
       <div class="clear"></div>
      </div>
     </fieldset>
    </div>
    <div class="content-container">
     <fieldset><legend>Most likely causes:</legend>
      <ul>     <li>Request filtering is configured on the Web server to deny the request because the query string is too long.</li> </ul>
     </fieldset>
    </div>
    <div class="content-container">
     <fieldset><legend>Things you can try:</legend>
      <ul>     <li>Verify the configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString setting in the applicationhost.config or web.config file.</li> </ul>
     </fieldset>
    </div>
     
     
    <div class="content-container">
     <fieldset><legend>Links and More Information</legend>
      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.
      <p><a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=404,15,0x00000000,7601">View more information &raquo;</a></p>
       
     </fieldset>
    </div>
    </div>
    </body>
    </html>

       at System.Data.Services.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)
       at System.Data.Services.Client.QueryResult.EndExecute[TElement](Object source, IAsyncResult asyncResult)


  2. Elena Peneva
    Admin
    Elena Peneva avatar
    97 posts

    Posted 06 Mar 2013 Link to this post

    Hello Doug,

     I have already replied you in the support ticket you opened and will just copy my response here.

     You should be able to work around this issue by increasing the limit on the query string and the URL in IIS. This is done by modifying the web.config file for the TeamPulse web site. I have attached an image showing which section to change and you can also refer to this page for more information about setting request limits in IIS.

    The web.config file should be located here: C:\Program Files (x86)\Telerik\TeamPulse\wwwroot\web.config.

    Kind regards,

    Elena Peneva
    the Telerik team
  3. Vassili King
    Vassili King avatar
    60 posts
    Member since:
    May 2010

    Posted 21 Aug 2014 in reply to Elena Peneva Link to this post

    This doesn't work. I just upgraded to ​Telerik_TeamPulse_Standard_Edition_2014_R1 (from Telerik_TeamPulse_Standard_Edition_2013_R3_SP1). Now I have a piece of software that does not work.
  4. Ivan
    Admin
    Ivan avatar
    73 posts

    Posted 22 Aug 2014 Link to this post

    Hi Vassili,

    Please follow the answer in ticket with id 852228, because your installation issue is probably not related to the maxQuerryString error.

    Regards,
    Ivan
    Telerik
     
Back to Top