Check the size of the ASPMaxRequestEntityAllowed  [Answered]RSS

2 replies

Last post Aug 20, 2012 03:18 PM by jb_portal

  • Check the size of the ASPMaxRequestEntityAllowed

    Aug 20, 2012 01:49 PM|jb_portal|LINK

    Hi, 

    I'm receiving an 'ASP 0104 : 80004005' error when I try and run a export of report data to pdf in an asp application.  It runs fine in the production envirionment but not in Dev or UAT.  My research indicates that this is likely due to Max Request Object but I'd like to check the current size of the ASPMaxRequestEntityAllowed entity in all three locations before tinkering with it.  Is there a method to check the current settings?

    Thanks,

    JB 

  • Re: Check the size of the ASPMaxRequestEntityAllowed

    Aug 20, 2012 02:37 PM|peterviola|LINK

    Hi,

     According to this the deafult setting is: 204,800 bytes. The current value is most likely stored in the metabase.

    http://support.microsoft.com/kb/327659

    You can switch it using this command:

    cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed size

    Peter Viola
    MCTIP SA, EST, DBA 2008
    MCSA Windows Server 2012

    Please 'Mark as Answer' if this post helps you.

    www.peterviola.com
  • Re: Check the size of the ASPMaxRequestEntityAllowed

    Aug 20, 2012 03:18 PM|jb_portal|LINK

    Hi Peter,

    I had actually found the solution earlier, I was primarily concerned with checking the current values.  Your hint about the metabase gave me the right track and I was able to export the config from IIS in order to compare the values.  Production was in fact much larger then the default used by Dev and UAT.

    I'll be updating them both to reflect Prod presently.

    Thanks,

    JB