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

Exception application block

I am trying to use the exception application block but getting errors as
indicated below. I am wondering if there is any newsgroups regarding the
application blocks published by 1 year ago. I followed the instructuions for
the setup and trying to execute the sample shipped with the application
block. Thanks in advance

1) Exception Information
*********************************************
Exception Type: System.Configuration.ConfigurationException
Message: Could not create
Microsoft.ApplicationBlocks.ExceptionManagement.Ex ceptionManagerSectionHandler,Microsoft.Application Blocks.ExceptionManagement
BareMessage: Could not create
Microsoft.ApplicationBlocks.ExceptionManagement.Ex ceptionManagerSectionHandler,Microsoft.Application Blocks.ExceptionManagement
Filename: NULL
Line: 0
TargetSite: System.Configuration.IConfigurationSectionHandler
GetFactory(System.String)
HelpLink: NULL
Source: System

StackTrace Information
*********************************************
at System.Configuration.ConfigurationRecord.GetFactor y(String configKey)
at System.Configuration.ConfigurationRecord.Evaluate( String configKey)
at System.Configuration.ConfigurationRecord.ResolveCo nfig(String configKey)
at System.Configuration.ConfigurationRecord.GetConfig (String configKey)
at
System.Configuration.DefaultConfigurationSystem.Sy stem.Configuration.IConfigurationSystem.GetConfig( String configKey)
at System.Configuration.ConfigurationSettings.GetConf ig(String sectionName)
at
Microsoft.ApplicationBlocks.ExceptionManagement.Ex ceptionManager.Publish(Exception exception, NameValueCollection additionalInfo)
Jan 24 '06 #1
3 1484
Hi,

Could you show us your code that how you consume the exception application
block? And on which line of code was the exception thrown?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jan 25 '06 #2
I am executing the quick sample that ships with the block.
Salam

"Kevin Yu [MSFT]" wrote:
Hi,

Could you show us your code that how you consume the exception application
block? And on which line of code was the exception thrown?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jan 25 '06 #3
Hi,

Could you let me know which button did you pressed on the window? Also, did
you build the whole enterprise library using the start menu tool?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jan 26 '06 #4

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...
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...
1
by: Farooq Khan | last post by:
i'm writing a class library having following code snippet. i want this class to report an error (by throwing an Exception) to the application using this class library. the problem is that within...
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...
40
by: Kevin Yu | last post by:
is it a bad programming design to throw exception in the try block then catch it??
11
by: J-T | last post by:
I'd like to use Exception block for my asp.net application,but apparently there are two things available now: 1)Old exception block 2) exception block represented in enterprise library. I...
4
by: Rob Richardson | last post by:
Greetings! I am working on an application that targets a Pocket PC running Windows CE and SQL Server CE. Almost all functions in the application use a Try block with a Catch block that looks...
0
by: mammucion | last post by:
Trying to automate processing 80,000 data sets through 15 web pages. Application URL creates a new IE instance in which runs first a login form and then runs the rest of the pages in the new...
12
by: Subhransu Sekhar Sahoo | last post by:
Hi All, I have a doubt in the implementation of C++ try catch exception handling procedure. Whenever there is a through, the execution has to go to the point of catch. Now, if the catch block...
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: 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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.