ASP.Net

○SVCのエラー

IIS7のログに sc-status=404、sc-substatus=13

IIS 7.0、IIS 7.5、および IIS 8.0 の HTTP 状態コード

404.13 – コンテンツの長さが長すぎます。

対策は、Web.configに

 <configuration>
    <system.web>
        <httpRuntime maxrequestlength="5120">
    </system.web>
</configuration>

以下はデフォ30000000バイトなので、超える場合は必要らしい

<configuration>
    <system.webServer>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="50000000">
            <requestFiltering>
        <security>
    </system.web>
</configuration>

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です