« Previous Next »

Thread: IIsWebServer tag in metabase.xml file

Last post 09-17-2009 9:13 AM by Worker Bee. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 09-16-2009, 2:24 PM

    • solotenk
    • Not Ranked
    • Joined on 09-16-2009, 6:15 PM
    • Posts 2

    IIsWebServer tag in metabase.xml file

    I'm new to IIS, and currently supporting an application running on IIS v6.0.

    We are getting the '413' error and trying to resolve it by setting the UploadReadAheadSize.

    I noticed there are 2 IIsWebServer tags in the metabase.xml file.  1st one has location="/LM/W3SVC/1", 2nd one has location="/LM/W3SVC/69700387".  The first one has the UploadReadAheadSize="50000000", and the 2nd one don't.  After I restart the server, what would be the value for UploadReadAheadSize?  Would that go back to default value since the 2nd IIsWebServer tag does not have the UploadReadAheadSize?

    Thanks.

  • 09-16-2009, 3:46 PM In reply to

    • Worker Bee
    • Not Ranked
    • Joined on 09-14-2009, 1:36 PM
    • DFW, TX - USA
    • Posts 13

    Re: IIsWebServer tag in metabase.xml file

    solotenk,

    The default value for UploadReadAheadSize is set in bytes at 49152 (48 KB).  If you want to explicitly set the size, you could use adsutil.vbs:

    cscript adsutil.vbs set W3SVC/xxxxxxxx/UploadReadAheadSize 50000000

    Be sure to restart IIS, otherwise, you may not see the change in the metabase.xml file -- you may be just seeing updated values in the in-memory metabase.  The changes will be permanent for each website where this update is done.

    To verify the change after the restart of IIS, you can use:

    cscript adsutil.vbs get W3SVC/xxxxxxxx/UploadReadAheadSize

    By the way, I am curious if your user base was trying to upload via SSL or just HTTP?  Let us know how it goes.

    Jae "Mac" | MCTS - Windows 2003 Hosting, Configuration and Management
  • 09-16-2009, 6:07 PM In reply to

    • solotenk
    • Not Ranked
    • Joined on 09-16-2009, 6:15 PM
    • Posts 2

    Re: IIsWebServer tag in metabase.xml file

    Thanks for your reply, especially your command for verifying the change, I was trying to get that too.

    We have applied the change and observing user activities now.

    I think our users are using SSL to upload based on my limited knowledge.

    Although this is the first time I visit this forum, I do feel like home.

    Thanks again.


  • 09-17-2009, 9:13 AM In reply to

    • Worker Bee
    • Not Ranked
    • Joined on 09-14-2009, 1:36 PM
    • DFW, TX - USA
    • Posts 13

    Re: IIsWebServer tag in metabase.xml file

    solotenk,

    Welcome to the community.  I joined this week too.
     
    You may or may not run into this but since you are now working with larger files... if your users are downloading files larger than 4MB, look into adjusting the ASPBufferingLimit property too.

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

     

    Jae "Mac" | MCTS - Windows 2003 Hosting, Configuration and Management
Page 1 of 1 (4 items)
Microsoft Communities