powered by simpleCommunicator - 2.0.60     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Maximum request length exceeded.
3 сообщений из 3, страница 1 из 1
Maximum request length exceeded.
    #34116734
Bohodir
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Всем привет!!!!!!!
Я в сайт хочу сохронит rar вский файл на сервер.Если размер файла привишаеть 10 мб выходит такой эксепшин
C]

Maximum request length exceeded.
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.Web.HttpException: Maximum request length exceeded.

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:

[HttpException (0x80004005): Maximum request length exceeded.]
System.Web.HttpRequest.GetEntireRawContent() +3220285
System.Web.HttpRequest.GetMultipartContent() +62
System.Web.HttpRequest.FillInFormCollection() +264
System.Web.HttpRequest.get_Form() +65
System.Web.HttpRequest.get_HasForm() +57
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +2022785
System.Web.UI.Page.DeterminePostBackMode() +60
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +133
...
Рейтинг: 0 / 0
Maximum request length exceeded.
    #34141079
_antixrist_
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Solution

FileUp Standard Edition can accept uploads of up to 4 gigabytes. FileUp Enterprise Edition can accept unlimited size uploads. However, when using the product in .NET, it is important to configure the application settings to make sure ASP.NET doesn't block the large uploads before FileUp can process them.

The maxRequestLength parameter is set in the httpRuntime section of web.config (or machine.config). maxRequestLength is set in bytes. So, for example, if you want to allow uploads of 100 MB, you would set maxRequestLength to 102400.

There are some other settings in httpRuntime which you may want to modify for large uploads. Below is an example httpRuntime element. Please adjust the settings according to the needs of your application.



Leonid
...
Рейтинг: 0 / 0
Maximum request length exceeded.
    #34141086
_antixrist_
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Solution

FileUp Standard Edition can accept uploads of up to 4 gigabytes. FileUp Enterprise Edition can accept unlimited size uploads. However, when using the product in .NET, it is important to configure the application settings to make sure ASP.NET doesn't block the large uploads before FileUp can process them.

The maxRequestLength parameter is set in the httpRuntime section of web.config (or machine.config). maxRequestLength is set in bytes. So, for example, if you want to allow uploads of 100 MB, you would set maxRequestLength to 102400.

There are some other settings in httpRuntime which you may want to modify for large uploads. Below is an example httpRuntime element. Please adjust the settings according to the needs of your application.



"lefttag" httpRuntime
executionTimeout="1200"
maxRequestLength="102400"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" "righttag"

Leonid
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Maximum request length exceeded.
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]