ISAPI DLL: Access denied to event log on remote machine

Good morning group !

I wrote an ISAPI DLL which needs to write events to the EventLog on the management machine. When the DLL on one of the webservers tries to write to the management machine's event log i get the following two error messages:

on the webserver:
System.UnauthorizedAccessException: Access to the registry key  is denied.

on the management machine:
The Security System detected an authentication error for the server cifs/62.x.x.x.  The failure code from authentication protocol Kerberos was "The attempted logon is invalid. This is either due to a bad username or authentication information.
 (0xc000006d)".


how do I configure the management machine to allow the webservers to write to the event log ?

Thanks in advance for your suggestions.

best wishes
-ToM-
lion201Asked:
Who is Participating?
 
tomvergoteCommented:
you can't setup the iusr account on the management machine iirc, you'll have to make the app runn under a domain user and give that user rights enough on the management machine
0
 
fwscottCommented:
Two different ways really.

1) Setup the IUSR account to have access to the management machine. This would include going into the registry and assigning permissions.

2) Make the World Wide Web publishing service start as a user that has access to the management machine.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.