Failed to load class from assembly "system. servicemodel, version = 3.0.0.0"

Source: Internet
Author: User
Failed to import from Assembly "system. servicemodel, version = 3.0.0.0, culture = neutral, publickeytoken = b77a5c561934e089 "causes of this error: a later version is installed.. NET Framework:

 

 

 

Step 1: Find the configuration file applicationhost, see path: % WINDIR %/system32/inetsrv/config/applicationhost

 

 

 

Find

<Add name = "servicemodel" type = "system. servicemodel. activation. httpmodule, system. servicemodel, version = 3.0.0.0, culture = neutral, publickeytoken = b77a5c561934e089 "precondition =" managedhandler "/>

 

Add ", runtimeversionv2.0" to managedhandler,

 

 

Step 2: Open the address c: \ windows \ Microsoft. NET \ framework \ v4.0.30319 at the command prompt, enter aspnet_regiis.exe-IRU, and press Enter. For more information, see

 

From: http://hi.baidu.com/99kabaxi55/item/5e0effe7750b1b3686d9de93

The above operations generally solve this problem.

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.