tags:

views:

10

answers:

0

Hey all,

I have an ASP.NET app that has a class that writes to the event log. Now it has been working fine when called from a WF Work Flow , as the WF runs under the app pool account (Network Service).

Now I want to use this event log class in an aspx page, which is where I am running into trouble becuase the aspx page is running under the IUSR account and I get an Access is Denied error, stating "Cannot open log for source 'XXX'. You may not have write access.".

Now my question is, how can I give the IUSR account permission to write to the event log, or is there another, better (not overly complicated), way?

Thanks in advance.