473,395 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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: 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.SoapCli entMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services

StackTrace Information
*********************************************
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at IDOT.StructuresWS.BBSStructuresWS.GetStructuresToI nspectByUser()
at IDOT.OnlineProxy.GetStructuresToInspectByUser(Payl oad 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!

--
Thanks,
Brad Simon
Jul 21 '05 #1
2 13647
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" <bs****@simondeveloping.com> wrote in message
news:20**********************************@microsof t.com...
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.SoapCli entMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services

StackTrace Information
*********************************************
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at IDOT.StructuresWS.BBSStructuresWS.GetStructuresToI nspectByUser()
at IDOT.OnlineProxy.GetStructuresToInspectByUser(Payl oad
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!

--
Thanks,
Brad Simon

Jul 21 '05 #2
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:
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" <bs****@simondeveloping.com> wrote in message
news:20**********************************@microsof t.com...
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.SoapCli entMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
HelpLink: NULL
Source: System.Web.Services

StackTrace Information
*********************************************
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at IDOT.StructuresWS.BBSStructuresWS.GetStructuresToI nspectByUser()
at IDOT.OnlineProxy.GetStructuresToInspectByUser(Payl oad
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!

--
Thanks,
Brad Simon


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steve O'maley | last post by:
I currently have the Exception Management Application Block working in my base directory, but when I create pages in a subfolder the Exception Management Application Block is never executed. The...
1
by: Andy | last post by:
Hi All, I'm basically just trying to get started with the Exception Management Application Block and am having some technical difficulties. All I want to do to begin with is create a simple...
6
by: Páll Ólafsson | last post by:
Hi I have a problem with the Microsoft.ApplicationBlocks.ExceptionManagement? I can't get it to work in RELEASE mode? If I run the project in debug mode the block works fine but when I run the...
5
by: PCC | last post by:
I am using the Exception Managment Application Block on Windows Server 2003 Enterprise and .NET v1.1. If I use the block with an ASP.NET web wervice or in a web application I get the following...
44
by: craig | last post by:
I am wondering if there are some best practices for determining a strategy for using try/catch blocks within an application. My current thoughts are: 1. The code the initiates any high-level...
7
by: Lucas | last post by:
Hi, I have an ASP.Net application written with VS.Net 2002 (Net FWK 1.0). This Web Application uses Exception Management Application Block to log Events to Windows Event Log. We registered the...
4
by: Atul Bahl | last post by:
We want to use one static class that can be called from anywhere in application and provides all the notification mechanism behind the scenes and can be used to handle exceptions all over the...
1
by: Ellis Yu | last post by:
Dear All, I used VB.Net to write an application which use the exception management in Application Block as error handling. When I deploy the application in the client machine, it's fine. However...
1
by: =?Utf-8?B?QnJldHQgT3NzbWFu?= | last post by:
I'm trying to set up a custome e-mail publisher for a web app using the Microsoft Exception Management Application Block for .NET sample app. Our app already uses the Exception Management Block,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.