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: yevglerner wrote: Reason I'm using Microsoft.Diagnostics.Tracing.EventSource is that ...

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

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 -...

Move log to archive

first post: fantomizer wrote: Hi, I want to move log file from log folder to archive folder whe...

latest post: randylevy wrote: You can either use the ExtendedProperties or a custom LogEntry. To...

Microsoft.Practices.ServiceLocation.ActivationException was unhandled by user code

first post: KlbPadilla wrote: I have this problem: An exception of type 'Microsoft.Practices.Se...

latest post: randylevy wrote: Somewhere in the code it is trying to use the exception policy name...

Error With Caching using WCF

first post: DaveMorgan38 wrote: Hi,I have a WCF service that runs fine and produces the expected re...

latest post: onkar_tendulkar wrote: Hi David, Can you please share what you had to do to fix the probl...

How to buffer in SQL Listener?

first post: lax4u wrote: Our existing application is using Enterprise Library Logging block ...

latest post: randylevy wrote: Out of the box in Enterprise Library 5 there is no way to buffer me...

answered by: randylevy wrote: Out of the box in Enterprise Library 5 there is no way to buffer me...

Changing TimeStamp in Azure Sink for SLAB

first post: BhavikHathi wrote: When I use AzureSinkSubscription to log my events in SLAB, how can ...

latest post: BhavikHathi wrote: It worked as expected. Thanks Randy !

answered by: randylevy wrote: The EventDate is stored as a DateTime type in the Azure table. You...

EntLib6 - EntLibConfig - Custom Validator not in menu

first post: cdpena wrote: Hi, I am attempting to add a custom validator to the list of vali...

latest post: cdpena wrote: Randy, Thank you for the quick response. I downloaded the EntLi...

Error being thrown when using Exception Handling

first post: andyedwards12 wrote: Hi, i'm getting the following error: The current build operation ...

latest post: andyedwards12 wrote: I tried removing and re-referencing dll's to my different projects,...

answered by: andyedwards12 wrote: I tried removing and re-referencing dll's to my different projects,...

Exception handler issue when upgrading from 4.1 to 6

first post: andyedwards12 wrote: Hi, I am getting this error message after upgrading from Enterprise...

latest post: andyedwards12 wrote: That worked perfectly! Thanks for you help.

answered by: randylevy wrote: > We use the "ExceptionPolicy.HandleException(...)" line in hundred...

How to enable filters for listener in out-of-process

first post: lax4u wrote: sorry if i'm re-posting the question here again As per my this po...

latest post: randylevy wrote: Actually, in the out of process scenario an ETW Session is created ...

SqlDatabaseSink doesnt log into Logging DB

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

latest post: randylevy wrote: If you are debugging and stopped at a break point then the other th...

Error while running SemanticLogging-svc file

first post: lax4u wrote: i have downloaded EnterpriseLibrary.SemanticLogging.Service.1.1.140...

latest post: lax4u wrote: i have downloaded 1.1.1403.2 which was released today and now its w...

answered by: lax4u wrote: i have downloaded 1.1.1403.2 which was released today and now its w...

RollingFlatFileTraceListener timestamp

first post: Shubhada wrote: Hi, I am using RollingFlatFileTraceListener successfully in my p...

latest post: randylevy wrote: Enterprise Library does not support that behavior. You could creat...

Question about semantic logging

first post: lax4u wrote: 1> In out-of-Process approach, the EventSource logs the messages di...

latest post: lax4u wrote: For the in-process approach, events are first sent to ETW and then...

Enterprise Library 6 - no WASABi

first post: bojanbojan wrote: Greetings, Is there a reason behind not having WASABi Autoscaling...

latest post: bojanbojan wrote: Thanks for response :) Regards

ResolutionFailedException: Resolution of the dependency failed... The type Database cannot be constructed

first post: PNKonstant wrote: Hello, Thank you for reviewing my question. First, I am a novice...

latest post: randylevy wrote: It could be that the DbProviderFactories are not configured on the ...

SQL WriteLog Severity Level

first post: davidnguy wrote: I have some issue getting my exception entry logged with the correc...

latest post: davidnguy wrote: That was it! Thanks Randy. Your tips on not configuring the DB on...

How to configure Semantic Logging

first post: pljluca wrote: Hi all, I want to configure Semantic Logging by app.config but I ...

latest post: randylevy wrote: This blog entry talks a bit about it: http://blog.urth.org/2011/01/...

Writing Flat File Trace Listener with a LogWriter

first post: daemons88 wrote: Hi good day! My problem is with LogWriter when i want write repea...

latest post: daemons88 wrote: Ok thanks for all

answered by: randylevy wrote: The issue is here: ``` c# public UserController(IPersonaBLL pe...

Enterprise Library 6.0 - Rolling Log File configuration in 2 configuration files

first post: dfimble wrote: I have a suite of applications which all use the enteriprise loggin...

latest post: randylevy wrote: You cannot use more than one configSource for the same section (as ...

Decoupling providers from configuration classes

first post: julealgon wrote: Hey there. I created my own "application block" some time ago, us...

How do you do Entlib?

first post: BishMan wrote: <font face="Arial" size="2"><br> <a href="http://balikev.com/anasa...

EL5 Logger ConnectionString

first post: davidnguy wrote: Is there a way to provide the Logger component a connectionstring a...

latest post: davidnguy wrote: It was a an issue in my ConnectionString. I missed the Integrated ...

answered by: davidnguy wrote: It was a an issue in my ConnectionString. I missed the Integrated ...

Ent Lib 5.0 and ODP.NET not managed, EntLib Contrib, ASP.NET 4.5 (.NET 4.5) and x64

first post: kiquenet wrote: I have this issue, I'll try explain it I use Windows Server 20...

Activation error occured while trying to get instance of type OracleDatabase, key "" - Activation Exception

first post: dshah41 wrote: Hello All, We are using Enterprise Library building block 5.0 to ...

latest post: kiquenet wrote: Is it possible use Ent Lib 5.0 and ODP.NET not managed (Oracle.Data...

answered by: dshah41 wrote: Hi Randy, Thanks for your prompt reply. I could fix the issue. I...

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: Yes, the references look good. The message occurs because at runti...

When using LogWriter.Configure() is there a way to save original configuration and restore it?

first post: DavidHerbst wrote: I'm successfully using LogWriter.Configure() to add trace listeners...

latest post: randylevy wrote: Not sure about your logger implementation. I'm going to assume tha...

Prism & Enterprise Library 6

first post: blackbelt wrote: Hi, I was wondering what the story is between Prism and EntLib 6....

ASP.NET semantic logging to database with user impersonation uses app pool identity instead

first post: steverb38 wrote: Hi, I am using the semantic logging block (in-process) in an ASP....

latest post: steverb38 wrote: Hi Randy, Many thanks for the reply. That all makes perfect sense....

Issue while routing log messages to MSMQ

first post: s_dayakara wrote: We are facing issue in routing the log messages to MSMQ in test ser...

latest post: randylevy wrote: Have you enabled the errors special source in the logging configura...

Yet another - rolling file logging not rolling (using Fluent API)

first post: chanra wrote: I am using the Fluent API to configure my rolling flat file listene...

latest post: randylevy wrote: Could you be getting a System.IO.IOException on `File.ReadAllText(l...

Is DateTime allowed as a parameter?

first post: matthewpomar wrote: I have this code: if (IsEnabled()) WriteEvent(17, sessionId, person...

latest post: matthewpomar wrote: Thanks Randy! I looked for this information, but couldn't find it....

answered by: randylevy wrote: I wrote about the valid types in [this thread](http://entlib.codepl...

Using Unity with Data App Block

first post: gravy wrote: Hi. I have started using Unity (DI) in my application. This also ...

latest post: randylevy wrote: The Database class is thread-safe. It doesn't maintain any instanc...

answered by: randylevy wrote: Yes, typically you would use constructor injection and inject the D...

StringLengthValidator NotNullValidator and ValidatorComposition not owrking

first post: manuellt wrote: Is it possible? something very very essensial, don't works well, i'...

latest post: randylevy wrote: What behavior are you looking to see and what are you seeing? It l...