婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識(shí)庫 > win8 Could not load type System.ServiceModel.Activation.HttpModule 錯(cuò)誤解決方案

win8 Could not load type System.ServiceModel.Activation.HttpModule 錯(cuò)誤解決方案

熱門標(biāo)簽:宜賓回?fù)芡夂粝到y(tǒng) 雙廊地圖標(biāo)注 外呼系統(tǒng)電銷術(shù)語 電銷機(jī)器人哪家最好 百度地圖標(biāo)注內(nèi)容跳轉(zhuǎn)事件 科大Ai人工智能電銷機(jī)器人 辦理400電話_聯(lián)通 批量地址在地圖標(biāo)注 邢臺(tái)代理外呼系統(tǒng)
From:http://support.microsoft.com/kb/2015129

Symptoms

  Consider the following scenario. You install the .NET Framework 4.0. Then, you install an earlier version of the .NET Framework, or you enable .NET 3.0 WCF HTTP Activation. In this scenario, you may receive the following error message when you when run applications that are hosted on Internet Information Services (IIS):

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

 

Cause

  This issue occurs because the Applicationhost.config file for Windows Process Activation Service (WAS) has the following section defined, and this section is incompatible with the .NET Framework 4.0:

add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" />

  This section should be defined as follows:

add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler,runtimeVersionv2.0" />

  Note You can find the Applicationhost.config file in the following location:

%windir%\system32\inetsrv\config

 

Resolution

  To resolve this issue, run the following command line: 

aspnet_regiis.exe /iru

  The Aspnet_regiis.exe file can be found in one of the following locations:

%windir%\Microsoft.NET\Framework\v4.0.30319

%windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit computer)

 

注意

  以上方案在win8系統(tǒng)中無效,因?yàn)樵谧詈笠徊竭\(yùn)行 aspnet_regiis.exe /iru 命令時(shí)會(huì)失敗,所以解決方案是找到 Applicationhost.config 文件(目錄在%windir%\system32\inetsrv\config),然后把文件中的:

add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" />

  改為:

add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler,runtimeVersionv2.0" />

  我目前只找到這種方案,如果有更好方案歡迎指出。

作者:Artwl
出處:http://artwl.cnblogs.com

標(biāo)簽:德州 烏海 天水 滁州 阜新 麗江 重慶 襄陽

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《win8 Could not load type System.ServiceModel.Activation.HttpModule 錯(cuò)誤解決方案》,本文關(guān)鍵詞  win8,Could,not,load,type,System.ServiceModel.Activation.HttpModule,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《win8 Could not load type System.ServiceModel.Activation.HttpModule 錯(cuò)誤解決方案》相關(guān)的同類信息!
  • 本頁收集關(guān)于win8 Could not load type System.ServiceModel.Activation.HttpModule 錯(cuò)誤解決方案的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 皮山县| 耿马| 津南区| 连云港市| 五大连池市| 石门县| 靖边县| 松原市| 和田县| 大同市| 达州市| 呼图壁县| 建宁县| 安顺市| 托克托县| 万源市| 阆中市| 雷波县| 舟曲县| 泰顺县| 海安县| 伽师县| 白玉县| 奇台县| 车险| 化隆| 旬邑县| 隆尧县| 镇沅| 平阳县| 上思县| 宝应县| 贵溪市| 台山市| 临城县| 剑河县| 敖汉旗| 淮滨县| 襄汾县| 远安县| 大田县|