Relay demo not starting as demo?

Oct 23, 2012 at 9:06 PM
Edited Oct 24, 2012 at 11:19 PM

I downloaded the relay demo. Built it and hit F5 to run it. Only one window appears. How do I get the sender and the listener window to appear?

I think I found the solution to one problem but that gave rise to another. The reason that the "listen" project is not coming up is I am getting an exception that is just being swallowed. I am getting: 

System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:9000/Local/. Your process does not have access rights to this namespace 

What do I need to modify to avoid this exception?

Again I searched the Web and found I could get by this exception by allowing myself access to this port using NETSH. Now the second service on the I get the exception:

System.ServiceModel.CommunicationException: Unable to connect to ServiceBus using HTTP connectivity mode

What do I need to modify to avoid this exception?

Does it have something to do with:

      Uri _relayAddress = ServiceBusEnvironment.CreateServiceUri("https", "BsiAzureLearningSeriesDemos", "RelayDemo");

What is the last argument? I created a namespace "BsiAzureLearningSeriesDemo" but I didn't do anything with "RelayDemo". Do I need to?

Thank you.