file size problem

Last post 12-02-2010, 9:53 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  12-02-2010, 3:25 AM 65232

    file size problem

    we have recently downloaded aspuploader to check it for a new project and have found the following bizarre behaviour. In our in-house server the uploader works great , but in the remote server we can only upload files up to 40Kb !!! even thou we have set uploader.MaxSizeKB to 2MB.
     
    It surely must be a server configuration problem, but what can it be? In the same server we are succesfully uploading files  by other means much bigger than that 40 KB 
     
    Any hint will be much appreciated 
    Filed under:
  •  12-02-2010, 9:53 AM 65240 in reply to 65232

    Re: file size problem

    Dear abaco,
     

    Open your metabase.xml, which is located in 'c:\Windows\System32\Inetsrv', find the line "AspMaxRequestEntityAllowed" and change it to a value to suite your needs.

    Note: Editing the metabase.xml file requires shutting down of IIS before you can edit the file.

    For more information on the AspMaxRequestEntityAllowed or the metabase.xml file, see the Microsoft documentation or click the link below.
     
     http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/99b8a8bd-f9e7-43a8-b4cf-1186e2b3e9e2.asp

    For IIS6.0 users, the AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS may return a 403 error response.

    Please follow the steps below.

    1. Stop the Admin Service.
    2. open file "c:\Windows\System32\Inetsrv\MetaBase.xml
    3. change the AspMaxRequestEntityAllowed to "100000".  You can enter another value to suite your needs.
    4. save the file.
    5. restart the service.
    Keep me posted.
     
    Thank you for asking
View as RSS news feed in XML