3

我正在将 mvc4 项目 4.0 转换为 4.5

我需要在 web 配置中将以下行添加到 system.web,但是当我这样做时,我得到 500 - Internal server error

 <httpRuntime targetFramework="4.5" />
4

1 回答 1

7

结果是我试图添加 httpRuntime,而它已经存在于 system.web 的末尾。为了解决这个问题,我做了一个合并:

<httpRuntime maxRequestLength="102400" executionTimeout="1200" targetFramework="4.5"/>
于 2013-06-15T08:42:54.807 回答