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

From: [MSFT] (lukezhan_at_online.microsoft.com)
Date: 08/24/04

  • Next message: Ken Schaefer: "Re: Disallow sharing the same login"
    Date: Tue, 24 Aug 2004 02:38:57 GMT
    
    

    Hello ,

    For such a issue, you may goto to the following registry key:

    HKEY_LOCAL_MACHINE/System/CurrentControlSet/Application

    And locate the CustomSD key and add the following string to the existing
    value:

    (A;;0x0002;;;AU)

    A: SDDL_ACCESS_ALLOWED
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/se
    curity/ace_strings.asp

    0x0002: ELF_LOGFILE_WRITE: Permission to write log files.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/
    event_logging_security.asp

    AU: Authenticated Users
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/se
    curity/sid_strings.asp

    Here are some related articles:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/
    event_logging_security.asp
    http://msdn.microsoft.com/library/en-us/dncode/html/secure06122003.asp

    Hope this help,

    Luke


  • Next message: Ken Schaefer: "Re: Disallow sharing the same login"

    Relevant Pages

    • RE: Cannot open log for source {0}. You may not have write access.
      ... you may goto to the following registry key: ... And locate the CustomSD key and add the following string to the existing ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Gradient Generator BMP Tool Improved
      ... "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal ... Private Sub cmdSysInfo_Click ... Open Registry Key ... > ending colors of a gradient. ...
      (comp.lang.basic.visual.misc)
    • Re: ColorMask BMP Mask Builder
      ... Const READ_CONTROL = &H20000 ... "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal ... Private Sub cmdSysInfo_Click ... Open Registry Key ...
      (comp.lang.basic.visual.misc)
    • Re: A Simple BMP Converter
      ... "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal ... Private Sub cmdSysInfo_Click ... Open Registry Key ... > color bar in the color display. ...
      (comp.lang.basic.visual.misc)
    • Re: Unable to properly set the InteractiveProcess property on a windows service
      ... Changing the registry key will only affect how the service control manager ... installer code looks like this... ... string serviceName,string displayName,string description, ... the InteractiveProcess property of the service is not set ...
      (microsoft.public.dotnet.languages.csharp)