Summary of errors that occur when you configure a WCF service

Source: Internet
Author: User

1. Unable to provide the page you requested due to extended configuration issues. If the page is a script, add a handler. If you should download the file, add a MIME map.

I got it through the FramWork3.5.1 in the installation diagram.

Other references on the Web:

http://blog.csdn.net/jumtre/article/details/38398355

Http://www.cnblogs.com/qqflying/p/3723905.html

2, the handler "pagehandlerfactory-integrated" in its module list has an error module "Managedpipelinehandler"

I. Details of the above error diagram:

Two. The above error analysis:

VS2010 defaults to the. NET 4.0 framework, the 4.0 framework is a standalone CLR, and, unlike. NET 2.0, if you want to run the. NET 4.0 Framework's Web site, you need to register the. NET 4.0 framework with aspnet_regiis and then use the. Net 4.0 framework of the class pool, you can run the Web project of the. NET 4.0 framework.

The cause of the above error is most likely due to the first installation. NETFramework IIS 7.5 was installed after v4.0.

Three. How do I register a 4.0 framework with aspnet_regiis?

Here's how:

① found in the. NET 4.0 framework under the ASPNET_REGIIS directory, in the C packing directory search aspnet_regiis, find 4.0 frame aspnet_regiis directory location, I directory for "C:\Windows\ microsoft.net\framework\v4.0.30319 ".

② Run the DOS command line as an administrator,

Execute "start → all programs → accessories → command prompt (right click" Run as Administrator (A) ') ", pop Up" Administrator: Command Prompt "window

③ executes the command "CD C:\Windows\Microsoft.NET\Framework\v4.0.30319" and Goes to the "C:\Windows\Microsoft.NET\Framework\v4.0.30319" directory,

Then execute the command "aspnet_regiis.exe-i", register "aspnet_regiis", wait a moment, Aspnet_regiis successfully registered

When you see the interface in the diagram, you can run it in IIS. NET4.0 deployed website!

Summary of errors that occur when you configure a WCF service

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.