Trouble Deploying .Net Framework 4 Website on IIS7

Posted by Cyril Gupta on Stack Overflow See other posts from Stack Overflow or by Cyril Gupta
Published on 2010-03-23T07:19:27Z Indexed on 2010/03/23 7:23 UTC
Read the original article Hit count: 1037

Filed under:
|
|
|
|

Okay, I am trying to deploy a .Net framework 4 website on IIS7 server. I have already changed the application-pool's target framework to .Net 4, but the app is still showing me the error:

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

I am guessing that has something to do with the new feature of .Net4 that lets me have a compact Web config file. I think for some reason IIS7 is not happy with this.

What can I do to deploy this app successfully or do I have to scale back to v3.5? I am sure there is a solution out there.

Do you have any suggestions?

© Stack Overflow or respective owner

Related posts about .net-4

Related posts about iis7