While working on setting up a new environment for the application deployment we came up with a configuration error as below. We will see how to fix this issue and make the deployment smooth. These configuration are very much essential while setting up a raw infrastructure as it requires a lot of settings that need to be taken into consideration while deploying the application. If you are not a developer and need to deploy the website to Azure go with the Azure Websites which is very much easy and they dont need a developer background as well to publish the application. [more]
The issue is with the System.Web.Extensions are not able to read the declared section, to fix this issue we need to install the Microsoft .Net Framework 4.0 on to the server. To download the framework down the same from the link http://www.microsoft.com/en-in/download/details.php?id=17718 and install to the server as shown in the screen below.
This fixes the issue and we can able to proceed with the deployment successfully. Hope this tip will be useful while deploying the application to server.