Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

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-
0
lion201
Asked:
lion201
1 Solution
 
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
 
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

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now