473,624 Members | 2,258 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 21 '05 #1
2 13673
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****@simonde veloping.com> wrote in message
news:20******** *************** ***********@mic rosoft.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: 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

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****@simonde veloping.com> wrote in message
news:20******** *************** ***********@mic rosoft.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: 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


Jul 21 '05 #3

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

Similar topics

1
1845
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 error is just displayed back to me like it normaly would be w/out the Exception Management Application Block was never implemented Do I need to include a web.config file in the subfolder also If so what all do I need to include in the web.config...
1
1868
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 Windows Application (which I have done and named "ExceptionManagementTester") and within it create and use a custom publisher. The Exception Management Tester Solution contains ONE project with these files:
6
2123
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 exe file it doesn't catch any errors? Does anyone know what my problem might be? Regards
5
5809
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 error: ------------------------------------ System.Security.SecurityException: The event source ExceptionManagerInternalException does not exist and cannot be created with
44
4206
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 user tasks should always be included in a try/catch block that actually handles any exceptions that occur (log the exception, display a message box, etc.). 2. Low-level operations that are used to carry out the high level tasks
7
3919
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 Exception Management Application Block using installutil. Our Application uses impersonation and used to work fine on Windows 2000 Server. Now we installed it on a Windows Server 2003 and when an exception is raised, we get an "Access is denied"...
4
1371
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 application like 'try & catch'. Now the problem is we are getting the Error : 'System.Web.Management.WebBaseEvent(string, object, int, System.Exception)' is inaccessible due to its protection level. Or any other way to centralize the exception...
1
1868
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 when I put the application to the network server. A just-in-time debugger alert that an unhandling error was raised by a function call VerifyValidSource in Exception Managment. The description of error is "Request Fail". Please help. Thanks
1
2483
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, but with the default publishing to the Event Log. We have an error handler Intranet_Exception_Processing.Vb in the app's Component folder with the ExceptionManager.Publish(ex) call. Here is the code generating the error: ExceptionManager.VB...
0
8233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8170
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8619
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6108
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2604
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.