raising EIF events to WMI from within an ASP application

Discussion in 'ASP .Net Security' started by Joe Campbell, Dec 16, 2003.

  1. Joe Campbell

    Joe Campbell Guest

    I am encountering a problem raising WMI events from an
    asp.net application. The error received (as captured in
    the event log) is as follows:

    System.Runtime.InteropServices.COMException (0x80041003):
    Exception from HRESULT: 0x80041003.
    at
    Microsoft.EnterpriseInstrumentation.EventSinks.WmiEventSink
    ...Write(Object eventToRaise)
    at
    Microsoft.EnterpriseInstrumentation.EventSource.RaiseEvent
    (Object eventToRaise, RequestContext requestContext)

    Trawling Google has revealed that this is an access denied
    exception when the asp user tries to interact with WMI to
    raise events. When the event raising code is executed as a
    console application (as the currently logged in user) the
    event is raised correctly to WMI.

    To try to fix this problem I have:

    Given all permissions to "everyone" to all WMI namespaces.
    Given all permissions to aspnet user on all WMI namespaces.

    Some of the literature on the Internet mentions turning on
    impersonation within the asp application to solve this.
    This is not a possibility as it is a requirement that
    users will access the site anonymously. Hence anonymous
    access is enabled within IIS and windows integrated
    authentication is enabled.

    I am running .net framework 1.1 on a windows 2000 server
    sp4 system.

    Any pointers are much appreciated.
    Joe
    Joe Campbell, Dec 16, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Smith

    raising events!

    David Smith, Dec 5, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    513
    David Smith
    Dec 5, 2003
  2. David Smith

    Help raising events

    David Smith, Dec 8, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    488
    David Smith
    Dec 8, 2003
  3. Colin Young
    Replies:
    5
    Views:
    581
    Colin Young
    Oct 20, 2003
  4. Joe Campbell

    raising WMI events from ASP.net

    Joe Campbell, Dec 16, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    660
    Joe Campbell
    Dec 16, 2003
  5. K Viltersten

    How optimized ar eif-statements in JS

    K Viltersten, May 22, 2008, in forum: Javascript
    Replies:
    27
    Views:
    208
    John G Harris
    May 24, 2008
Loading...

Share This Page