我正在将 mvc4 项目从 4.0 转换为 4.5
我需要将以下行添加到 Web 配置中的 system.web,但是当我这样做时,我收到 500 - 内部服务器错误
<httpRuntime targetFramework="4.5" />
最佳答案
事实证明,我正在尝试添加 httpRuntime,而它已经存在于 system.web 的末尾。 为了解决这个问题,我进行了合并:
<httpRuntime maxRequestLength="102400" executionTimeout="1200" targetFramework="4.5"/>
关于asp.net - httpRuntime targetFramework ="4.5"导致 500 - 内部服务器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17118236/