Server Error in '/' Application. Configuration Error Description: An error occurred durin FWS38900

【红包】京东精选推荐 领券再购物

【推荐】花小猪新用户"打车"起步价免费,打车可以更便宜!

问题描述:


image.png


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: The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.


Source Error:



Line 37:    -->

Line 38:   <system.web>

Line 39:     <compilation targetFramework="4.6.1" />

Line 40:     <httpRuntime />

Line 41:     <pages controlRenderingCompatibilityVersion="4.0">


Source File: D:\FWS38900\web.config    Line: 39


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1



解决思路:


安装.net 4.6.1 以上的版本


.net 4.7.2 版本下载





| 打赏作者,一杯咖啡



如果文章对您有帮助,请打开微信扫一扫打赏二维码以表谢意!






| 免责声明


http://www.fj530.com/post/160.html


评论