Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7914037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:59:13+00:00 2026-06-03T13:59:13+00:00

I have a three tier web app in which I am using MS Enterprise

  • 0

I have a three tier web app in which I am using MS Enterprise Library Exception Handling application block for exception management. The exceptions in the DataAccess and BusinessManagers are being logged and then replaced with a custom exception containing a general message. This custom exception is then being thrown up till the UI layer. I have defined a global exception handler in the Application_Error event in the Global.asax file from where I am planning to redirect the user to a custom error page for the user friendly error message display. In my UI event handlers I am wrapping the BusinessManager calls in a try catch block and throwing the exception hoping to catch it in the global handler. While it does get caught in the global exception handler and displays the custom error page, I am getting a debugger break in the throw statement stating that “Exception was unhandled by user code”. After this the code hits the global exception handler. Even if I remove the try catch block from the UI code, I am getting the same unhandled error message from the place where I throw the exception from the BusinessManager. I am not sure where I am going wrong.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:59:14+00:00Added an answer on June 3, 2026 at 1:59 pm

    If you are running the application in debug mode, the debugger will display that window. However, if you run it in release mode it won’t appear. Nothing is wrong with your code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a three tier web app that produces three separate dlls: Web.UI.dll Web.Application.dll
I have a three-tier Windows Forms DB application in VB.NET. I'm using VS 2005.
I have inherited a conventional three tier web app with ASP.net 2.0 for the
Im building a web application which is a process management app. Several different employee
I have a three-tier Windows-based web application bundled into 3 AMIs on Amazon EC2
I have N- Tier application Which consist of three parts: 1. Client (WPF) 2.
I have an MVC2 n-tier application (DAL, Domain, Service, MVC web) using a DDD
In the past I have primarily built all my web applications using an N-tier
I have read some web articles about Three-Tier Architecture. However, I am little bit
I have a classic 3-tier ASP.Net 3.5 web application with forms that display business

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.