The system.web.extensions section is for .NET 4.0. Please check the .NET settings of your Application Pool. If you need to run .NET 3.51 you can choose another web.config from codeplex.
In the first place I just tried it to see what would happen. But if I remember correctly, it actually solved my problem, and the site that i tested it on worked just like it should. I don't think that the above lines are in the web.config just for fun, but you could try giving it a shoot, just to check if the site works then.
Did you set the app pool to integrated mode? .NET 4 it should run in inegrated mode not in classic mode
Please check the rights of the user in which the apppool runs (should be app pool identity where the computeraccount is "IIS AppPool\NAMEOFYOURAPPPOOL"). The user should have read rights on the site.
The problem I was having was due to me not having the correct Application Pool set for the site. It was set to .NET 4, but the site was using the default application pool.
Thanks alot for the help everyone, all sorted now!
Error in default Umbraco 4.5.2 web.config when trying to install.
Hi, I'm currently trying to set up a fresh Umbraco 4.5.2 install on IIS7 and I am getting the following error.
Config Error
The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration
Any idea why I could be getting this error?
Thanks
The system.web.extensions section is for .NET 4.0. Please check the .NET settings of your Application Pool. If you need to run .NET 3.51 you can choose another web.config from codeplex.
hth, Thomas
Thanks for the reply.
I've just set the .NET Framework Version in the Application Pools bit of IIS7 to v4.0. But I still seem to be getting the same error.
Can you think of anything obvious I may be missing? I'm not overly familiar with IIS7.
You need to see which application pool your Umbraco IIS site is using and change this one to .Net 4.0
Thomas' solution is more than likely the correct one but sounds like you've not set it on the correct app pool.
Rich
Hi Probocop.
I actually think that I had this issue when the v4.5 was first released. Back then I think I outcommented the following section from the web.config:
In the first place I just tried it to see what would happen. But if I remember correctly, it actually solved my problem, and the site that i tested it on worked just like it should. I don't think that the above lines are in the web.config just for fun, but you could try giving it a shoot, just to check if the site works then.
/Kim A
Did you set the app pool to integrated mode? .NET 4 it should run in inegrated mode not in classic mode
Please check the rights of the user in which the apppool runs (should be app pool identity where the computeraccount is "IIS AppPool\NAMEOFYOURAPPPOOL"). The user should have read rights on the site.
hth, Thomas
The problem I was having was due to me not having the correct Application Pool set for the site. It was set to .NET 4, but the site was using the default application pool.
Thanks alot for the help everyone, all sorted now!
is working on a reply...