Visual Studio でSharePoint Office 365 アプリを開発しています。FileUpload コントロールを使用して、CSOM を使用して SharePoint ドキュメント ライブラリにファイルをアップロードしました。
問題に直面しています。SharePoint Office 365 アプリでは、カスタム ページに3 MP を超えるファイルをアップロードできず、次のエラー メッセージが表示されます。
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() +9726860
System.Web.HttpRequest.GetMultipartContent() +63
System.Web.HttpRequest.FillInFormCollection() +165
System.Web.HttpRequest.EnsureForm() +75
System.Web.HttpRequest.get_Form() +12
System.Web.HttpRequest.get_HasForm() +9728411
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +95
System.Web.UI.Page.DeterminePostBackMode() +69
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +130
SharePoint アプリでアップロードするファイルの最大サイズを増やす方法を教えてください。
前もって感謝します。