WCF on Windows 7 not working

Posted by Nyla Pareska on Stack Overflow See other posts from Stack Overflow or by Nyla Pareska
Published on 2010-01-14T20:04:56Z Indexed on 2010/04/27 4:03 UTC
Read the original article Hit count: 452

Filed under:
|
|

I am using an example from iDesign about one way calls. I can get it to work on a Vista machine (VS2008) but not on a windows 7 machine (VS2010).

I get this error:

HTTP could not register URL http://+:8001/MyService/. Your process does not have access rights to this namespace

ServiceHost host = new ServiceHost(typeof(MyService));
host.Open();

I get the error on the host.Open(); line. I noticed that windows asks first for some firewall and to give permission which I did but still it is not working. What can I do?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about windows-7