views:

12

answers:

0

Hopefully someone can help me...

I've developed and tested an SL4 application that connects to a non-IIS / self-hosted WCF enabled windows service. Everything is working great on localhost. However, when I move the service to its production server, I need to obviously update the service references in the SL App. When I click on the "Configure Service Reference" in VS 2010, and update the reference, clicking OK will give me the error:

There was an error downloading 'http://:31313/ConsoleCustomerServicePortal/' Unable to connect to the remote server No connection could be made because the target machine actively refused it 10.2.5.17.31313 Metadata contains a reference that cannot be resolved: 'http://:31313/ConsoleCustomerServicePortal/'. There was no endpoint listening at ... that could accept the message. This is often caused by an incorrect address or SOAP action.

In the WCF error log, I see:

HTTP could not register URL 'http://+:31313/'. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).

Now, I think I've followed all of their advice there (Configured the Namespace Reservation by typing:

httpcfg set urlacl /u http://+:31313/ /a "O:AOG:DAD:(A;;RPWPCCDCLCSWRCWDWOGA;;;S-1-0-0)

and the IP Listen List via:

httpcfg.exe set iplisten -i 0.0.0.0:31313

.), and both completed with "0", which I assume means success? I haven't rebooted the server however. Does the server need to be rebooted for these changes to take effect? Is there something I'm missing? Why doesn't this work?