WCF Http Cound Not Register URL

Topics: General Discussion Forum, July and December Releases Forum
May 11, 2007 at 7:45 PM

I am trying to use the WCF Services using the WSSF. While most of the process is streamlined, I am facing difficulties in actually testing the service from a Windows Application. Once I create the services, I can view the Services using the Service Factory>View In Browser command. The service runs from the following location:


I can also go ahead and add a Service Reference and invoke the TestServicesClient from my Windows forms app.However, when I try to execute the Operation from a Windows Forms application, I get the HTTP Could Not Register URL exception.

I looked around and found that other people are having similar problems:

My concern is that most of them state that you need to have elevated privileges in order to listen to an HTTP Port, but I am already logged on as an Administrator. Many suggest using the NETSH tool but I am running from an XP environment. Is using the httpcfg.exe my only option?

I have spent considerable amount of time writing the services and have found that other Test Services using WCF work fine without any HTTP URL Registration problems. Is this issue random? Any help would be highly appreciated.

I would also like to know if there are any alternative methods of testing my services.

Thank You
May 14, 2007 at 4:33 PM
I'm running on Vista all kind of scenarios like this and I've never got this error (under Admin account with UAC enabled). However, I found some info here AddressAccessDeniedException: HTTP could not register URL that may give you some hints.