无法加载类型System.ServiceModel.Activation.HttpModule

时间:2013-06-25 07:01:02

标签: c#-4.0 windows-8 iis-8

我现在遇到了与Windows 8,IIS 8完全相同的问题(我面对win 7)。你知道如何在Win8 / IIS8上解决这个问题吗?以下是更多细节。

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

在Windows 8上,我不能做同样的事情(尝试win 7)来解决问题(aspnet_regiis.exe -iru),因为它收到以下消息:


C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -iru
Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.17929).
This option is not supported on this version of the operating system. Administr
ators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Win
dows Features On/Off" dialog, the Server Manager management tool, or the dism.e
xe command line tool. For more details please see http://go.microsoft.com/fwlin
k/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.17929).

0 个答案:

没有答案