Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • leonardo 5 posts 85 karma points
    Jan 25, 2019 @ 21:37
    leonardo
    0

    Unrecognized attribute 'requestPageSize'. Note that attribute names are case-sensitive.

    I'm getting this error and I can't figure out what is wrong? enter image description here

    Any ideas?

  • David Challener 80 posts 444 karma points c-trib
    Jan 25, 2019 @ 21:41
    David Challener
    0

    Hi Leonardo,

    These are the valid parameters for the trace element in your web.config. Try changing requestPageSize to requestLimit or removing it.

    <trace 
           enabled="true|false"
           localOnly="true|false"
           pageOutput="true|false"
           requestLimit="integer" 
           mostRecent="true|false"
           writeToDiagnosticsTrace="true|false"
           traceMode="SortByTime|SortByCategory"
        />
    

    Cheers,

    David

  • leonardo 5 posts 85 karma points
    Jan 25, 2019 @ 21:53
    leonardo
    0

    Hi David, thank you for your response. I tried to do as you suggested but now i'm getting the problem here: enter image description here

  • David Challener 80 posts 444 karma points c-trib
    Jan 25, 2019 @ 22:08
    David Challener
    100

    Have you inherited this web.config from somewhere?

    Try changing requestPageSizes to requestLimits.

    <requestFiltering>
      <requestLimits maxQueryString="52428800"/>
    </requestFiltering>
    
  • leonardo 5 posts 85 karma points
    Jan 25, 2019 @ 22:52
    leonardo
    0

    Thanks it works now!

Please Sign in or register to post replies

Write your reply to:

Draft