IIS服务器上的配置错误

本文关键字:配置 错误 服务器 IIS | 更新日期: 2023-09-27 18:25:44

我已经在服务器的IIS中上传了我的C#Web服务。当我浏览该服务时,我得到以下错误。

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 configuration section system.serviceModel.
Source Error: 

Line 105:    </runtime>
Line 106:
Line 107:    <system.serviceModel>
Line 108:        <bindings>
Line 109:            <basicHttpBinding>

Source File: E:'xxxx03102014'GoTV'abcderfcvngh'web.config    Line: 107 

IIS服务器上的配置错误

在我看来,该服务运行的是IIS 2.0或低于

system.service Model仅在3.0及更高版本中可用。

请尝试检查此网站上IIS中正在运行的应用程序池。

您必须在IIS池中将.NET版本从3.0更改为更高版本。