Web Config problem in asp.net. i am using vs 2010. my web.config is given below
<pre><code> &lt;?xml version="1.0"?&gt;
&lt;configuration&gt;
    &lt;appSettings&gt;
        &lt;add key="ConnectionInfo" value="server=127.0.1.1;database=Info_mgmt;Integrated Security=SSPI"/&gt;
    &lt;/appSettings&gt;
    &lt;connectionStrings&gt;
        &lt;add name="Info_mgmtConnectionString" connectionString="Data Source=daffodils\sqlexpress;Initial Catalog=Info_mgmt;Integrated Security=True" providerName="System.Data.SqlClient"/&gt;
    &lt;/connectionStrings&gt;
    &lt;system.web&gt;
        &lt;compilation debug="true" targetFramework="4.0"&gt;
        &lt;/compilation&gt;
        &lt;!--
            The &lt;authentication&gt; section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        --&gt;
        &lt;authentication mode="Windows"/&gt;
        &lt;!--
            The &lt;customErrors&gt; section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.

        &lt;customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"&gt;
            &lt;error statusCode="403" redirect="NoAccess.htm" /&gt;
            &lt;error statusCode="404" redirect="FileNotFound.htm" /&gt;
        &lt;/customErrors&gt;
        --&gt;
        &lt;pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/&gt;&lt;/system.web&gt;
    &lt;!-- 
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    --&gt;
&lt;/configuration&gt;
</code></pre>

<p>Error:</p>

<p>Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.</p>

<p>Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.</p>

<p>Source Error:</p>

<p>Line 7:     
Line 8:     
Line 9:         
Line 10:        
Line 11:        

<p>Source File: D:\Infopass\Infopass-Web\Infopass-Web\web.config    Line: 9 </p>
