2016-04-07 39 views
-1

私はアプリケーションをデバッグしようとしているときにseuinteエラーが発生しています。HTTPエラー404.13 - 見つかりません

HTTPエラー404.13 - 要求のフィルタリングモジュールは は、要求内容サイズを超えていると、要求を拒否するように構成されている

が見つかりません。

configuration/system.webServer/security/requestFiltering/[email protected] setting in applicationhost.configまたはweb.configファイルを確認してください。

私のweb.configファイル

<system.webServer> 
    <modules> 
     <remove name="FormsAuthentication" /> 
     <remove name="ApplicationInsightsWebTracking" /> 
     <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" /> 
    </modules> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <security> 
     <requestFiltering> 
     <requestLimits maxAllowedContentLength="31457280"/> 
     </requestFiltering> 
    </security> </system.webServer> 

詳細情報:

これとセキュリティ機能。変化の範囲は完全に理解されています。高速指定されたハム値より大きい要求を拒否するようにIISサーバーを構成できます。要求内容がセット*サイズESSEエラーより大きい場合は返されます。 *コンテンツのサイズを大きくした構成にconfiguration/system.webServer/security/requestFiltering/[email protected] .

答えて

3

を修正するために必要なあなたも、あなたの構成内の

<configuration> 
    <system.web> 
     <httpRuntime maxRequestLength="1048576" /> 
    </system.web> 
</configuration> 

を持っていますか? yoru設定ファイルに<httpRuntime maxRequestLength="1048576" />も追加する必要があると思います。

私はここからこれを得た - Maximum request length exceeded

3

あなたは、このような大きなファイルを処理するアプリケーション内maximumRequestLengthプロパティを調整する必要があります。

それはmaxAllowedContentLengthは、バイト単位で測定され、設定がこれらの値は、あなたがそれに応じて調整する必要がありますので、ときmaximumRequestLengthはキロバイト単位で測定されていることを知っておくことが重要です:

<configuration> 
    <system.web> 
     <!-- This will handle requests up to 1024MB (1GB) --> 
     <httpRuntime maxRequestLength="1048576" timeout="3600" /> 
    </system.web> 
</configuration> 

<!-- IIS Specific Targeting (noted by the system.webServer section) --> 
<system.webServer> 
    <security> 
     <requestFiltering> 
     <!-- This will handle requests up to 1024MB (1GB) --> 
     <requestLimits maxAllowedContentLength="1048576000" /> 
     </requestFiltering> 
    </security> 
</system.webServer> 
関連する問題