XP Event Log - Access Denied

From: Eric Haper (eric.harper@macrovisioneurope.com)
Date: 01/14/03


From: eric.harper@macrovisioneurope.com (Eric Haper)
Date: 14 Jan 2003 02:41:46 -0800

I have an ISAPI DLL written several years ago and running successfully
on NT4 Server under IIS 4 and now Windows 2000 Server using IIS 5. The
DLL writes housekeeping messages to the Application Log in the Event
Log. I have recently installed the DLL onto XP Professional with IIS
installed and noticed that although the DLL seemed to work correctly
in every other way no entries were being made to the Event Log.

I have traced this down to RegisterEventSource returning a NULL handle
 and when querying GetLastError it is reporting "Access Denied". All
the Registry access functions (RegSetValueEx etc) work correctly with
no permission problems.

In each OS IIS was installed 'out of the box' with no change made to
any accounts or permissions. Can anyone shed any light as to why XP is
failing to write and any possible fix.

Eric Harper



Relevant Pages

  • Many, many thanks
    ... Assuming that you instantiate the object in the dll on a .asp page, ... if you want to keep a dll loaded in IIS you have a couple ... my ole server dll was exposed. ...
    (microsoft.public.inetserver.iis)
  • Re: Accessing 32 bit COM components in 64 bit IIS
    ... we will be introducing the ability to configure IIS to run under ... and under the 32bit command line no error is thrown. ... the problem must be to do with how the dll is registered. ... > You should be able to reproduce your situation outside of ASP by creating ...
    (microsoft.public.inetserver.iis)
  • Re: Calling unmanaged code from ASP.NET in IIS7
    ... Did you restart IIS after making changes to the security settings. ... Without the actual DLL, ... It works on my dev box if I run the website through Visual Studio using ... Strange thing is if I try to reference a system dll, ...
    (microsoft.public.inetserver.iis)
  • Re: Fail to create IXSSO.Query object
    ... There is no 64-bit Jet driver, so you've got no choice but to use 32-bit ... Can you switch IIS back to 64-bit mode and see if that then works? ... I also will try to register the dll again. ...
    (microsoft.public.inetserver.asp.general)
  • Re: IIS application pool identities and ASP.NET
    ... This is not really a question for IIS. ... IIS has handed control to ASP.Net when your ASP.Net code executes, ... DLL from managed code, it does so using process identity. ... the identity switch it reports the identity as that of the anonymous ...
    (microsoft.public.inetserver.iis)