ファイルのアップロードに使用する Azure API アプリを作成しました。これらのファイルは 4 MB を超えるため、リクエストの最大長を増やす必要があります。以下を Web.config に追加しました。
<system.web>
<httpRuntime executionTimeout="7200" targetFramework="4.5" maxRequestLength="2097152" />
</system.web>
私も追加しました:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2097152000" />
</requestFiltering>
</security>
</system.webServer>
それでもまだ例外が発生しますMaximum request length exceeded.
。何か不足していますか?他に試せることはありますか?
ありがとう!