متن کامل خطا به شرح ذیل می باشد.
Server Error in '/' Application. 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. Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. Source Error: Line 128: --> Line 129: <!-- set debugmode to false for running application --> Line 130: <compilation debug="false" strict="false" targetFramework="4.0"> Line 131: <buildProviders> Line 132: <remove extension=".resx" /> Source File: E:\Path\www\web.config Line: 130 Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420
این خطا زمانی رخ می دهد که شما در فایل Web.Config مقدار
targetFramework="4.0"
را داشته باشید، ولی نسخه Net. را روی 2 ست نموده باشید.
جهت رفع خطا نسخه Net. را روی 4 ست نمائید.
موفق باشید.