IIS的配置问题
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了IIS的配置问题相关的知识,希望对你有一定的参考价值。
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 75: </appSettings>
Line 76: <system.web>
Line 77: <compilation targetFramework="4.5">
Line 78: <assemblies>
Line 79: <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Source File: D:\DefaultWeb\web.config Line: 77
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
谁知道这是怎么回事啊 求解决
2、当前网站的IIS参数里要选择.NET Framework4.0 参考技术D 更新.NET Framework为最新版本或4.0以上版本。 第5个回答 2015-01-14 你的web.config targetFramework 配置太低呢 请配置成4.0
以上是关于IIS的配置问题的主要内容,如果未能解决你的问题,请参考以下文章