{"id":272,"date":"2013-04-11T22:40:58","date_gmt":"2013-04-11T22:40:58","guid":{"rendered":"http:\/\/putridparrot.com\/blog\/?p=272"},"modified":"2015-07-03T10:31:34","modified_gmt":"2015-07-03T10:31:34","slug":"http-could-not-register-url-http8080-your-process-does-not-have-access-rights-to-this-namespace","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/http-could-not-register-url-http8080-your-process-does-not-have-access-rights-to-this-namespace\/","title":{"rendered":"HTTP could not register URL http:\/\/+:8080\/ Your process does not have access rights to this namespace"},"content":{"rendered":"<p>If you&#8217;re getting an exception along the lines of <em>&#8220;HTTP could not register URL http:\/\/+:8080\/. Your process does not have access rights to this namespace&#8221;<\/em> whilst writing a WCF web service on Vista or Windows 7 then take a visit to <a title=\"PaulWh's Tech Blog\" href=\"http:\/\/blogs.msdn.com\/b\/paulwh\/archive\/2007\/05\/04\/addressaccessdeniedexception-http-could-not-register-url-http-8080.aspx\" target=\"_blank\">PaulWh&#8217;s Tech Blog<\/a>\u00a0and download his <strong>HttpNamespaceManager<\/strong>.<\/p>\n<p>Just add the url along the lines of http:\/\/+8080\/ (or whatever port you&#8217;re using). Then added group or users (for example BUILTIN\\Users and NT AUTHORITY\\LOCAL SERVICE) and assign GenericExecute access to them.<\/p>\n<p>This works whilst running within Visual Studio as well as running a standalone EXE.<\/p>\n<p>If you prefer a more hardcore approach then run netsh as admin, either typing <\/p>\n<p><em>netsh http add urlacl url=http:\/\/+:8080\/MyService\/ user=DOMAIN\\user<\/em><\/p>\n<p>or you can run netsh (again as admin) and then enter the command <\/p>\n<p><em>http add urlacl url=http:\/\/+:8080\/MyService\/ user=DOMAIN\\user<\/em><\/p>\n<p>netsh works like a folder structure, to equally you can type http followed by enter to enter the http section and enter everything after the http section of the command line.<\/p>\n<p>To view the currently set up urlacl&#8217;s simple type <\/p>\n<p><em>netsh http show urlacl<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re getting an exception along the lines of &#8220;HTTP could not register URL http:\/\/+:8080\/. Your process does not have access rights to this namespace&#8221; whilst writing a WCF web service on Vista or Windows 7 then take a visit to PaulWh&#8217;s Tech Blog\u00a0and download his HttpNamespaceManager. Just add the url along the lines of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,11],"tags":[],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-programming","category-wcf"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":6,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":3258,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions\/3258"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}