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

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

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

    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
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/se[/url]
    curity/ace_strings.asp

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

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

    Here are some related articles:

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

    Hope this help,

    Luke




    [MSFT] Guest

  2. Similar Questions and Discussions

    1. XML Open/Write Error
      I have an EXE and/or SWF movie that I use to display info from an XML file. The XML file I am using is created and written by a CSharp program every...
    2. write html source to a file
      "ChronoFish" <com> wrote in message news:<snEBb.52308$dO2.15782@lakeread03>... > "johnathan" <com> wrote in message news:google.com... > > Shawn...
    3. Unable To Open File "..." Because It Is Already Open With Write Permission
      I am trying to open a page for offline browsing and whenever I try to open a particular link I get this "Unable To Open File '...' Because It Is...
    4. SCO, Open Source and the Un*x source code
      On Sat, Jul 19, 2003 at 04:51:08PM +0000, tony@aplawrence.com wrote: .... Isn't SCO claiming that they own all the Unix IP in the world :-). ...
    5. Open source ASP?
      Hi, This is a general discussion, as I would like to know How the world of opensource in ASP is? as I am a programmer in PHP too, i am able to...
  3. #2

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

    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
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/se[/url]
    curity/ace_strings.asp

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

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

    Here are some related articles:

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

    Hope this help,

    Luke




    [MSFT] Guest

  4. #3

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

    Is the web server with IIS 6.0? If so, you need grant permission to the
    NETWORK SERVICE account. You may temporarily add this account to local
    administrators group to see if it will help. If so, it will still be a
    permission issue. I suggest you may trace the registry and file access with
    two utilities: regmon and filemon. They can record any access to registry
    and files. With them we can found what cause the access denied error. You
    can found free download these two utilities: [url]www.systeminternals.com[/url]

    Luke

    [MSFT] Guest

  5. #4

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

    Thanks Luke. I discovered that it is not a permission problem afetr adding
    the n/w service a/c to the administrators group. I deleted and recreated the
    custom event log and it worked fine.

    Thanks one again.
    Magdelin

    "[MSFT]" wrote:
    > Is the web server with IIS 6.0? If so, you need grant permission to the
    > NETWORK SERVICE account. You may temporarily add this account to local
    > administrators group to see if it will help. If so, it will still be a
    > permission issue. I suggest you may trace the registry and file access with
    > two utilities: regmon and filemon. They can record any access to registry
    > and files. With them we can found what cause the access denied error. You
    > can found free download these two utilities: [url]www.systeminternals.com[/url]
    >
    > Luke
    >
    >
    Magdelin Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139