Event Log Write Access error.

From: bms (bsaribatir_at_fns.com.au)
Date: 05/06/04

  • Next message: Giang Thanh via .NET 247: "Using the Jscript to update the ASPNET account to have the needed permissions"
    Date: Wed, 5 May 2004 21:51:02 -0700
    
    

    I have a web service that runs on Win2003 under an Application Pool with user identity. If that user is a member of Administrators group, then the web service can write into Event Log. Othwerwise, I get the following error

    System.InvalidOperationException: Cannot open log for source {0}. You may not have write access.

    I have seen and read a number of questions in this and other threads. KB Article 329291 does not apply since I already have created the event source (and everything works with Admin group privileges).

    Is there a way simple way to get around this without fiddling with the registry entries using SIDs etc.

    If using SIDs in the registry is the only way, how can I get the SID for that particular user to enter into the registry?

    TIA,

    BMS.


  • Next message: Giang Thanh via .NET 247: "Using the Jscript to update the ASPNET account to have the needed permissions"

    Relevant Pages

    • Re: Could not establish trust relationship with remote server
      ... than you can cnofigure his rights regarding to specific ... The web service which make the call is impersonating ... this user rights in the registry. ... systems group that will apply apropriate proxy settings to ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Problem with MSXML3.DLL
      ... I'm tring to implement a web service starting from the exemple showed ... HRESULT CDOMMapper::write(ISoapSerializer* pSoapSerializer, BSTR ... MSXML3.dll puts this key into registry, but I did not find it. ... Best regards. ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Registry key cannot write..
      ... which would indicate it's actually a Web Service you're ... For a windows service, make sure it's running as local admin, or that the ... user it is running as has rights to edit the registry. ... > Cannot write to the registry key. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: 0X80070005 Error code
      ... Make sure the Administrators group has Full Control permissions to the Auto Update ... Use an account that has administrative credentials to log on to the Windows XP ... Navigate to the following key in the registry: ...
      (microsoft.public.windowsupdate)
    • Re: Update fails [Error number: 0x800A0046]
      ... that says I don't have privileges to use the wuauserv service. ... the Administrators group and can do anything else I want to on the machine. ... I'm sure there's a registry entry somewhere that disallows access. ... >> So where is the registry setting that prevents me from modifying the ...
      (microsoft.public.windowsupdate)