System. typeloadexception for system. servicemodel. Activation. httpmodule in ASP. NET 4

Source: Internet
Author: User

Server Error in '/'application.
--------------------------------------------------------------------------------
Cocould 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: cocould not load type 'System. servicemodel. Activation. httpmodule 'from assembly 'System. servicemodel, version = 3.0.0.0, culture = neutral, publickeytoken = b77a5c561934e089 '.

 

There are some solutions on the Internet, such

Http://blogs.msdn.com/ B /webtopics/archive/2010/04/28/system-typeloadexception-for-system-servicemodel-activation-httpmodule-in-asp-net-4.aspx

 

During the deployment of the Asp.net website recently, no matter how IIS is configured, re-registration of. Net cannot be solved. This exception is always reported.

Finally. in the config file, you do not know what operations were previously performed. config is automatically added to system. servicemode information, delete system. after servicemode information, the website is normal.

 

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.