Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 26th, 2004, 02:25 PM
Authorized User
 
Join Date: Mar 2004
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Missing Form Data

I've written an app that uploads two files to the web server for further processing. It appears that if the total size is greater than 4 meg it causes an error. Looking at the tracing information it looks like the form data is not being processed. The Session State and Form Collection information is completely missing. Any ideas on what's causing this and how it can be remedied? Is this an issue w/ IIS or the application? Thanks.
 
Old April 26th, 2004, 03:16 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Maumee,

It's likely that this is caused my the maxRequestLength setting in the machine.config file for your system. You'll find this attribute on the httpRuntime element, like this:
Code:
<httpRuntime   
  executionTimeout="90" 
  maxRequestLength="4096" 
  useFullyQualifiedRedirectUrl="false" 
  minFreeThreads="8" 
  minLocalRequestFreeThreads="4" 
  appRequestQueueLimit="100" 
  enableVersionHeader="true"
/>
As you can see, maxRequestLength is set to 4096 which equals the 4 MB limit you seem to hit.

To solve this, you can change this in the Machine.config file, or better yet, override the setting in the site specific Web.config file. Look here for more info: http://msdn.microsoft.com/library/de...imesection.asp

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Mezzanine by Massive Attack (Track 9 from the album: Mezzanine) What's This?






Similar Threads
Thread Thread Starter Forum Replies Last Post
C# Windows Form Controls Missing jcrudisill C# 2 August 3rd, 2007 12:32 PM
Excel and Missing MS Form Components... Jigwar Excel VBA 2 July 21st, 2005 08:10 AM
Missing Data in Access? daxers Access ASP 1 June 14th, 2004 02:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.