<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ian Mercer &#187; WCF</title>
	<atom:link href="http://blog.abodit.com/tag/wcf/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.abodit.com</link>
	<description>Living in the World&#039;s Smartest House</description>
	<lastBuildDate>Sat, 07 Jan 2012 19:50:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WCF and the SYSTEM account</title>
		<link>http://blog.abodit.com/2009/11/wcf-and-the-system-account/</link>
		<comments>http://blog.abodit.com/2009/11/wcf-and-the-system-account/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 15:06:00 +0000</pubDate>
		<dc:creator>Ian Mercer</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.abodit.com/?p=47</guid>
		<description><![CDATA[While trying to move an NT Service over to its own account I hit the following WCF error:- Exception Alert : System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8082/home/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). &#8212;&#62; System.Net.HttpListenerException: Access is denied at System.Net.HttpListener.AddAllPrefixes() at System.Net.HttpListener.Start() at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen() The referenced <a href="http://blog.abodit.com/2009/11/wcf-and-the-system-account/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>While trying to move an NT Service over to its own account I hit the following WCF error:-</p>
<blockquote>
<div class="message_next"><span style="font-size: x-small;"><span style="font-family: &amp;amp;amp;">Exception Alert :  System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL </span>http://+:8082/home/.<span style="font-family: &amp;amp;amp;"> Your process does not have  access rights to this namespace (see </span><a style="font-family: &amp;amp;amp;" href="http://go.microsoft.com/fwlink/?LinkId=70353">http://go.microsoft.com/fwlink/?LinkId=70353</a><span style="font-family: &amp;amp;amp;"> for details). &#8212;&gt; System.Net.HttpListenerException: Access is denied </span><span style="font-family: &amp;amp;amp;">at  System.Net.HttpListener.AddAllPrefixes() </span><span style="font-family: &amp;amp;amp;">at  System.Net.HttpListener.Start()</span> <span style="font-family: &amp;amp;amp;">at  System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()</span></span></div>
<div class="message_next"><span style="font-size: x-small;"><span style="font-family: &amp;amp;amp;"><br />
</span></span></div>
</blockquote>
<div class="message_next">The referenced article wasn&#8217;t much help but a quick web search led to <a href="http://msdn.microsoft.com/msdnmag/issues/06/11/SecurityBriefs/default.aspx?loc=null%20">this article on MSDN</a> which has a better explanation and two ways to solve the problem.  Unfortunately neither is &#8216;simple&#8217;.  In the end I used the source code, built a new .EXE and added it to my setup code.</div>
<div class="message_next">Seems odd that the SYSTEM account could do this just fine but the safer account I created to run the service cannot.  Why isn&#8217;t there a security group for this that I can just add my user to and be done?</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.abodit.com/2009/11/wcf-and-the-system-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

