The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration
Posted
by Jeff Widmer
on ASP.net Weblogs
See other posts from ASP.net Weblogs
or by Jeff Widmer
Published on Fri, 11 Nov 2011 10:27:23 GMT
Indexed on
2011/11/11
17:53 UTC
Read the original article
Hit count: 634
After upgrading an ASP.NET application from .NET Framework 3.5 to .NET Framework 4.0 I ran into the following error message dialog when trying to view any of the modules in IIS on the server.
What happened is during the upgrade, the web.config file was automatically converted for .NET Framework 4.0. This left behind an empty system.web.extensions section:
It was an easy fix to resolve, just remove the unused system.web.extensions section.
ERROR DIALOG TEXT:
---------------------------
ASP
---------------------------
There was an error while performing this operation.
Details:
Filename: \\?\web.config
Line number: 171
Error: The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration
---------------------------
OK
---------------------------
© ASP.net Weblogs or respective owner