PC Review


Reply
Thread Tools Rate Thread

Re: custom logging sink for logging application block

 
 
Ollie Riches
Guest
Posts: n/a
 
      1st Sep 2005
found the problem was that my class derived from 'SinkData' was returning
'NULL' for the property 'TypeName'

Ollie


"Ollie Riches" <(E-Mail Removed)> wrote in message
news:eq$(E-Mail Removed)...
>I have written a custom logging sink for the enterprise library logging
>application block (June 2005). I have been able to configure it as expected
>from the UI config tool (EntLibConfig.exe).
>
> I have built a console application to test it with and I am getting the
> following error message write to the default trace log when I attempt to
> use my custom logging sink.
>
> 'An error occurred while the Distributor was processing the message.
> Please check your configuration files for errors or typos. Verify that
> your sinks are reachable (queues exist, permissions are set, database
> exists, etc...)'
>
> This might be security related can anyone give me the answer on how to fix
> this?
>
> I can see from VS that the module for my custom logging sink is loaded at
> runtime but I am unable to break into the assembly which indicates to me
> that any of the 'LogSink' overridden methods are not being called.
>
> Cheers
>
> Ollie Riches
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically change the Flat File Sink file name in the MS Logging Application Block james.dixon@dewr.gov.au Microsoft C# .NET 0 28th Jun 2006 09:43 AM
logging sink for logging application block chawes40@yahoo.com Microsoft C# .NET 0 27th Jan 2006 07:22 PM
logging sink for logging application block chawes40@yahoo.com Microsoft C# .NET 0 27th Jan 2006 07:22 PM
Enterprise Library Logging Block - Using an Xml Sink? =?Utf-8?B?TWFyayBGbGV0Y2hlcg==?= Microsoft Dot NET Framework 1 26th Jun 2005 07:18 AM
Does any one use the Logging application block? D Microsoft C# .NET 1 31st May 2005 03:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:38 PM.