IIS7, SSL and “The page was not displayed because the request entity is too large.”

后端 未结 1 1759
Happy的楠姐
Happy的楠姐 2021-02-09 11:24

We\'re running an ASP.NET application over SSL on IIS7 on a 64-bit machine.

Now I\'ve found several articles mentioning that to resolve this error, I need to modify the

相关标签:
1条回答
  • 2021-02-09 12:05

    I would recommend instead just setting it up for the Site that requires that kind of functionality, you can easily do that using AppCmd, here is the syntax for enabling it say for Default Web Site:

    appcmd.exe set config "Default Web Site" -section:system.webServer/serverRuntime /uploadReadAheadSize:"1048576"  /commit:apphost
    

    Server runtime allows you to set several other features that depending on the server (like if it hosts 3rd party sites, or other non-trusted content) you might want not to allow that for them, so not delegating it (unlocking) makes sense.

    0 讨论(0)
提交回复
热议问题