Could not load Type System.ServiceModel.Activation.HttpModul_PHP tutorial

Source: Internet
Author: User
Could not load type ' System.ServiceModel.Activation.HttpModule ' from assembly ' System.ServiceModel, version=3.0.0.0, Culture=neutral, publickeytoken=b77a5c561934e089 '.

Internet search, the problem is caused by the installation of IIS and other versions of the framework, resulting in assemble version and the version of the program used inconsistent. The solution is to use

Aspnet_regiis.exe-iru re-register IIS.

The operation is as follows:

Use administrator permissions to open command Promt (be sure to use Run as administrator, otherwise not registered)
Go to the Framework folder (c:windowsmicrosoft.netframework), select the appropriate version of the folder (v4.0.30319), use the command

Copy CodeThe code is as follows:
Aspnet_regiis.exe-iru


After the registration is completed, the website can be opened.

win2008 prompt failed from assembly "System.ServiceModel, version=3.0.0.0 problem resolved

When you deploy a WCF service program in an IIS server in Windows Server 2008, the following error is reported through browser access:

Failed to load type from assembly "System.ServiceModel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089" System.ServiceModel.Activation.HttpModule ".

Reason:

This error occurs because the. NET Framework 4 is installed first, and then the. NET Framework 3.5 WCF HTTP activation is enabled.

Workaround:

Microsoft officials have also answered the question: http://msdn.microsoft.com/zh-cn/library/aa751852.aspx

Only the administrator user is required to run Aspnet_regiis.exe-i-enable in CMD.

http://www.bkjia.com/PHPjc/326408.html www.bkjia.com true http://www.bkjia.com/PHPjc/326408.html techarticle Could not load type ' System.ServiceModel.Activation.HttpModule ' from assembly ' System.ServiceModel, version= 3.0.0.0, Culture=neutral, publickeytoken=b77a5c561934e089 '.] The internet searched the next ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.