ISAPI DLL: Access denied to event log on remote machine

Posted on 2005-05-09
Last Modified: 2010-08-05
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.

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
Question by:lion201
    LVL 1

    Expert Comment

    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.
    LVL 8

    Accepted Solution

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
    Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now