IIS服务器上的配置错误
问题描述:
我已经在我的服务器上的IIS中上传了我的C#web服务。当我浏览服务时,出现以下错误。IIS服务器上的配置错误
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 2.0或以下
system.service型号仅在3.0和最多可用声音给我。
尝试检查在此站点上的IIS中运行的应用程序池。
答
您必须将.NET版本从3.0更改为在IIS池中。
你的IIS和你的web服务的目标.Net Framework版本是什么版本? – 2014-10-06 13:30:15