IIS服务器上的配置错误

时间:2014-10-06 13:26:18

标签: c# asp.net iis

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

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 

2 个答案:

答案 0 :(得分:1)

听起来像服务正在运行IIS 2.0或更低版本

system.service模型仅适用于3.0及更高版本。

尝试检查此站点上IIS中运行的应用程序池。

答案 1 :(得分:0)

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