Solution for "targetFramework" Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hello everybody

i got the solution for one of the common .net framework 4.0 error...

Source Error:


Line 21:       <error statusCode="404" redirect="filenotfound.htm"/>
Line 22:     </customErrors>
Line 23:     <compilation debug="false" targetFramework="4.0">
Line 24:       <expressionBuilders>
Line 25:         <add expressionPrefix="NopResources" type="NopSolutions.NopCommerce.BusinessLogic.Localization.NopResourceExpressionBuilder, Nop.BusinessLogic"/>

Source File: C:\inetpub\wwwroot\nop\web.config    Line: 23

I got the solution. Just follow the following steps:

1) Open IIS management console

2) Click on Application Pools

3) Click on DefaultAppPool

4) On the right side bar you will find: "Edit Application Pool". Below this title, click on "Basic Setting" and from there you can change the .Net framework from v. 2 to v. 4. I keep managed application line as it is "integrated".
13 years ago
Thanks For the infomation. I got to fix the error. Now the only thing it does not find the default aspx page. Wonder why, if the rest of the websites have the same settings and work. Couldnt figure out hoe to change framework version in website. Simple once i got the answer. Thanks for the infomation Great !
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.