<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Writing to the Event Log from ASP.NET fails when running on Windows Server 2003 SP1</title>
	<atom:link href="http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/feed/" rel="self" type="application/rss+xml" />
	<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/</link>
	<description></description>
	<lastBuildDate>Wed, 21 Mar 2012 14:32:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Peter Lewis</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-19589</link>
		<dc:creator>Peter Lewis</dc:creator>
		<pubDate>Fri, 09 Sep 2011 03:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-19589</guid>
		<description>Hi, thanks for the very useful info.  It&#039;s new and news to me.  One question: is a reboot needed after making the changes?  I have made a change on a production server but it doesn&#039;t seem to have effect.  I can&#039;t tell whether there&#039;s an error in my change or whether the change is not taking effect yet.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the very useful info.  It&#8217;s new and news to me.  One question: is a reboot needed after making the changes?  I have made a change on a production server but it doesn&#8217;t seem to have effect.  I can&#8217;t tell whether there&#8217;s an error in my change or whether the change is not taking effect yet.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www.google.com/accounts/o8/id?id=AItOawlScACVByeO5VTSN4zqUYfyJvA8ACOF-Ao</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-360</link>
		<dc:creator>www.google.com/accounts/o8/id?id=AItOawlScACVByeO5VTSN4zqUYfyJvA8ACOF-Ao</dc:creator>
		<pubDate>Sat, 06 Feb 2010 07:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-360</guid>
		<description>Hi Friends,
I am new here and really enjoyed this article.
I got lots of information from here, and do keep us update. 
With some more stuffs.</description>
		<content:encoded><![CDATA[<p>Hi Friends,<br />
I am new here and really enjoyed this article.<br />
I got lots of information from here, and do keep us update.<br />
With some more stuffs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rickybadboy.blogspot.com</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-359</link>
		<dc:creator>rickybadboy.blogspot.com</dc:creator>
		<pubDate>Sun, 20 Dec 2009 12:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-359</guid>
		<description>One addition for us was to set the .net impersonation=false in the webservice web.config before it could write to the log.</description>
		<content:encoded><![CDATA[<p>One addition for us was to set the .net impersonation=false in the webservice web.config before it could write to the log.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arto Kainu</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-358</link>
		<dc:creator>Arto Kainu</dc:creator>
		<pubDate>Wed, 16 Dec 2009 06:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-358</guid>
		<description>Hi James,
I just found your article because of having this kind of difficulties on Windows X P(SP3). I tried to find out the registry key but there&#039;s no such key. So Win XP doesn&#039;t have this at all? But still I&#039;m not able to write to the event log from my asp.net application. Any ideas why is that?

-- Arto</description>
		<content:encoded><![CDATA[<p>Hi James,<br />
I just found your article because of having this kind of difficulties on Windows X P(SP3). I tried to find out the registry key but there&#8217;s no such key. So Win XP doesn&#8217;t have this at all? But still I&#8217;m not able to write to the event log from my asp.net application. Any ideas why is that?</p>
<p>&#8211; Arto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GR</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-357</link>
		<dc:creator>GR</dc:creator>
		<pubDate>Mon, 27 Oct 2008 15:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-357</guid>
		<description>James, 
Thanks for this posting it describes the issue &amp; resolution clearly. 
When I follow the steps for &quot;(A;;0x3;;;AU)&quot; it works fine.  However I get an error when I use &quot;(A;;0x3;;;NS)&quot; which is a problem as our application (MOSS 2007) is running under the Network Service.  

Any ideas why?
Thanks</description>
		<content:encoded><![CDATA[<p>James,<br />
Thanks for this posting it describes the issue &amp; resolution clearly.<br />
When I follow the steps for &quot;(A;;0&#215;3;;;AU)&quot; it works fine.  However I get an error when I use &quot;(A;;0&#215;3;;;NS)&quot; which is a problem as our application (MOSS 2007) is running under the Network Service.  </p>
<p>Any ideas why?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sherry</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-356</link>
		<dc:creator>Sherry</dc:creator>
		<pubDate>Tue, 16 Oct 2007 20:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-356</guid>
		<description>Thanks so much for this useful post!!!  It resolved my problem immediately... I&#039;ve been scouring the net all week for a solution.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this useful post!!!  It resolved my problem immediately&#8230; I&#8217;ve been scouring the net all week for a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Kovacs</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-355</link>
		<dc:creator>James Kovacs</dc:creator>
		<pubDate>Mon, 28 May 2007 18:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-355</guid>
		<description>That&#039;s correct, Stan. If you have impersonate=&quot;true&quot; in web.config and anonymous enabled in IIS, the incoming user will be IUSR_&lt;machine_name&gt;. If possible, I would set impersonate=&quot;false&quot; in this scenario, which would then cause writes to the event log under the Network Service. If that&#039;s not possible, I would probably remove IUSR_&lt;machine_name&gt; from the Guests group as I wouldn&#039;t want to give the Guests group permission to write to the event log. Removing IUSR_&lt;machine_name&gt; from Guests just means that ACLs applied to Guests no longer apply to IUSR_&lt;machine_name&gt;. You can always explicitly add those ACLs to IUSR_&lt;machine_name&gt;.
</description>
		<content:encoded><![CDATA[<p>That&#8217;s correct, Stan. If you have impersonate=&quot;true&quot; in web.config and anonymous enabled in IIS, the incoming user will be IUSR_&lt;machine_name&gt;. If possible, I would set impersonate=&quot;false&quot; in this scenario, which would then cause writes to the event log under the Network Service. If that&#8217;s not possible, I would probably remove IUSR_&lt;machine_name&gt; from the Guests group as I wouldn&#8217;t want to give the Guests group permission to write to the event log. Removing IUSR_&lt;machine_name&gt; from Guests just means that ACLs applied to Guests no longer apply to IUSR_&lt;machine_name&gt;. You can always explicitly add those ACLs to IUSR_&lt;machine_name&gt;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan Chu</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-354</link>
		<dc:creator>Stan Chu</dc:creator>
		<pubDate>Tue, 22 May 2007 22:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-354</guid>
		<description>We&#039;ve had the same problem and we have impersonation=true in our web.config.

The account that the application runs under is the IUSR_&lt;machine_name&gt; account. This account by default belongs to the Guests group. The Guests group (as per the CustomSD setting) is denied access to access the eventlog. Figuring this out finally fixed the problem.

However, a question comes to mind. Is it better to change the permissions for the Built-in Guests group in CustomSD (to give the group access) or should we remove this IUSR_&lt;machine_name&gt; account from the Guests group? I&#039;m thinking the first one would better as the second would open up the IUSR_&lt;machine_name&gt; account.</description>
		<content:encoded><![CDATA[<p>We&#8217;ve had the same problem and we have impersonation=true in our web.config.</p>
<p>The account that the application runs under is the IUSR_&lt;machine_name&gt; account. This account by default belongs to the Guests group. The Guests group (as per the CustomSD setting) is denied access to access the eventlog. Figuring this out finally fixed the problem.</p>
<p>However, a question comes to mind. Is it better to change the permissions for the Built-in Guests group in CustomSD (to give the group access) or should we remove this IUSR_&lt;machine_name&gt; account from the Guests group? I&#8217;m thinking the first one would better as the second would open up the IUSR_&lt;machine_name&gt; account.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Kovacs</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-353</link>
		<dc:creator>James Kovacs</dc:creator>
		<pubDate>Wed, 07 Mar 2007 21:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-353</guid>
		<description>Good point, Steve, regarding turning off impersonation. With impersonation on, you will be writing to the event log as the incoming user. If you need to use impersonation, you could ACL the event log as above except use some group account that application users belong to rather than Network Service.</description>
		<content:encoded><![CDATA[<p>Good point, Steve, regarding turning off impersonation. With impersonation on, you will be writing to the event log as the incoming user. If you need to use impersonation, you could ACL the event log as above except use some group account that application users belong to rather than Network Service.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Hall</title>
		<link>http://jameskovacs.com/2005/07/20/writing-to-the-event-log-from-aspnet-fails-when-running-on-windows-server-2003-sp1/comment-page-1/#comment-352</link>
		<dc:creator>Steve Hall</dc:creator>
		<pubDate>Wed, 07 Mar 2007 20:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2005/07/21/Writing+To+The+Event+Log+From+ASPNET+Fails+When+Running+On+Windows+Server+2003+SP1#comment-352</guid>
		<description>Hello James, thanks for the clear post.  One addition for us was to set the .net impersonation=false in the webservice web.config before it could write to the log.</description>
		<content:encoded><![CDATA[<p>Hello James, thanks for the clear post.  One addition for us was to set the .net impersonation=false in the webservice web.config before it could write to the log.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

