How to use WIX to deploy and run WCF service

Posted by Giampaolo on Stack Overflow See other posts from Stack Overflow or by Giampaolo
Published on 2010-03-21T22:08:12Z Indexed on 2010/03/21 22:11 UTC
Read the original article Hit count: 879

Filed under:
|
|
|
|

Hi

I am trying to make an installer which deploys my wcf service, at the moment it is creating the virtual directory, but when i try connect my app to it, i get a

CommunicationException was unhandled by user code The remote server returned an error: NotFound.

I notice that if i create a virtual directory manually that it will connect and work, so i'm assuming IIS is doing something behind my back which is making it work.

This is the code i am using to create the virtual directory,please note this is inside a iis:WebSite tag if more information is needed please let me know.

                <iis:WebVirtualDir  Id="VAWebService" Directory="VAWebService" Alias="VAWebService" >
                    <iis:WebApplication Id="VAWebService" Name="VAWebService" AllowSessions="yes" WebAppPool="VA_AppPool"  />

                    <iis:WebDirProperties Id="MyWebSite_Properties"    AnonymousAccess="yes" WindowsAuthentication="no" DefaultDocuments="service1.svc" AccessSSL="yes" AccessSSL128="yes" AccessSSLMapCert="yes" AccessSSLNegotiateCert="yes"   AccessSSLRequireCert="yes"   Read="yes" Write="yes" Execute="yes" Script="yes" />
                </iis:WebVirtualDir>

Does any one know how to fix this? any help would be appreciated. Thanks

© Stack Overflow or respective owner

Related posts about wix

Related posts about iis