CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.microsoft_application_blocks Tags:
Item Type: NewsGroup Date Entered: 7/23/2004 1:32:27 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 113 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
docseuss
Asp.Net User
Exception Block Error7/23/2004 1:32:27 PM

0

Hey all I am trying to use the Microsoft Application Block Exception Handling module (what a mouth full) to write exceptions that occur in my ASP.NET application to the event log. After reading the documentation it seemed pretty straight forward. I added all the the code blocks into my application and added the following line of code.

using Microsoft.ApplicationBlocks.ExceptionManagement;

All seemed to be fine and dandy up to thsi point then in my catch block I added this line of code.

catch (Exception ex)
{
ExceptionManager.Publish(ex);
}

Now when this line of code executes I get the following error.

Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerText.resources" was correctly embedded or linked into assembly "SupportWorks". baseName: Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerText locationInfo: <null> resource file name: Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerText.resources assembly: SupportWorks, Version=1.0.1664.19739, Culture=neutral, PublicKeyToken=null
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerText.resources" was correctly embedded or linked into assembly "SupportWorks". baseName: Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerText locationInfo: <null> resource file name: Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerText.resources assembly: SupportWorks, Version=1.0.1664.19739, Culture=neutral, PublicKeyToken=null

Source Error:


Line 296: {
Line 297: // Get the Default Publisher
Line 298: DefaultPublisher Publisher = new DefaultPublisher("Application", resourceManager.GetString("RES_EXCEPTIONMANAGER_INTERNAL_EXCEPTIONS"));
Line 299:
Line 300: // Publish the exception and any additional information

After reading back through the documentation to see if I had missed anything I also added this to my Web.config file.

<configSections>

<section name="exceptionManagement"
type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler, Microsoft.ApplicationBlocks.ExceptionManagement" />

</configSections>

<exceptionManagement mode="on">
<publisher Assembly="Microsoft.ApplicationBlocks.ExceptionManagement"

type="Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher"

logName="Application" applicationName="SupportWorks" />
</exceptionManagement>

Still I get the same error. Any help in what I'm doing wrong or anything to point me in the right direction would greatly be appreciated. Thansk in advanced!
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
JavaScript: the definitive guide Authors: David Flanagan, Pages: 994, Published: 2006
Refactoring: improving the design of existing code Authors: Martin Fowler, Kent Beck, Pages: 431, Published: 1999
Learning Python Authors: Mark Lutz, David Ascher, Pages: 591, Published: 2004
Practical C++ programming Authors: Steve Oualline, Pages: 549, Published: 2002

Web:
HowStuffWorks "What causes things like fatal exception errors?" What do the computer error messages "fatal exception error," "invalid page fault " and ... so it asks the operating system to reserve a block of memory. ...
Error and Exception Handling Formatting an exception error message is typically a memory-intensive operation ... block so that you have a fallback in case the formatting code throws ...
DB2 z/OS procedures - Nested Block error in Exception Block - bytes DB2 z/OS procedures - Nested Block error in Exception Block IBM DB2. ... Does not DB2 for z/OS allow multiple statements in exception block? ...
Exception Block Error - ASP.NET Forums Hey all I am trying to use the Microsoft Application Block Exception Handling module (what a mouth full) to write exceptions that occur in ...
Exception Block error: Cannot open log for source {0}... I am trying to using the Exception Handling Application Block with a web application. I am getting this error: "Cannot open log for source ...

Exception Block Error - ng.asp-net-forum.microsoft_application_blocks Exception Block Error, > ROOT > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.microsoft_application_blocks, Date: 7/23/2004 ...
Exception Handling Application Block Tutorial - ng.asp-net-forum ... Exception Block Error - ng.asp-net-forum.microsoft_application_blocks I am trying to using the Exception Handling Application Block with a . ...
The event source... does not exist when creating a new exception ... The event source... does not exist when creating a new exception, ... to create a New Exception that i want to publish, but i'm getting the error: ... Exception Management Application Block - installation problem in . ...
System.Resources.MissingManifestResourceException - ng.asp-net ... Exception Block Error - ng.asp-net-forum.microsoft_application_blocks Exception Details: System.Resources.MissingManifestResourceException: ...
Could not find any resources appropriate for the specified culture ... Exception Block Error - ng.asp-net-forum.microsoft_application_blocks Could not find any resources appropriate for the specified culture (or ...

Videos:
Gathering Exception Error in Halo Custom Edition I am getting this Gathering Exception Error and i do not know how to fix it, i need some help. Does anybody know how to Fix this error?? Any Help ...
Teach Yourself Extended BASIC 7 CHAPTER 7. Exception Handling. ON BREAK, ON ERROR, ON WARNING, CALL ERR, RETURN texintreasures.com
CSharpTryCatch Intro 01 - Part 1 of 2 Learn how to use a Try/Catch statement to handle exceptions
Visual Basic 2008 - Error Handling Error Handling In Visual Basic 2008. Just a simple tutorial to help Software Designers with one of there biggest problems 'Unhandled Exception' so ...
012-Important Note for PL/SQL to remember (Oracle Training) Basic information about PL/SQL you must know before doing any hands-on. PL/SQL is a language that was provided by Oracle. Stored procedure is a ...












building the microsoft enterpsise libraries for medium trust

alternate config source for ssrs security extension?

beginner question - where in the web.config to put the connection string?

returning @@identity from an insert statement

newbie question to catching specific exception

daab presentation

enterprise library configuration

configuration management application block in the use?

uip application block question.

database trace listener

enterprise application blocks 3.1 under medium trust on shared server

enterprise library data access block (bug?)

configuration management app. block in .net 2.0

good dal component?

simple problem? cmab xml

pag releases user interface process application block - version 2.0

has anyone used this?

appending to xml file - why not?

in uip quickstart 'store', after click back button on ie toolbar, the previous page will raise pageload event, why?

extendedformattime what are the format times

randomly occurring error

logging block - turn off writing to a sink

different types stored in different caches with the caching application block

using uip with winforms 2.0: assembly errors

problem loading an assembly with the uipab

cachedependency error

exception handling application block tutorial

using data accees application block in enterprise library 2.0

installer

very urgent: can anybody tell how to solve download error for manifest when using updater application block

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT