3

I am converting mvc4 project, 4.0 to 4.5

I need to add the folowing line to system.web in web config, but when I do, I get 500 - Internal server error

 <httpRuntime targetFramework="4.5" />
user1615362
  • 3,657
  • 9
  • 29
  • 46

1 Answers1

7

Turns out that I was trying to add the httpRuntime, when it already existed at the end of the system.web. To resolve the issue I did a merge:

<httpRuntime maxRequestLength="102400" executionTimeout="1200" targetFramework="4.5"/>
user1615362
  • 3,657
  • 9
  • 29
  • 46