Adding action to execute on Exception before Handling error

first post: evirca wrote: Hello, I was trying to use ExceptionManager in combination with Sem...

latest post: evirca wrote: Thanx for your answer and on the other side sorry, I think I might ...

Semantic Logging Not logging to the Database in the Latest version

first post: janzalone wrote: I was testing the Semantic Logging Block to log to SQL Server but n...

latest post: janzalone wrote: Randy, Thanks that did the trick. I was still using the database f...

Can Ent Lib 4.0 be used from a .NET 4 application?

first post: cnicho wrote: Hi I have written an extension to an existing host application. Th...

latest post: cnicho wrote: I'm glad to report that I have successfully worked out how to use E...

EnterpriseLibraryContainer error

first post: Brewhutch wrote: Hi, I'm using Ent5 and try to create the email trace listener dyna...

latest post: Brewhutch wrote: It works. This is a key .WithOptions _ ...

InvalidCastException: Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings. Conflicts with Ent Lib Ver 5 & 6

first post: SachinRChavan wrote: Hi, I am getting following invalid cast exception: System.Inval...

latest post: kiquenet wrote: Any full sample application in github or codeplex using Ent.Lib 5.0...

Exception Handling - Ent Lib 5.0

first post: stephenmbell wrote: I am new to the enterprise library, trying to add it to my visual s...

latest post: randylevy wrote: The message indicates that the .NET runtime is finding another "ver...

Upgradation of microsoft enterprise library 2.0 to 6.0

first post: guggas wrote: Hi, We are moving our project from .net 2.0 to 4.5.Along with this...

latest post: randylevy wrote: You could go through the Migration Guides and analyze the code to s...

Unable to host out-process application on Azure Server

first post: shreyansh92 wrote: Hi, How I will host my Out-Process SLAB service on Azure which will...

latest post: randylevy wrote: [Installing a Windows Service in a Windows Azure Worker Role](http:...

Enterprise Library Logging - Specific Requirement

first post: StuartFerguson31 wrote: I have just started investigating the Enterprise Library Logging Bl...

latest post: randylevy wrote: The Rolling Flat File Trace Listener does support a RollInterval of...

The configuration section for Logging cannot be found in the configuration source

first post: AhmadTarabishi wrote: I have a class library which contains enterprise library dlls and I...

latest post: randylevy wrote: It sounds like the configuration is not being deployed. If you are...

Invalid TraceListenerData type in configuration 'listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging"'.

first post: SachinRChavan wrote: Hi, I am getting the below error while logging the trace details...

latest post: randylevy wrote: Did you also install the Microsoft.Practices.EnterpriseLibrary.Comm...

Enterprise library - sending email with attachment

first post: marioana wrote: Is it possible? I want to send also an attachment when I use the em...

latest post: MuraliPhaniKumar wrote: Hi Rajesh Can you explain with an example Thanks

EnterpriseLibraryContainer.Current.GetInstance<Database> is threadsafe?

first post: kavsshiva wrote: Hi I have this piece of code. I use it to make asyncronous calls ...

latest post: kavsshiva wrote: I have to handle the tasks results isn't it? task.continuewth or wa...

IsEnabled in SLAB is returning always false

first post: sshankaran wrote: Hello, I am new to SLAB and having an issue. My write event is no...

latest post: randylevy wrote: Good to hear!

Wapper around EntLib

first post: DavidKardiff wrote: Hi, structure of the simple wrapper for EntLib is the main questio...

latest post: randylevy wrote: I would say that since you want to wrap the Logging Application Blo...

SqlDatabaseSink doesnt log into Logging DB

first post: lax4u wrote: Im trying to log into SQL Db using SqlDatabaseSink. However doesn't...

latest post: mdacar wrote: You probably don't have the database scripts. It's not like it giv...

sqldatareader code review

first post: SandpointGuy wrote: Hi - Im using the following code to create a sql data reader and th...

latest post: SandpointGuy wrote: Wow, so much cleaner and maintainable. Thanks much, Randy! I'll l...

System.ObjectDisposedException Message: Safe handle has been closed

first post: maird wrote: After deploying the latest EntLib (3.1), we're getting the followin...

latest post: randylevy wrote: Under the covers `Logger.Reset()` does a dispose with some addition...

How to save connection string

first post: PureDeal wrote: Is it possible for me to use Enterprise library so when i create a ...

latest post: randylevy wrote: If you are using LINQ To SQL as your DAL then you would have no nee...

Entlib Security Block

first post: spcool wrote: Hi, I want to implement MVC site using Entlib security block , plz...

latest post: randylevy wrote: The Security Application Block has been deprecated and removed from...

Change Category for Listener's Errors

first post: venkatesh_bhupath wrote: We are using Logging Application Block to log the incoming message ...

latest post: randylevy wrote: The answer is not really. Once a trace listener throws an exceptio...

SemanticLoggingEventSource.Log.CustomSinkUnhandledFault - where do these go?

first post: alvipeo wrote: Can anybody tell where do these messages go? I mean where can I fin...

latest post: randylevy wrote: The Semantic Logging Block locks the log files itself. So, as long...

answered by: randylevy wrote: Events from SemanticLoggingEventSource go where ever you tell them ...

Links for CHM help files are broken

first post: Rajeev_MS_Login wrote: I am trying to download the CHM files referred in the downloads sec...

latest post: Rajeev_MS_Login wrote: Thanks Randy. It worked. :)

Out-of-process logger stops logging when level is changed

first post: yevglerner wrote: I’ve developed a system that utilizes rollingFlatFileSink (rollFile...

latest post: edhaswell wrote: I seem to be having the same problem. I have a long-running app (a ...

answered by: randylevy wrote: Thanks for a good repro scenario. I was able to recreate the issue...

Parameter discovery is not supported for connections using GenericDatabase

first post: byronfromwes92 wrote: Hi. We have an ASP.NET 2.0 application running with an Oracle 10g ...

latest post: EdwinCieza wrote: Hola coloca esto en tu APP config. Saludos

how to set the validator configuration when the validation block is used on a class library?

first post: sayao wrote: Hi. I have the following scenario: A business logic layer (class...

latest post: sayao wrote: I've put all the configuration on the service layer (web.config) an...

The connection string for the database 'Test' does not exist or does not have a valid provider.

first post: neerajsaini1982 wrote: I have a very wired issue hosting a service on IIS. I created a l...

latest post: KenSaraf wrote: Hi Randy and thank you for your quick response. Seems like my b...

RollingFlatFileLog listener is not present in EnterpriseLibrary.SemanticLogging version 2.0.1406.1

first post: dilip_nannaware wrote: RollingFlatFileLog is not present in EnterpriseLibrary.SemanticLogg...

latest post: randylevy wrote: RollingFlatFileSink (along with FlatFileSink) was moved into its ow...

no entries logged in database- EL 6

first post: wbsat wrote: i am trying to log exceptions to database but by using logging,data...

latest post: randylevy wrote: If you change the Log table in the database then you would also hav...

How to create a Enterprise Database object similar to factory pattern

first post: bharath87 wrote: Currently I am creating the Database object like this Database _d...

latest post: bharath87 wrote: Thank you so much

Turn off or disable caching

first post: dvdstelt wrote: Is there an ability to turn off caching completely?For example when...

latest post: randylevy wrote: > [ConfigurationElementType(typeof(CustomCacheManagerData))] This...

SLAB Querying Azure Table

first post: Nahim wrote: Is there a way to query EventEntries stored in Azure Table Storage....

latest post: randylevy wrote: The EventEntry class is not intended to be used to query Azure Stor...

Using MSTest I get - "Invalid TraceListenerData type in configuration"

first post: andyedwards12 wrote: Hi, I am getting the error "Invalid TraceListenerData type in confi...

latest post: randylevy wrote: As you mention, the error usually occurs because the assembly is no...

Enterprise Libraray Logging Application Block - Roll File Exists behavior

first post: L_Iniyavan wrote: Hi all, Am using EntLib for logging purpose, as of now it creat...

latest post: randylevy wrote: The directory for the archive log file is set to the directory of t...

DatabaseFactory.CreateDatabase problem in DAAB 6.0

first post: firedancer wrote: Hi, I migrated a simple application from DAAB 5.0 to 6.0 and afte...

latest post: randylevy wrote: The `SetDatabaseProviderFactory` method was introduced in Enterpris...

answered by: randylevy wrote: With Enterprise Library 6 to configure the blocks using XML configu...

How to implement Entlib in Class library

first post: spcool wrote: How to implement Entlib in Class library project and using this cla...

latest post: randylevy wrote: One important task to do before using the Logging Block is to boots...

Multiple Config Files

first post: spcool wrote: how to Select Entlib.config file at runtime i.e when logger.write m...

latest post: spcool wrote: thank you Randy..

Validation Block & MVC 2 ModelValidator Integration

first post: KShane wrote: In a discussion thread over in an MVC blog site of Brad Wilson, MS ...

latest post: slask wrote: This is still happening in EntLib Validation block 6.0 with WCF in...

Switch listeners and priority filters while runtime without application recycle

first post: sathishoncodeplex wrote: Hi , We are using Enterprise Library Logging Application Block 6.0 ...

latest post: randylevy wrote: There are a variety of ways you could go about it. Since you alrea...

DAAB contribution challenges with DatabaseSyntheticConfigSettings

first post: kriewall wrote: Greetings, I am working to extend the DAAB for use with Teradata....

latest post: randylevy wrote: Yes, you can zip up your projects and email or upload to a file sha...

log file has guids for filename

first post: rochelle wrote: Hello, Please help me understand why I am getting fileguids as th...

latest post: randylevy wrote: @sanjay10, thanks for providing steps to reproduce. It sounds like...

CreateParameterCopy CopyTo InvalidCastException

first post: kriewall wrote: Greetings, I am attempting to extend the Enterprise Library 6 DAAB...

latest post: randylevy wrote: [Data Access Application Block](http://daab.codeplex.com/) is open ...

Enterprise Library 6 logging use msmqdistributor service

first post: tonymause wrote: Hello, I had a success project before using EL5.0 to log to MSMQ, t...

latest post: randylevy wrote: For information on signing assemblies see [How to: Sign an Assembly...

entlib:in Configuration Manager doesnt find the object

first post: Giuseppe78 wrote: Hi every1, i'm quite newbie with entlib and i dont find what's wron...

latest post: randylevy wrote: This thread is 7 years old and references 3 versions back. Not a l...

MSMQ Trace Listener get Messages from queue

first post: spcool wrote: can i write queue messages into text file or log file? pls help m...

latest post: randylevy wrote: Yes, you can direct queued LogEntry's to any trace listener. It is...

Enterprise Library InvalidProgramException

first post: Trex450 wrote: Hi I am getting a InvalidProgramException Microsoft.Practices.Un...

latest post: Trex450 wrote: After lots of debug i found out that when i run a test project that...

Invalid TraceListenerData type in configuration 'listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging"'.

first post: psmukilan wrote: Hi, I am getting the below errir while logging the trace details...

latest post: randylevy wrote: I would guess that the Enterprise Library assemblies (e.g. Microso...

TraceOutputOptions doesn't work

first post: vincent_wu01 wrote: Hi All, The following is my configuration, as you can see, I set ...

latest post: vincent_wu01 wrote: I see, this is good way to override other format, thanks a lot, thi...

answered by: randylevy wrote: If you remove the formatter, "TextFormatter", then you should see t...

Windows Forms Integration for Validation Block not adding ValidationProvider to toolbox

first post: playtime222 wrote: I've tried dragging/dropping the DLL and loading from the dialog bo...

latest post: playtime222 wrote: I didn't take it negatively - as clear as possible is the way to go :D

Is there a Configuration Application Block?

first post: smallmj wrote: Hi I am after some guidance on Configuration and wondered if the...

latest post: randylevy wrote: The answer is that there is no out of the box configuration applica...

Enterprise Library

first post: IshBandhu wrote: I am using enterprise library, I creates custom listener and custom...

latest post: randylevy wrote: It's difficult to say what is happening from the code snippet. Can...

Error adding multiple entries to an Enterprise Library 5 container

first post: db101 wrote: I am trying to register multiple database in an Enterprise Library ...

latest post: db101 wrote: Thank you Randy for clearing up my misunderstanding, that worked a ...

answered by: randylevy wrote: You can only add an application block to the ConfigurationSourceBui...

Enterprise Library Validation - If NOT NULL validation failed then should not check other validations

first post: amitm wrote: Validation - If NOT NULL validation failed then should not check ot...

latest post: amitm wrote: Thanks Randy... this is what which I was looking for. Thanks for al...

answered by: randylevy wrote: I think you want to use XML configuration. The validation should r...

Help: How to log exception to the same file?

first post: LeonM2 wrote: Hi, I am using EntLib 3.1 and I have a very simple configuratio...

latest post: sbattagl wrote: Never mind. My bad. I am trying to call the .Dispose method of the ...

Customize Enterprise application library

first post: dhanlak wrote: Hi, I am using enterprise library 6.0 in my project. I download th...

latest post: dhanlak wrote: Hi, Actually i signed the entire projects (including the test proj...

EntLib 6 suggests using Programmatic configuration but does this not prevent changes without recompiling?

first post: kihonkai wrote: Just a little background first, I've known of the Enterprise Librar...

latest post: wiill wrote: Thank you for your feedback. I read a bit too fast, it is clearly ...

Issue with Custom Trace listener in MsmqDistributor.exe in Entlib 5.0

first post: SivasankarS wrote: Hi, I am facing the same issue here, could not find a solution y...

latest post: SivasankarS wrote: Quick update. I was able to resolve the issue by building the ente...

HOL Validation Ex. 11 (EntLib6)

first post: jazzyhacker wrote: Hi, currently I'm having a problem completing Exercise 11 of Valida...

latest post: jazzyhacker wrote: **randylevy wrote:** > That's very strange; SSNValidatorData is an ...

answered by: randylevy wrote: There is another issue with the Lab: the default constructor for `...

Enterprise Library Database Connection Close

first post: tssubin wrote: We are using Microsoft Enterprise library to access the sql server ...

latest post: randylevy wrote: ExecuteScalar opens a connection and performs the operation(s) and ...

How to return Cursor and another parameter from Oracle Procedure.

first post: zerazobz wrote: For this example I use a simple Procedure: create or replace PROCE...

latest post: randylevy wrote: Accessors do not support output parameters. If you want to use out...

Caching Application Block error: "Destination array is not long enough to copy all the items in the collection. Check array index and length"

first post: merasmus wrote: I'm getting an exception thrown when trying to copy the keys from a...

latest post: randylevy wrote: What version of the Caching Block are you using? I don't see a pro...

Validation block in Linq to SQL

first post: PureDeal wrote: I have a Linq to SQL project. I create a DBML file and drag some ta...

latest post: randylevy wrote: You could use a configuration file to create validations for the ge...

Getting "unable to load one or more of the requested types" when starting semantic logging out-of-process service

first post: smchristensen wrote: I have a new 64-bit Windows Server 2012 install and downloaded vers...

latest post: randylevy wrote: Glad to hear that you resolved the issue. FYI: there is change pub...

answered by: smchristensen wrote: Thank you Randy for your help! I ran through your instructions and...

MSMQ Distributor issues with 2010 version

first post: pwalia wrote: Hi, I am using Enterprise Library 5.0 to log exceptions in MSMQ li...

latest post: SivasankarS wrote: Hi, I am facing the same issue here, could not find a solution yet...

Log File Creation Problem

first post: dileepsank wrote: Hi All, In My project , am using Enterprise library 3.0 for loggi...

latest post: dileepsank wrote: Hi, This is my webconfig File and its not resoved yet. pls help and...

Shared ConfigSection with 'enterpriseLibrary.ConfigurationSource'

first post: zro wrote: Hi, I'm using entLib 6.0 for the shared config only. I have now tw...

latest post: randylevy wrote: Unfortunately, the answers to your questions are: no. Enterprise L...

License

first post: lkantor wrote: Hi, The msdn (http://msdn.microsoft.com/en-US/library/dn169621.a...

latest post: RichaParkar wrote: Thanks for your response Randy.

answered by: randylevy wrote: I believe that both are correct. Enterprise Library 6 was released...

Bug in SprocAccessor.Execute Enterprise Library 6, DAAB.

first post: Michael_Lopez wrote: Hasn't anyone else run into this? The DbCommand object is disposed ...

latest post: randylevy wrote: See [How to Contribute Code](http://entlib.codeplex.com/wikipage?ti...

DatabaseProviderFactory: create database specifying the connection string

first post: pacojones wrote: I'm using Enterprise Library's Data Access Application Block to acc...

latest post: pacojones wrote: Hello Randy, thank you for your help, creating a new instance of Sq...

Can pass objects to the event writer method

first post: himpatel wrote: Here the method takes Guid as a parameter. Other supported paramete...

latest post: sbattagl wrote: This is awesome! Just what I was looking for. I was banging my head...

n-tier structure and how to use SqlDatabase

first post: DohByDesign wrote: Hi Am about to update to v6 of the library and have some question...

latest post: DohByDesign wrote: Hi Randy and thanks for your input. I have moved the DatabaseProv...

Enterprise Library in a Console Application

first post: andyedwards12 wrote: Hi, We have recently upgraded from EL v4 to v6. We have a Website...

latest post: andyedwards12 wrote: Great, thanks for the suggestions - very useful. Andrew

Any way to Modify the Payload when using SQL Sink out-of-process

first post: pbrinkleyrogers wrote: Hi, I'm using the SQL Sink, out-of-process (with the stock semant...

Design problems in using semantic logging in a real-world application

first post: hbelitz wrote: I started to play around with the semantic logging application blog...

latest post: randylevy wrote: You __can__ create one EventSource for your application but if you ...

Add Symmetric Algorithm Provider Error

first post: emasone wrote: Server Info Windows Server 2008 R2 Standard 64-bit OS Intel Xeon...

latest post: randylevy wrote: Thanks for posting your solution; hopefully it helps someone else. ...

v6 DLLs

first post: tutor wrote: Hi Folks I'm getting this error trying to get the aExpense soluti...

latest post: sw_lasse wrote: Just want to add: I have had the same issue and used the approach m...

Does EL Logging have hard dependency to Newtonsoft.Json.dll?

first post: allan49 wrote: Hello, Our application uses EL Logging application block. I think...

latest post: randylevy wrote: Microsoft.Practices.EnterpriseLibrary.Logging.dll has a reference t...

The database type "Microsoft.Practices.EnterpriseLibrary.Data.GenericDatabase" does not support automatic parameter discovery. Use an IParameterMapper instead.

first post: ikamyar wrote: I had this code working and connecting to a sql server DB with the ...

latest post: randylevy wrote: Can you post the complete configuration you are using? Are you usi...

MSMQ Distributor config best practices

first post: whatislife wrote: Hi, I have used enterprise library distribution service for loggi...

latest post: randylevy wrote: Good to hear -- I'm glad you tracked down the issue! ~~ Randy Levy...

SLAB on C++

first post: neriuy wrote: Hello, I would just like to confirm if Semantic Logging Applicat...

latest post: randylevy wrote: The issue seems to be with Newtonsoft: > Could not install package...

Enterprise Library plans for vNext?

first post: kenbrubaker wrote: EntLib is designed for server-side .NET. vNext is the future of ser...

latest post: bennage wrote: Hi, We're in the process of establishing a more detailed roadmap, ...

answered by: bennage wrote: Hi, We're in the process of establishing a more detailed roadmap, ...

EventSource.IsEnabled(EventLevel,EventKeywords) always returns true.

first post: mralberts wrote: I am using SLAB out of process and I am trying to test to see if a ...

latest post: randylevy wrote: I'm not seeing the same behavior as you describe. Can you outline ...

how to log exception to flat file when the database exception logging fails

first post: bsurendiran82 wrote: Hi All, Below is the scenario.. Currently we are developing WCF...

latest post: randylevy wrote: Enterprise Library has the concept of error sources. This is a lis...

IsolatedStorageTraceListenerData: The repository is not available

first post: Trinition wrote: Our Silverlight client is logging using the IsolatedStorageTraceLi...

latest post: randylevy wrote: Originally, I did some analysis and found a situation that may caus...

Enterprise Logging automatically runs sql query which sets NLS SESSION PARAMETERS

first post: Varadhan wrote: Hello, Hope you’re doing good !! We’re using logging block of ...

latest post: randylevy wrote: The posted SQL does not appear like it is being sent by Enterprise ...

EntLib 6.0 NuGet package dependencies

first post: iamdudley wrote: Hi, I'm using EntLib 6.0 Transient Fault Handling Block (Topaz) a...

latest post: randylevy wrote: As the name indicates the [Enterprise Library - Transient Fault Han...

PDB files for EntLib 6.0

first post: iamdudley wrote: Hi, I'm trying to debug into the Enterprise Library Transient Fau...

Log extended data for inner exceptions

first post: miksh wrote: In EntLib 5 I was always missing a possibility to log the extended ...

Logger.SetLogWriter(new LogWriterFactory().Create()) and empty parameters

first post: daveshapiro wrote: Hi, We have recently upgraded from EntLib 5 to EntLib 6. Our lis...

latest post: daveshapiro wrote: Thanks very much for looking into this and logging the issue, Randy.

Update to Wasabi for latest OS version issue

first post: markmacumber wrote: Hi, Recently, I received an email from the Azure team stating tha...

Will Enterprise Library 4.1 run in .NET 4.0?

first post: fidlerro wrote: I am moving from Visual Studio 2008 .NET 3.5 to Visual Studio .NET ...

latest post: avifarah wrote: I am facing with that same issue. How did you resolve it?

Fault Contract Exception Handler

first post: shekharsh wrote: I am trying to use the Fault Contract Exception Handler in Enterpri...

latest post: randylevy wrote: For exception shielding you would usually not "manually" catch exce...

Probles with Activity Sampling in Semmantic Logging

first post: diegolesli wrote: Hello, I am trying to both understand and make it work the exampl...

Need help with exception replacing/logging

first post: ms31421 wrote: Hey I'm new to the Ent. Lib and am struggling to get something to w...

latest post: randylevy wrote: I'm not sure I follow. Can you expand on the specific issue you ar...

Several problems with setting up a Range Validator (EL 5.0)

first post: spazi wrote: Hello fellas, I want to provide my app with RangeValidator to chec...

latest post: spazi wrote: Wow, I'm very glad to get the answer so quickly - I'm paying homage...

answered by: randylevy wrote: You will need to explicitly supply the type: ``` private d...

Unable to install Enterprise Library on Windows 7 64-bit Computer

first post: shekharsh wrote: I played with Enterprise Library 6.0 Logging and Exception Handling...

latest post: randylevy wrote: Check the NuGet bootstrapper located at .nuget\NuGet.exe (i.e. c:\...

Need Advice on Enterprise Library 6.0 Deployment

first post: shekharsh wrote: Hi All, We have been using Enterprise Library since its version 2...

latest post: randylevy wrote: You can continue using the approach you describe. Deploying in the...

WCF : Unable to have dynamic value for the Logging Application Blocks' Log File name

first post: cardoalex wrote: I have integrated the Logging Application Block with the WCF applic...

latest post: randylevy wrote: Yes, the code will keep a LogWriter per ID and append to any existi...

Session Audit

first post: davidnguy wrote: Hello, How can one expand the current logging block to capture ba...

latest post: randylevy wrote: The Logging Application Block is general purpose and lets you log a...

How Logger.Write() writes the exception object?

first post: lax4u wrote: the overloaded Logger.Write() method takes object as a parameter. I...

latest post: randylevy wrote: Logger.Write(object) will call ToString() on any object passed in -...