I was getting following error while trying to host my WCF Service in the console applicationHTTP could not register URL http://localhost:26584/Service1.svc Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).
This cause of this error is that the Visual Studio and normal program runs in limited-rights. There are couple of solution of this problem
1. Register the WCF service address to your machine by calling following command from your command prompt (you need to run your command prompt as an Administrator)
netsh http add urlacl url=http://+:8000/ServiceModelSamples/Service user=mylocaluser
2. If you are trying to run your console app from Visual Studio, run VS as Administrator and then try to run the console app.
3. Right click the console app and select Run as Administrator
I hope this will help someone.