I nvs2010 I have .net 4 as default seting and on my host server I have a asp.net setting of .4 net but my page displays an error with .net version 2?
http://www.mymrt.net/sums1/sums1/intro.aspx
i add tis line in and i get another error
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
<compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
In IIS, create a new Application Pool with target framework as 4.0.
In IIS, change your web-site to "application". For this, In IIS right click your website node in IIS and select "Convert to Application". Then select the Application Pool created in above step.