, если после реализации вышеуказанного добавления в ваш web.config вы получите сообщение «Unrecognized configuration section system.web.extensions.», затем попробуйте добавить это в свой web.config в секции <ConfigSections>
:
<sectionGroup name="system.web.extensions" type="System.Web.Extensions">
<sectionGroup name="scripting" type="System.Web.Extensions">
<sectionGroup name="webServices" type="System.Web.Extensions">
<section name="jsonSerialization" type="System.Web.Extensions"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>