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.