473,320 Members | 1,857 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,320 software developers and data experts.

ASP.NET Exception Handling with the Enterprise Library (Jan 2006)

Hey all,

Question regarding Exception Handling w/ Application Blocks. The example
given (ExceptionHandlingWithLogginQuickStart) creates a DialogResult to
display the error message back to the user (AppMessageExceptionHandler.cs,
line 51). How should this be done in ASP.NET?

We have a control defined on our pages that we want errors to output into
.... how should we accomplish this? Since our exception handler is in our
business layer, we don't want to explicitly write to our UI page. Should I
raise an even that is handled by the UI, which then displays the error?

I have not found any good examples for ASP.NET and exception handling in the
enterprise library.

Thanks,

Wade
Jul 24 '06 #1
3 1369
You can alwayz customize it according to your needs, as it is open source.

"Wade" wrote:
Hey all,

Question regarding Exception Handling w/ Application Blocks. The example
given (ExceptionHandlingWithLogginQuickStart) creates a DialogResult to
display the error message back to the user (AppMessageExceptionHandler.cs,
line 51). How should this be done in ASP.NET?

We have a control defined on our pages that we want errors to output into
.... how should we accomplish this? Since our exception handler is in our
business layer, we don't want to explicitly write to our UI page. Should I
raise an even that is handled by the UI, which then displays the error?

I have not found any good examples for ASP.NET and exception handling in the
enterprise library.

Thanks,

Wade
Jul 24 '06 #2
Okay ... I know that I can "customize" it ... please allow me to rephrase
....

What is the most standard way of implementing this? Anyone know of any MS
resources that deal with displaying the error message to the end user via
application blocks in an ASP.NET application, rather than a Windows app?
What worked for you, and what didn't?

"Murtaza" <Mu*****@discussions.microsoft.comwrote in message
news:92**********************************@microsof t.com...
You can alwayz customize it according to your needs, as it is open source.

"Wade" wrote:
>Hey all,

Question regarding Exception Handling w/ Application Blocks. The example
given (ExceptionHandlingWithLogginQuickStart) creates a DialogResult to
display the error message back to the user
(AppMessageExceptionHandler.cs,
line 51). How should this be done in ASP.NET?

We have a control defined on our pages that we want errors to output into
.... how should we accomplish this? Since our exception handler is in
our
business layer, we don't want to explicitly write to our UI page. Should
I
raise an even that is handled by the UI, which then displays the error?

I have not found any good examples for ASP.NET and exception handling in
the
enterprise library.

Thanks,

Wade

Jul 24 '06 #3
No i dun think Microsoft provides any example working with ASP.NET,
personally i dont use Exception Block much, i have made my own mechanism n
yes its workign quite well for me.

"Wade" wrote:
Okay ... I know that I can "customize" it ... please allow me to rephrase
....

What is the most standard way of implementing this? Anyone know of any MS
resources that deal with displaying the error message to the end user via
application blocks in an ASP.NET application, rather than a Windows app?
What worked for you, and what didn't?

"Murtaza" <Mu*****@discussions.microsoft.comwrote in message
news:92**********************************@microsof t.com...
You can alwayz customize it according to your needs, as it is open source.

"Wade" wrote:
Hey all,

Question regarding Exception Handling w/ Application Blocks. The example
given (ExceptionHandlingWithLogginQuickStart) creates a DialogResult to
display the error message back to the user
(AppMessageExceptionHandler.cs,
line 51). How should this be done in ASP.NET?

We have a control defined on our pages that we want errors to output into
.... how should we accomplish this? Since our exception handler is in
our
business layer, we don't want to explicitly write to our UI page. Should
I
raise an even that is handled by the UI, which then displays the error?

I have not found any good examples for ASP.NET and exception handling in
the
enterprise library.

Thanks,

Wade


Jul 25 '06 #4

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

Similar topics

1
by: Ray5531 | last post by:
We are developing an ASP.NET application which has a UI a business layer and a OR Mapper generated DAL layer.We have two types of Exceptions that might occure 1) Runtime Exceptions (Programmer...
1
by: David Herbst | last post by:
Enterprise Library Jan 2006 with Visual Studio 2005 on Windows 2000 Server sp4. My custom exception formatter fails with a "Unable to handle exception: 'LoggingExceptionHandler'." exception. ...
16
by: Chuck Cobb | last post by:
I'm implementing a centralized exception handling routine using the Enterprise Library Exception Management Application Block. I trap all unhandled exceptions to one place using the following...
7
by: rockdale | last post by:
hi, I just downloaded Microsoft Enterprise Library Jan 2006 and try to integrate it into my asp.net application. As i am going to connect to mySQL database, I need to include the source code in my...
1
by: Jess Chadwick | last post by:
I am attempting to use the Enterprise Library (Jan 2006) Cryptography block to encrypt a credit card number in my ASP.NET 2.0 Commerce Server application. Everything is configured correctly, as...
1
by: Jarsinio | last post by:
I have some doubts about how managed exception in a VB.net aplication. In my aplicattion I have 3 clases: One clase is the UI ( Windows Forms). This class call a second clase who perform an...
1
by: GaryDean | last post by:
I now have installed (from the same install) Enterprise Library - January 2006 and Enterprise Library - June 2005. The install for these two was called Enterprise Library for .Net 2.0. (not...
0
by: =?Utf-8?B?UG9sbHkgQW5uYQ==?= | last post by:
Hi, I have previously used EL v 3.1 Exception Handling application block successfully. I thought I would now try to do the same with EL v 4.0. My first experiment was to replace an exception....
0
by: srizzler | last post by:
Hi All: I am trying to implement Exception Handling using Enterprise Library 3.1's Exception Handling Application Block as well as Logging Blocks. I have a windows application developed in...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.