Exception Management Application Block Problem

G

Guest

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: ExceptionManagerPublishedException
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:
ExceptionManager.MachineName: CODADMCC8230
ExceptionManager.TimeStamp: 10/19/2004 1:29:01 PM
ExceptionManager.FullName: Microsoft.ApplicationBlocks.ExceptionManagement,
Version=1.0.1651.15539, Culture=neutral, PublicKeyToken=null
ExceptionManager.AppDomainName: BIS.exe
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: CENTRAL\bmengineer

1) Exception Information
*********************************************
Exception Type: System.Web.Services.Protocols.SoapException
Actor:
Code: http://schemas.xmlsoap.org/soap/envelope/:Server
Detail: System.Xml.XmlElement
Message: Server was unable to process request. --> The event source
ExceptionManagerInternalException does not exist and cannot be created with
the current permissions. --> Requested registry access is not allowed.
TargetSite: System.Object[]
ReadResponse(System.Web.Services.Protocols.SoapClientMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services

StackTrace Information
*********************************************
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at IDOT.StructuresWS.BBSStructuresWS.GetStructuresToInspectByUser()
at IDOT.OnlineProxy.GetStructuresToInspectByUser(Payload referencePayload)

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!
 
D

David Levine

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 said:
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: ExceptionManagerPublishedException
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:
ExceptionManager.MachineName: CODADMCC8230
ExceptionManager.TimeStamp: 10/19/2004 1:29:01 PM
ExceptionManager.FullName:
Microsoft.ApplicationBlocks.ExceptionManagement,
Version=1.0.1651.15539, Culture=neutral, PublicKeyToken=null
ExceptionManager.AppDomainName: BIS.exe
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: CENTRAL\bmengineer

1) Exception Information
*********************************************
Exception Type: System.Web.Services.Protocols.SoapException
Actor:
Code: http://schemas.xmlsoap.org/soap/envelope/:Server
Detail: System.Xml.XmlElement
Message: Server was unable to process request. --> The event source
ExceptionManagerInternalException does not exist and cannot be created
with
the current permissions. --> Requested registry access is not allowed.
TargetSite: System.Object[]
ReadResponse(System.Web.Services.Protocols.SoapClientMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services

StackTrace Information
*********************************************
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at IDOT.StructuresWS.BBSStructuresWS.GetStructuresToInspectByUser()
at IDOT.OnlineProxy.GetStructuresToInspectByUser(Payload
referencePayload)

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!
 
G

Guest

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 said:
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 said:
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: ExceptionManagerPublishedException
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:
ExceptionManager.MachineName: CODADMCC8230
ExceptionManager.TimeStamp: 10/19/2004 1:29:01 PM
ExceptionManager.FullName:
Microsoft.ApplicationBlocks.ExceptionManagement,
Version=1.0.1651.15539, Culture=neutral, PublicKeyToken=null
ExceptionManager.AppDomainName: BIS.exe
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: CENTRAL\bmengineer

1) Exception Information
*********************************************
Exception Type: System.Web.Services.Protocols.SoapException
Actor:
Code: http://schemas.xmlsoap.org/soap/envelope/:Server
Detail: System.Xml.XmlElement
Message: Server was unable to process request. --> The event source
ExceptionManagerInternalException does not exist and cannot be created
with
the current permissions. --> Requested registry access is not allowed.
TargetSite: System.Object[]
ReadResponse(System.Web.Services.Protocols.SoapClientMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services

StackTrace Information
*********************************************
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at IDOT.StructuresWS.BBSStructuresWS.GetStructuresToInspectByUser()
at IDOT.OnlineProxy.GetStructuresToInspectByUser(Payload
referencePayload)

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!
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top