Exception Management Application Block Problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brad Simon

    Exception Management Application Block Problem

    I have seen this problem posted, but the fix posted is not working for me, so
    I hope to get some help here.

    I am using the EMAB with all of the default settings, and no custom
    publisher. It works fine when I am logged in as an Administrator to the
    machine, but I get the following error when I am not logged in as an
    administrator:

    Event Type: Error
    Event Source: ExceptionManage rPublishedExcep tion
    Event Category: None
    Event ID: 0
    Date: 10/19/2004
    Time: 1:29:01 PM
    User: N/A
    Computer: CODADMCC8230
    Description:

    General Information
    *************** *************** ***************
    Additional Info:
    ExceptionManage r.MachineName: CODADMCC8230
    ExceptionManage r.TimeStamp: 10/19/2004 1:29:01 PM
    ExceptionManage r.FullName: Microsoft.Appli cationBlocks.Ex ceptionManageme nt,
    Version=1.0.165 1.15539, Culture=neutral , PublicKeyToken= null
    ExceptionManage r.AppDomainName : BIS.exe
    ExceptionManage r.ThreadIdentit y:
    ExceptionManage r.WindowsIdenti ty: CENTRAL\bmengin eer

    1) Exception Information
    *************** *************** ***************
    Exception Type: System.Web.Serv ices.Protocols. SoapException
    Actor:
    Code: http://schemas.xmlsoap.org/soap/envelope/:Server
    Detail: System.Xml.XmlE lement
    Message: Server was unable to process request. --> The event source
    ExceptionManage rInternalExcept ion does not exist and cannot be created with
    the current permissions. --> Requested registry access is not allowed.
    TargetSite: System.Object[]
    ReadResponse(Sy stem.Web.Servic es.Protocols.So apClientMessage ,
    System.Net.WebR esponse, System.IO.Strea m, Boolean)
    HelpLink: NULL
    Source: System.Web.Serv ices

    StackTrace Information
    *************** *************** ***************
    at
    System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
    methodName, Object[] parameters)
    at IDOT.Structures WS.BBSStructure sWS.GetStructur esToInspectByUs er()
    at IDOT.OnlineProx y.GetStructures ToInspectByUser (Payload referencePayloa d)

    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.

    I have run the InstallUtil.exe on the DLL, and it says that it is
    successful, but I still get this error.

    Please help!

    --
    Thanks,
    Brad Simon
  • David Levine

    #2
    Re: Exception Management Application Block Problem

    It appears to be trying to create an event source for the eventlog (this
    requires registry write privileges) but does not have sufficent permissions
    to do so. You could write an installer that created the event source for
    you, or you could modify the exception mgmt code so that it does not try to
    create the event source, or surround the code that tries to create the
    source with its own try-catch and ignore the exception.

    "Brad Simon" <bsimon@simonde veloping.com> wrote in message
    news:20E7CBA4-14C3-4E3A-AF70-F9E747AAC40A@mi crosoft.com...[color=blue]
    >I have seen this problem posted, but the fix posted is not working for me,
    >so
    > I hope to get some help here.
    >
    > I am using the EMAB with all of the default settings, and no custom
    > publisher. It works fine when I am logged in as an Administrator to the
    > machine, but I get the following error when I am not logged in as an
    > administrator:
    >
    > Event Type: Error
    > Event Source: ExceptionManage rPublishedExcep tion
    > Event Category: None
    > Event ID: 0
    > Date: 10/19/2004
    > Time: 1:29:01 PM
    > User: N/A
    > Computer: CODADMCC8230
    > Description:
    >
    > General Information
    > *************** *************** ***************
    > Additional Info:
    > ExceptionManage r.MachineName: CODADMCC8230
    > ExceptionManage r.TimeStamp: 10/19/2004 1:29:01 PM
    > ExceptionManage r.FullName:
    > Microsoft.Appli cationBlocks.Ex ceptionManageme nt,
    > Version=1.0.165 1.15539, Culture=neutral , PublicKeyToken= null
    > ExceptionManage r.AppDomainName : BIS.exe
    > ExceptionManage r.ThreadIdentit y:
    > ExceptionManage r.WindowsIdenti ty: CENTRAL\bmengin eer
    >
    > 1) Exception Information
    > *************** *************** ***************
    > Exception Type: System.Web.Serv ices.Protocols. SoapException
    > Actor:
    > Code: http://schemas.xmlsoap.org/soap/envelope/:Server
    > Detail: System.Xml.XmlE lement
    > Message: Server was unable to process request. --> The event source
    > ExceptionManage rInternalExcept ion does not exist and cannot be created
    > with
    > the current permissions. --> Requested registry access is not allowed.
    > TargetSite: System.Object[]
    > ReadResponse(Sy stem.Web.Servic es.Protocols.So apClientMessage ,
    > System.Net.WebR esponse, System.IO.Strea m, Boolean)
    > HelpLink: NULL
    > Source: System.Web.Serv ices
    >
    > StackTrace Information
    > *************** *************** ***************
    > at
    > System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage
    > message, WebResponse response, Stream responseStream, Boolean asyncCall)
    > at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
    > methodName, Object[] parameters)
    > at IDOT.Structures WS.BBSStructure sWS.GetStructur esToInspectByUs er()
    > at IDOT.OnlineProx y.GetStructures ToInspectByUser (Payload
    > referencePayloa d)
    >
    > For more information, see Help and Support Center at
    > http://go.microsoft.com/fwlink/events.asp.
    >
    > I have run the InstallUtil.exe on the DLL, and it says that it is
    > successful, but I still get this error.
    >
    > Please help!
    >
    > --
    > Thanks,
    > Brad Simon[/color]


    Comment

    • Brad Simon

      #3
      Re: Exception Management Application Block Problem

      You are right, that is th eproblem. I have run the Install Util against the
      DLL (as noted below), and I am still getting this error.

      "David Levine" wrote:
      [color=blue]
      > It appears to be trying to create an event source for the eventlog (this
      > requires registry write privileges) but does not have sufficent permissions
      > to do so. You could write an installer that created the event source for
      > you, or you could modify the exception mgmt code so that it does not try to
      > create the event source, or surround the code that tries to create the
      > source with its own try-catch and ignore the exception.
      >
      > "Brad Simon" <bsimon@simonde veloping.com> wrote in message
      > news:20E7CBA4-14C3-4E3A-AF70-F9E747AAC40A@mi crosoft.com...[color=green]
      > >I have seen this problem posted, but the fix posted is not working for me,
      > >so
      > > I hope to get some help here.
      > >
      > > I am using the EMAB with all of the default settings, and no custom
      > > publisher. It works fine when I am logged in as an Administrator to the
      > > machine, but I get the following error when I am not logged in as an
      > > administrator:
      > >
      > > Event Type: Error
      > > Event Source: ExceptionManage rPublishedExcep tion
      > > Event Category: None
      > > Event ID: 0
      > > Date: 10/19/2004
      > > Time: 1:29:01 PM
      > > User: N/A
      > > Computer: CODADMCC8230
      > > Description:
      > >
      > > General Information
      > > *************** *************** ***************
      > > Additional Info:
      > > ExceptionManage r.MachineName: CODADMCC8230
      > > ExceptionManage r.TimeStamp: 10/19/2004 1:29:01 PM
      > > ExceptionManage r.FullName:
      > > Microsoft.Appli cationBlocks.Ex ceptionManageme nt,
      > > Version=1.0.165 1.15539, Culture=neutral , PublicKeyToken= null
      > > ExceptionManage r.AppDomainName : BIS.exe
      > > ExceptionManage r.ThreadIdentit y:
      > > ExceptionManage r.WindowsIdenti ty: CENTRAL\bmengin eer
      > >
      > > 1) Exception Information
      > > *************** *************** ***************
      > > Exception Type: System.Web.Serv ices.Protocols. SoapException
      > > Actor:
      > > Code: http://schemas.xmlsoap.org/soap/envelope/:Server
      > > Detail: System.Xml.XmlE lement
      > > Message: Server was unable to process request. --> The event source
      > > ExceptionManage rInternalExcept ion does not exist and cannot be created
      > > with
      > > the current permissions. --> Requested registry access is not allowed.
      > > TargetSite: System.Object[]
      > > ReadResponse(Sy stem.Web.Servic es.Protocols.So apClientMessage ,
      > > System.Net.WebR esponse, System.IO.Strea m, Boolean)
      > > HelpLink: NULL
      > > Source: System.Web.Serv ices
      > >
      > > StackTrace Information
      > > *************** *************** ***************
      > > at
      > > System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage
      > > message, WebResponse response, Stream responseStream, Boolean asyncCall)
      > > at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
      > > methodName, Object[] parameters)
      > > at IDOT.Structures WS.BBSStructure sWS.GetStructur esToInspectByUs er()
      > > at IDOT.OnlineProx y.GetStructures ToInspectByUser (Payload
      > > referencePayloa d)
      > >
      > > For more information, see Help and Support Center at
      > > http://go.microsoft.com/fwlink/events.asp.
      > >
      > > I have run the InstallUtil.exe on the DLL, and it says that it is
      > > successful, but I still get this error.
      > >
      > > Please help!
      > >
      > > --
      > > Thanks,
      > > Brad Simon[/color]
      >
      >
      >[/color]

      Comment

      Working...