RadControls for ASP.NET AJAX
SYMPTOMS
When you try to use the RadUpload or a standard
HtmlInputFile control to upload a large file, the file may
not be uploaded.
CAUSE
This problem occurs because the default value for the maxRequestLength
parameter in the section of the Machine.config file is 4096 (4 megabytes). As a result, files
that are larger than this value are not uploaded by default.
RESOLUTION
MORE INFORMATION
You may notice the following error messages if you encounter file size
limits during the file upload process:
"The page cannot be displayed".
"Maximum request length exceeded."
"Server Application is Unavailable" In the event log, the error message will be similar to
the following: aspnet_wp.exe (PID:PIDNumber) was recycled because memory consumption exceeded
the SizeLimit MB (Percentage percent of available RAM).
"Exception of type System.OutOfMemoryException was thrown".
Note |
|---|
You may also find that uploads occur very slowly. If you watch the Aspnet_wp.exe process in
Windows Task Manager, you will notice that the memory delta changes by 64 KB every 1 to 2 seconds.
Depending on the size of the file, this delay may cause the ASP.NET worker process to recycle
because of a responseDeadlock error.
|
PRB: Cannot Upload Large Files When You Use the HtmlInputFile Server Control
See Also