Blog coding and discussion of coding about JavaScript, PHP, CGI, general web building etc.

Tuesday, April 26, 2016

The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration

The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration


I am getting error (The configuration section system.web.extensions cannot be read because it is missing a section declaration) while installing my Web Application in Server 2008 32 bit machine with .NET Framework 4.0. but it works well in 2008 r2 64 bit machine.

This is my webconfig file info

                                                                                                                                            

Any idea to get rid of this error?

Note: I have checked all the related entries in Stack over flow but nothing was useful for me

Answer by kombsh for The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration


The issue resolved for me after adding the following configuration setting in my webconfig file

                        

We can refer this article for more info: http://www.morgantechspace.com/2013/11/The-configuration-section-system-web-extensions-cannot-be-read-because-it-is-missing-a-section-declaration.html

Answer by user3946348 for The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration


I also had the same problem after upgrading my OS from Windows Server 2003 to Windows Server 2008 R2 , I just changed the application pool settings to .NetFramework 4.0.0 and also changed the classic to Integrated mode ... my problems solved ..

Answer by Kiryl for The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration


Probably related question: .NET using wrong 2.0 machine.config instead of 4.0. I've experienced similar issue... And solution for me:

Not sure, that it's realy reason/solution, but last thing I've try it is (in IIS Manager):

  1. Navigate to server in right panel (root node)
  2. In the features list open "ISAPI and CGI Restrictions"
  3. There is 2 items with descriptions ASP.NET v4.0.30319 with restrictions set to Deny
  4. Set restrictions value to Allowed

This is last thing i've tried before issue is gone.

Answer by Praveen Kumar Thalluri for The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration


Try changing the application pool run time from .net 2.0 to .net 4.0

Answer by Chetan Naithani for The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration


I changed .net framework V4.0 from V2.0 of application pool in IIS and it worked for me.


Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\XAMPP INSTALLASTION\xampp\htdocs\endunpratama9i\www-stackoverflow-info-proses.php on line 72

0 comments:

Post a Comment

Popular Posts

Powered by Blogger.