Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Security > "Cannot open log for source." Application not having access rights

Reply
Thread Tools Display Modes

"Cannot open log for source." Application not having access rights

 
 
Gutadn
Guest
Posts: n/a

 
      08-19-2009
I am trying to solve a problem that we have with our application not having
access rights writing to the event log.

An error occurred while invoking web service
"StartRequest@http://localhost/ApplicationX/WebServices/Handler.asmx" using
network credentials "USER"

Reason:System.Web.Services.Protocols.SoapException : Server was unable to
process request. ---> System.InvalidOperationException: Cannot open log for
source 'ApplicationX'. You may not have write access. --->
System.ComponentModel.Win32Exception: Access is denied

--- End of inner exception stack trace ---

at System.Diagnostics.EventLog.OpenForWrite(String currentMachineName)



We usually solve the problem using this article:
http://support.microsoft.com/default...b;en-us;323076

Adding (A;; 0x3;;;AU) in the access rights in the CustomSD normally solves
the problem as USER is a Authenticated User on the machine.

This time the problem is not being fixed.

After adding the value (A;; 0x3;;;AU) to the CustomSD the problem is solved
for a little while (1-2 hours), and the access right is being set to
(A;;CCDC;;;AU). After it has been set to this value the application is not
able to write to the eventlogsource.

I have also tried using this hotfix without having any luck:
http://support.microsoft.com/kb/939960

The server is a Windows Server 2003 not in a domain.

Any suggestions?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OPEN SOURCE SOFTWARE IS NOW OFFICIALLY RENAMED "OPEN SORES" STAN STARINSKI Windows Vista General Discussion 5 10-04-2009 03:35 PM
OT: "New" Open Source "Eudora" DanS Windows Vista General Discussion 22 09-14-2008 06:58 PM
What to do to access "Local Settings" and "Application Data"? Michael Moser Windows Vista Administration 1 12-02-2007 07:31 PM
All rights to the server, still "ACCESS DENIED" when trying to debug Rico Windows Server 0 02-02-2006 08:29 PM
"My computer" folder and showing programs on "Open" and "Save as" menus Jim Windows Update 1 09-26-2003 07:10 PM



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