Web.Config Error: Element 'system.web' is not supported

Last Reply on Aug 11, 2014 04:49 AM By Azim

Posted on Aug 11, 2014 04:47 AM


Element 'system.web' is not supported

Element 'httpRuntime' is not supported

when using this code

<httpRuntime executiontimeout="240" maxrequestlength="20480" />      


Posted on Aug 11, 2014 04:49 AM

In which section you have added these elements

It has to be like this

<?xml version="1.0"?>
  For more information on how to configure your ASP.NET application, please visit
    <httpRuntime executionTimeout="240" maxRequestLength="20480" />
    <compilation debug="true" targetFramework="4.0"/>