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
Use these and you'll find a lot of articles related to it: http://search.live.com/macros/wisemx/aspnet/ http://www.google.com/coop/cse?cx=009244845836111659857%3Albvxsjj8mho Search http://www.dotnetkicks.com too, articles on this have been kicked many times there. Salute, Mark
Put this in your web.config <configuration> <system.web> <httpRuntime maxRequestLength="10240"/> </system.web> </configuration> See http://msdn2.microsoft.com/en-us/library/e1f13641.aspxfor further reference. Bruce DiscountASP.NET www.DiscountASP.NET
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.