nadia2174
چهارشنبه 19 تیر 1392, 10:34 صبح
سلام به دوستان. من یه بخش دانلود مقالات در سایتم دارم که زمانی که از بخش مدیریت فایل های بیشتر از 1 MB رو میخوام آپ کنم، خطای زیر رو میده که سرور قطع میشه.محدودیتی برای حجم در کدش هم لحاظ نشده.. لطفا بگید مشکل از کجاست؟
کد بالای ص در مد source
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="manageArticle.aspx.cs" Inherits="ebookManage" Title="مدیریت مقاله های الکترونیک" %>
و خطای نمایش داده شده:
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() +8780834 System.Web.HttpRequest.GetMultipartContent() +62 System.Web.HttpRequest.FillInFormCollection() +236 System.Web.HttpRequest.get_Form() +68 System.Web.HttpRequest.get_HasForm() +8735447 System.Web.UI.Page.GetCollectionBasedOnMethod(Bool ean dontReturnNull) +97 System.Web.UI.Page.DeterminePostBackMode() +63 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +133
کد بالای ص در مد source
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="manageArticle.aspx.cs" Inherits="ebookManage" Title="مدیریت مقاله های الکترونیک" %>
و خطای نمایش داده شده:
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() +8780834 System.Web.HttpRequest.GetMultipartContent() +62 System.Web.HttpRequest.FillInFormCollection() +236 System.Web.HttpRequest.get_Form() +68 System.Web.HttpRequest.get_HasForm() +8735447 System.Web.UI.Page.GetCollectionBasedOnMethod(Bool ean dontReturnNull) +97 System.Web.UI.Page.DeterminePostBackMode() +63 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +133