Deployment of ASP. NET program in iis7

Source: Internet
Author: User
I recently studied the WCF rest service. I encountered this problem. I checked the information online and recorded it.
A Web Testing Program is being developed. The testing environment (win7 iis7 vs2010 + sql2008) is running normally. Therefore, the Windows 7 control panel is added because it needs to be activated using wcf http. At this time, In the vs2010 environment debug test site everything is normal, but go to iis7 run to report the following error: Failed from the assembly "system. servicemodel, version = 3.0.0.0, culture = neutral, publickeytoken = b77a5c561934e089 "load type" system. servicemodel. activation. httpmodule ".

The network search solution is as follows: (the deployment of ASP. NET programs in iis7) "ceevuu" answers the following questions:

This error occurs if. NET Framework 4 is installed and. NET Framework 3.5 wcf http activation is enabled later. To resolve this issue, run the following command line at the Visual Studio 2010 Command Prompt: aspnet_regiis.exe-I-enable see: http://msdn.microsoft.com/zh-cn/library/aa751852.aspx

 

----------------------------------------------------------

The test environment on my side is the WCF rest service set up in vs2010 + iis7.5 + win7.

I recently studied the WCF rest service. I encountered this problem. I checked the information online and recorded it.
A Web Testing Program is being developed. The testing environment (win7 iis7 vs2010 + sql2008) is running normally. Therefore, the Windows 7 control panel is added because it needs to be activated using wcf http. At this time, In the vs2010 environment debug test site everything is normal, but go to iis7 run to report the following error: Failed from the assembly "system. servicemodel, version = 3.0.0.0, culture = neutral, publickeytoken = b77a5c561934e089 "load type" system. servicemodel. activation. httpmodule ".

The network search solution is as follows: (the deployment of ASP. NET programs in iis7) "ceevuu" answers the following questions:

This error occurs if. NET Framework 4 is installed and. NET Framework 3.5 wcf http activation is enabled later. To resolve this issue, run the following command line at the Visual Studio 2010 Command Prompt: aspnet_regiis.exe-I-enable see: http://msdn.microsoft.com/zh-cn/library/aa751852.aspx

 

----------------------------------------------------------

The test environment on my side is the WCF rest service set up in vs2010 + iis7.5 + win7.

Related Article

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.