How to deploy WCF web service in IIS 8.0 using Visual Studio 2012?

I'm stuck and can't figure out how to deploy the wcf web service to iis8.0, can any body help me find out about the detailed process of deploying the wcf web service to iis?

Are there any settings that need to be set?

What have you tried ........

Then I created a new site in iis, specifying the site name and physical path (C: \ inetpub \ wwwroot \ NEWFOLDER). Then I opened the VS solution in administrative mode published in it. In the dialog that opens, create a new web application under the IIS sites and publish it. It was successful and could be seen in the output window.

when you click on the line link. Connecting to http: // localhost: [port #] / WebApplicationName shows the directory structure. then clicked on the .svc file, it gives the error message "The page you are requesting cannot be served due to the extension configuration. If the page is a script, add a handler. If the file needs to be loaded, add a MIME card

+5
source share
1 answer

WCF handlers are not installed on your server.

In Server Manager

  • Expand ".Net 3.5" or ".Net 4.5", depending on the version of Os / Framework.

  • In the "WCF Services" section, check the "HTTP-Activation" (for http binding) or "Non-http" for other bindings (tcp, named pipes, etc.).

  • Click the Install button.

What all

+6
source

All Articles