IIS 7 and Above
how do I configure IIS 7.5 so VS2012 can publish a WCF service to the...
Last post Jun 05, 2013 05:04 PM by elbilo
May 30, 2013 04:24 PM|elbilo|LINK
I'll start by admiting that this is my 1st project creating a WCF service. I've got the service working under VS2012 on my local machine and now want to install it on my test web server, a win 2k8r2 box running IIS 7.5.
I've installed the .net4.5 extensions on the test server and verified that I can access the default web site.
I tried to publish from my local machine to the test server using VS2012 and get an error
"Unable to create the web site
http://db-k/xmltesting'. The server does not appear to have FrontPage Server Extensions.
In the next attempt I "add an application" using the IIS management panel. In htat step when I set "binding?" and try "Test Setting" I get the error "Invalid Application path". Elsewhere I found references to this erro on msdn forums that says I can ignore
this error. Trying again to "publish" from my local machine to that application reference on the test server results in the same error as before (the reference to FPSE no being available..
I've added "Network Services" account to the directories permissions list, tried again and get the same errors.
I''m assuming that I've got IIS configured incorrectly but I'm at a loss as to what I need to change/add/set. I'm also unclear as to what permissions I should have on the physical directories to allow me to publish from VS2012 to my web server.
I'm not a system admin so I need someone to spell out the details on configuring IIS for this operation.
May 31, 2013 05:22 AM|lextm|LINK
FrontPage Server Extension is already an obsolete technology no longer used by Microsoft products. It is strange that you are not using Web Deploy,
May 31, 2013 05:12 PM|elbilo|LINK
So I went back and download and installed the latest web platform installer and then applied the web publisher update but when I click on the publish option in VS2012 I don't get anything that looks like the dialogs in the refernece you posted here. What
did I miss?
Jun 03, 2013 08:00 AM|kctt|LINK
Do you have to use VS2012 to publish website?
Instead of using fancy publishing method which requires a lot of time to configure first before it can be used, you can just upload files of your WCF service to C:\Inetpub\wwwroot through ftp.
Jun 05, 2013 05:04 PM|elbilo|LINK
My understanding from reading the above reference web page was that this publishing process took care of adding any additional files needed by the service as well as converting the app.config to the correctly configured web.config, assuming you are installing
the wcf services under IIS.
As I said this is my first WCF service, I'm just trying to follow the documentation from MSDN, even if it is riddled with errors and conflicting information. I've got the service working under the VS hosting enviroments now I just need to get it working
on the remote server(s).
If I'm wrong and all I need do is somehow copy the files from my development enviroment to the "production" one great, but from here that doesn't seem to be an apples to apples comparison.
I'm supprised by the lack of support for this procedure given that it's stated that this is the "way" to provide these types of interactive services.