Have you seen this error with a Visual Studio 2010 ASP.NET or Silverlight project? The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration. You can see this image below for clearly:You can also get this error when you go to the Internet Information Services (IIS) Manager for IIS7 when you click on the application directory. It’s because you’ve deployed your application on to an IIS Server where the application’s AppPool is set to run under the DefaultAppPool. DefaultAppPool is automatically configured to run under .NET 2.0 rather than .NET 4.0. This means that the System.Web.Extensions stuff is unavailable to that version of the .NET Framework. Here’s what the Application Pools configuration looks like in IIS Manager.To change the Application Pool (AppPool) settings for your web application1. Select the application directory 2. Under Actions, click Basic Settings…
Your application pool is probably set to DefaultAppPool.3. Change the Application Pool to ASP.NET v4.0 (or another .NET 4.0 app pool) by clicking on the Select… button.4. Then, click OK.5. Please try to run it again and it should work.
Related posts
We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you". Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions
Author Link
ASPHostPortal 170 W 56th Street, Suite 121 New York, NY 10019 United States
Sign in