Загрузка больших файлов
От: lurii  
Дата: 16.10.06 15:05
Оценка:
Пытаюсь загрузить видеофильм: 30MB без проблем, а вот при полноразмерном 700MB — вот такая вот ошибка ...

Поставил на странице try везде где только можно, но до них даже не доходит ...

В web.config поставил maxRequestLength="1600000" — насколько понял 1,6 GB ...

Создал свой Application Pool, выставил ему максимальные значения для "virtual memory" и "used memory" — эффекта ноль ...

Полное сообщение об ошибке:

Server Error in '/' Application.
--------------------------------------------------------------------------------
Exception of type System.OutOfMemoryException was thrown.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.]
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

Trace хоть и включен — ничего не выводит ...

Хочу загружать большие файлы, а вот какие настройки и где крутить?

<httpRuntime
maxRequestLength="1600000"
executionTimeout="300"
/>

Время выполнения стоит на 5 мин — прерывается гдето через 60сек.

На форме одно поле "file" и кнопка — больше никаких доп.данных не идет.

Поигрался с размерами файлов — 200MB проходит, дальше нет.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.