3
在圖像上傳時執行項目期間,瀏覽器顯示此錯誤。 我正在使用SQl服務器作爲數據庫。執行文件上傳時出錯
`Server Error in '/' Application.
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() +9803702
System.Web.HttpRequest.GetMultipartContent() +63
System.Web.HttpRequest.FillInFormCollection() +160
System.Web.HttpRequest.EnsureForm() +69
System.Web.HttpRequest.get_Form() +13
System.Web.HttpRequest.get_HasForm() +9800635
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +95
System.Web.UI.Page.DeterminePostBackMode() +69
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +220
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1073.0`
是否有任何限制限制在文件上傳SQl服務器?
爲什麼你給了原始答案的鏈接? http://stackoverflow.com/questions/3853767/maximum-request-length-exceeded – Tushar
對不起..我應該有..我使用多個來源得到正確的語法顯示在配置文件。我修改了我的回答 – cableload
不建議抄襲。如果你知道來源,那麼請歸因於它。你可以評論相同的 – Tushar