maxRequestLength

Discussion in 'ASP.NET 2.0' started by jmbaumann, Apr 2, 2008.

  1. I have an upload form that allows users to upload files to my website. However ASP.NET 2.0 sets a default limit to 4096 bytes. The easy way to fix this is to increase the maxRequestLength variable in the server files. However, understandably, DiscountASP.net does not modify server configurations for clients. The support person told me that there is a way to change this in the .NET coding. Does anyone know who to do that?

    Jason
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Don't yell at me for being stupid but where do I find this file?
     
  4. In the root of your project.
    If your upload control is in a folder it can have its own web.config, you will not need to put that in the root.
    However placing it in the root will give you inheritance for the site.
     

Share This Page