2014-10-06 103 views
-1

我已經在我的服務器上的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 
+1

你的IIS和你的web服務的目標.Net Framework版本是什麼版本? – 2014-10-06 13:30:15

回答

1

它像服務正在運行IIS 2.0或以下

system.service型號僅在3.0和最多可用聲音給我。

嘗試檢查在此站點上的IIS中運行的應用程序池。

0

您必須將.NET版本從3.0更改爲在IIS池中。

相關問題