<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>patterns &amp; practices: Enterprise Library Contrib</title><link>http://entlibcontrib.codeplex.com/project/feeds/rss</link><description>Enterprise Library Contrib is a community developed library of extensions to the patterns &amp;#38; practices Enterprise Library. </description><item><title>New Post: Enterprise Library 5.0 event Logging not logging to remote computer </title><link>http://entlibcontrib.codeplex.com/discussions/443939</link><description>&lt;div style="line-height: normal;"&gt;I got it is working for windows 7 machine we need to do is start the Remote Registry service.but when i try to log the exception from windows 7 machine to windows server 2008 r2 event Logging not working.&lt;br /&gt;
&lt;/div&gt;</description><author>kirankumarkanchis</author><pubDate>Thu, 16 May 2013 18:35:46 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library 5.0 event Logging not logging to remote computer  20130516063546P</guid></item><item><title>New Post: Enterprise Library 5.0 event Logging not logging to remote computer </title><link>http://entlibcontrib.codeplex.com/discussions/443939</link><description>&lt;div style="line-height: normal;"&gt;I got it is working for windows 7 machine we need to do is start the Remote Registry service.but when i try to log the exception from windows 7 machine to windows server 2008 r2 event Logging not working.&lt;br /&gt;
&lt;/div&gt;</description><author>kirankumarkanchis</author><pubDate>Thu, 16 May 2013 18:35:46 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library 5.0 event Logging not logging to remote computer  20130516063546P</guid></item><item><title>New Post: Enterprise Library 5.0 event Logging not logging to remote computer </title><link>http://entlibcontrib.codeplex.com/discussions/443939</link><description>&lt;div style="line-height: normal;"&gt;I got it is working for windows 7 machine we need to do is start the Remote Registry service.but when i try to log the exception from windows 7 machine to windows server 2008 r2 event Logging not working.&lt;br /&gt;
&lt;/div&gt;</description><author>kirankumarkanchis</author><pubDate>Thu, 16 May 2013 18:35:46 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library 5.0 event Logging not logging to remote computer  20130516063546P</guid></item><item><title>New Post: Enterprise Library 5.0 event Logging not logging to remote computer </title><link>http://entlibcontrib.codeplex.com/discussions/443939</link><description>&lt;div style="line-height: normal;"&gt;We are using Enterprise Library Exception Handling Application Block to log exceptions to the Event Log. This works well when I am logging the exception on the local machine. When I try to create an event log entry on a remote computer (which is the realtime scenario, a common event log for all clients), the log entry is not made. I do not see any exception while logging either.&lt;br /&gt;
&lt;br /&gt;
I have even tried to add the application user as an administrator to the remote machine where the Event log entries have to be made and also added to Event Log readers group. That does not work too.&lt;br /&gt;
&lt;br /&gt;
A sample for the same is as below.&lt;br /&gt;
&lt;br /&gt;
App.config:&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;configSections&amp;gt;
    &amp;lt;section name=&amp;quot;loggingConfiguration&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; requirePermission=&amp;quot;true&amp;quot; /&amp;gt;
    &amp;lt;section name=&amp;quot;exceptionHandling&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; requirePermission=&amp;quot;true&amp;quot; /&amp;gt;
&amp;lt;/configSections&amp;gt;
&amp;lt;loggingConfiguration name=&amp;quot;&amp;quot; tracingEnabled=&amp;quot;true&amp;quot; defaultCategory=&amp;quot;General&amp;quot;&amp;gt;
    &amp;lt;listeners&amp;gt;
        &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            listenerDataType=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            source=&amp;quot;Kiran&amp;quot; formatter=&amp;quot;Text Formatter&amp;quot; log=&amp;quot;Application&amp;quot;
            machineName=&amp;quot;B1964&amp;quot; traceOutputOptions=&amp;quot;LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack&amp;quot; /&amp;gt;
    &amp;lt;/listeners&amp;gt;
    &amp;lt;formatters&amp;gt;
        &amp;lt;add type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            template=&amp;quot;Timestamp: {timestamp}{newline}&amp;amp;#xA;Message: {message}{newline}&amp;amp;#xA;Category: {category}{newline}&amp;amp;#xA;Priority: {priority}{newline}&amp;amp;#xA;EventId: {eventid}{newline}&amp;amp;#xA;Severity: {severity}{newline}&amp;amp;#xA;Title:{title}{newline}&amp;amp;#xA;Machine: {B91694}{newline}&amp;amp;#xA;App Domain: {localAppDomain}{newline}&amp;amp;#xA;ProcessId: {localProcessId}{newline}&amp;amp;#xA;Process Name: {localProcessName}{newline}&amp;amp;#xA;Thread Name: {threadName}{newline}&amp;amp;#xA;Win32 ThreadId:{win32ThreadId}{newline}&amp;amp;#xA;Extended Properties: {dictionary({key} - {value}{newline})}&amp;quot;
            name=&amp;quot;Text Formatter&amp;quot; /&amp;gt;
    &amp;lt;/formatters&amp;gt;
    &amp;lt;categorySources&amp;gt;
        &amp;lt;add switchValue=&amp;quot;All&amp;quot; name=&amp;quot;General&amp;quot;&amp;gt;
            &amp;lt;listeners&amp;gt;
                &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; /&amp;gt;
            &amp;lt;/listeners&amp;gt;
        &amp;lt;/add&amp;gt;
    &amp;lt;/categorySources&amp;gt;
    &amp;lt;specialSources&amp;gt;
        &amp;lt;allEvents switchValue=&amp;quot;All&amp;quot; name=&amp;quot;All Events&amp;quot; /&amp;gt;
        &amp;lt;notProcessed switchValue=&amp;quot;All&amp;quot; name=&amp;quot;Unprocessed Category&amp;quot; /&amp;gt;
        &amp;lt;errors switchValue=&amp;quot;All&amp;quot; name=&amp;quot;Logging Errors &amp;amp;amp; Warnings&amp;quot;&amp;gt;
            &amp;lt;listeners&amp;gt;
                &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; /&amp;gt;
            &amp;lt;/listeners&amp;gt;
        &amp;lt;/errors&amp;gt;
    &amp;lt;/specialSources&amp;gt;
&amp;lt;/loggingConfiguration&amp;gt;
&amp;lt;exceptionHandling&amp;gt;
    &amp;lt;exceptionPolicies&amp;gt;
        &amp;lt;add name=&amp;quot;Policy&amp;quot;&amp;gt;
            &amp;lt;exceptionTypes&amp;gt;
                &amp;lt;add name=&amp;quot;All Exceptions&amp;quot; type=&amp;quot;System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;quot;
                    postHandlingAction=&amp;quot;None&amp;quot;&amp;gt;
                    &amp;lt;exceptionHandlers&amp;gt;
                        &amp;lt;add name=&amp;quot;Logging Exception Handler&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
                            logCategory=&amp;quot;General&amp;quot; eventId=&amp;quot;100&amp;quot; severity=&amp;quot;Error&amp;quot; title=&amp;quot;Enterprise Library Exception Handling&amp;quot;
                            formatterType=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling&amp;quot;
                            priority=&amp;quot;0&amp;quot; /&amp;gt;
                    &amp;lt;/exceptionHandlers&amp;gt;
                &amp;lt;/add&amp;gt;
            &amp;lt;/exceptionTypes&amp;gt;
        &amp;lt;/add&amp;gt;
    &amp;lt;/exceptionPolicies&amp;gt;
&amp;lt;/exceptionHandling&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Program.cs file:&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling;&lt;br /&gt;
using System.Diagnostics;&lt;br /&gt;
&lt;br /&gt;
namespace EnterpriseLibraryRemoteLogging&lt;br /&gt;
{&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;class Program
{
    static void Main(string[] args)
    {
        try
        {

            throw new Exception(&amp;quot;Remote Logging&amp;quot;);
        }
        catch(Exception ex)
        {
            try
            {

                ExceptionPolicy.HandleException(ex, &amp;quot;Policy&amp;quot;);
            }
            catch (Exception exception)
            {

            }
            }
        }
}&lt;/code&gt;&lt;/pre&gt;

}&lt;br /&gt;
&lt;/div&gt;</description><author>kirankumarkanchis</author><pubDate>Thu, 16 May 2013 17:11:36 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library 5.0 event Logging not logging to remote computer  20130516051136P</guid></item><item><title>New Post: Enterprise Library 5.0 event Logging not logging to remote computer </title><link>http://entlibcontrib.codeplex.com/discussions/443939</link><description>&lt;div style="line-height: normal;"&gt;We are using Enterprise Library Exception Handling Application Block to log exceptions to the Event Log. This works well when I am logging the exception on the local machine. When I try to create an event log entry on a remote computer (which is the realtime scenario, a common event log for all clients), the log entry is not made. I do not see any exception while logging either.&lt;br /&gt;
&lt;br /&gt;
I have even tried to add the application user as an administrator to the remote machine where the Event log entries have to be made and also added to Event Log readers group. That does not work too.&lt;br /&gt;
&lt;br /&gt;
A sample for the same is as below.&lt;br /&gt;
&lt;br /&gt;
App.config:&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;configSections&amp;gt;
    &amp;lt;section name=&amp;quot;loggingConfiguration&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; requirePermission=&amp;quot;true&amp;quot; /&amp;gt;
    &amp;lt;section name=&amp;quot;exceptionHandling&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; requirePermission=&amp;quot;true&amp;quot; /&amp;gt;
&amp;lt;/configSections&amp;gt;
&amp;lt;loggingConfiguration name=&amp;quot;&amp;quot; tracingEnabled=&amp;quot;true&amp;quot; defaultCategory=&amp;quot;General&amp;quot;&amp;gt;
    &amp;lt;listeners&amp;gt;
        &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            listenerDataType=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            source=&amp;quot;Kiran&amp;quot; formatter=&amp;quot;Text Formatter&amp;quot; log=&amp;quot;Application&amp;quot;
            machineName=&amp;quot;B1964&amp;quot; traceOutputOptions=&amp;quot;LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack&amp;quot; /&amp;gt;
    &amp;lt;/listeners&amp;gt;
    &amp;lt;formatters&amp;gt;
        &amp;lt;add type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            template=&amp;quot;Timestamp: {timestamp}{newline}&amp;amp;#xA;Message: {message}{newline}&amp;amp;#xA;Category: {category}{newline}&amp;amp;#xA;Priority: {priority}{newline}&amp;amp;#xA;EventId: {eventid}{newline}&amp;amp;#xA;Severity: {severity}{newline}&amp;amp;#xA;Title:{title}{newline}&amp;amp;#xA;Machine: {B91694}{newline}&amp;amp;#xA;App Domain: {localAppDomain}{newline}&amp;amp;#xA;ProcessId: {localProcessId}{newline}&amp;amp;#xA;Process Name: {localProcessName}{newline}&amp;amp;#xA;Thread Name: {threadName}{newline}&amp;amp;#xA;Win32 ThreadId:{win32ThreadId}{newline}&amp;amp;#xA;Extended Properties: {dictionary({key} - {value}{newline})}&amp;quot;
            name=&amp;quot;Text Formatter&amp;quot; /&amp;gt;
    &amp;lt;/formatters&amp;gt;
    &amp;lt;categorySources&amp;gt;
        &amp;lt;add switchValue=&amp;quot;All&amp;quot; name=&amp;quot;General&amp;quot;&amp;gt;
            &amp;lt;listeners&amp;gt;
                &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; /&amp;gt;
            &amp;lt;/listeners&amp;gt;
        &amp;lt;/add&amp;gt;
    &amp;lt;/categorySources&amp;gt;
    &amp;lt;specialSources&amp;gt;
        &amp;lt;allEvents switchValue=&amp;quot;All&amp;quot; name=&amp;quot;All Events&amp;quot; /&amp;gt;
        &amp;lt;notProcessed switchValue=&amp;quot;All&amp;quot; name=&amp;quot;Unprocessed Category&amp;quot; /&amp;gt;
        &amp;lt;errors switchValue=&amp;quot;All&amp;quot; name=&amp;quot;Logging Errors &amp;amp;amp; Warnings&amp;quot;&amp;gt;
            &amp;lt;listeners&amp;gt;
                &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; /&amp;gt;
            &amp;lt;/listeners&amp;gt;
        &amp;lt;/errors&amp;gt;
    &amp;lt;/specialSources&amp;gt;
&amp;lt;/loggingConfiguration&amp;gt;
&amp;lt;exceptionHandling&amp;gt;
    &amp;lt;exceptionPolicies&amp;gt;
        &amp;lt;add name=&amp;quot;Policy&amp;quot;&amp;gt;
            &amp;lt;exceptionTypes&amp;gt;
                &amp;lt;add name=&amp;quot;All Exceptions&amp;quot; type=&amp;quot;System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;quot;
                    postHandlingAction=&amp;quot;None&amp;quot;&amp;gt;
                    &amp;lt;exceptionHandlers&amp;gt;
                        &amp;lt;add name=&amp;quot;Logging Exception Handler&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
                            logCategory=&amp;quot;General&amp;quot; eventId=&amp;quot;100&amp;quot; severity=&amp;quot;Error&amp;quot; title=&amp;quot;Enterprise Library Exception Handling&amp;quot;
                            formatterType=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling&amp;quot;
                            priority=&amp;quot;0&amp;quot; /&amp;gt;
                    &amp;lt;/exceptionHandlers&amp;gt;
                &amp;lt;/add&amp;gt;
            &amp;lt;/exceptionTypes&amp;gt;
        &amp;lt;/add&amp;gt;
    &amp;lt;/exceptionPolicies&amp;gt;
&amp;lt;/exceptionHandling&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Program.cs file:&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling;&lt;br /&gt;
using System.Diagnostics;&lt;br /&gt;
&lt;br /&gt;
namespace EnterpriseLibraryRemoteLogging&lt;br /&gt;
{&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;class Program
{
    static void Main(string[] args)
    {
        try
        {

            throw new Exception(&amp;quot;Remote Logging&amp;quot;);
        }
        catch(Exception ex)
        {
            try
            {

                ExceptionPolicy.HandleException(ex, &amp;quot;Policy&amp;quot;);
            }
            catch (Exception exception)
            {

            }
            }
        }
}&lt;/code&gt;&lt;/pre&gt;

}&lt;br /&gt;
&lt;/div&gt;</description><author>kirankumarkanchis</author><pubDate>Thu, 16 May 2013 17:11:36 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library 5.0 event Logging not logging to remote computer  20130516051136P</guid></item><item><title>New Post: Enterprise Library 5.0 event Logging not logging to remote computer </title><link>http://entlibcontrib.codeplex.com/discussions/443939</link><description>&lt;div style="line-height: normal;"&gt;We are using Enterprise Library Exception Handling Application Block to log exceptions to the Event Log. This works well when I am logging the exception on the local machine. When I try to create an event log entry on a remote computer (which is the realtime scenario, a common event log for all clients), the log entry is not made. I do not see any exception while logging either.&lt;br /&gt;
&lt;br /&gt;
I have even tried to add the application user as an administrator to the remote machine where the Event log entries have to be made and also added to Event Log readers group. That does not work too.&lt;br /&gt;
&lt;br /&gt;
A sample for the same is as below.&lt;br /&gt;
&lt;br /&gt;
App.config:&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;configSections&amp;gt;
    &amp;lt;section name=&amp;quot;loggingConfiguration&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; requirePermission=&amp;quot;true&amp;quot; /&amp;gt;
    &amp;lt;section name=&amp;quot;exceptionHandling&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; requirePermission=&amp;quot;true&amp;quot; /&amp;gt;
&amp;lt;/configSections&amp;gt;
&amp;lt;loggingConfiguration name=&amp;quot;&amp;quot; tracingEnabled=&amp;quot;true&amp;quot; defaultCategory=&amp;quot;General&amp;quot;&amp;gt;
    &amp;lt;listeners&amp;gt;
        &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            listenerDataType=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            source=&amp;quot;Kiran&amp;quot; formatter=&amp;quot;Text Formatter&amp;quot; log=&amp;quot;Application&amp;quot;
            machineName=&amp;quot;B1964&amp;quot; traceOutputOptions=&amp;quot;LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack&amp;quot; /&amp;gt;
    &amp;lt;/listeners&amp;gt;
    &amp;lt;formatters&amp;gt;
        &amp;lt;add type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
            template=&amp;quot;Timestamp: {timestamp}{newline}&amp;amp;#xA;Message: {message}{newline}&amp;amp;#xA;Category: {category}{newline}&amp;amp;#xA;Priority: {priority}{newline}&amp;amp;#xA;EventId: {eventid}{newline}&amp;amp;#xA;Severity: {severity}{newline}&amp;amp;#xA;Title:{title}{newline}&amp;amp;#xA;Machine: {B91694}{newline}&amp;amp;#xA;App Domain: {localAppDomain}{newline}&amp;amp;#xA;ProcessId: {localProcessId}{newline}&amp;amp;#xA;Process Name: {localProcessName}{newline}&amp;amp;#xA;Thread Name: {threadName}{newline}&amp;amp;#xA;Win32 ThreadId:{win32ThreadId}{newline}&amp;amp;#xA;Extended Properties: {dictionary({key} - {value}{newline})}&amp;quot;
            name=&amp;quot;Text Formatter&amp;quot; /&amp;gt;
    &amp;lt;/formatters&amp;gt;
    &amp;lt;categorySources&amp;gt;
        &amp;lt;add switchValue=&amp;quot;All&amp;quot; name=&amp;quot;General&amp;quot;&amp;gt;
            &amp;lt;listeners&amp;gt;
                &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; /&amp;gt;
            &amp;lt;/listeners&amp;gt;
        &amp;lt;/add&amp;gt;
    &amp;lt;/categorySources&amp;gt;
    &amp;lt;specialSources&amp;gt;
        &amp;lt;allEvents switchValue=&amp;quot;All&amp;quot; name=&amp;quot;All Events&amp;quot; /&amp;gt;
        &amp;lt;notProcessed switchValue=&amp;quot;All&amp;quot; name=&amp;quot;Unprocessed Category&amp;quot; /&amp;gt;
        &amp;lt;errors switchValue=&amp;quot;All&amp;quot; name=&amp;quot;Logging Errors &amp;amp;amp; Warnings&amp;quot;&amp;gt;
            &amp;lt;listeners&amp;gt;
                &amp;lt;add name=&amp;quot;Event Log Listener&amp;quot; /&amp;gt;
            &amp;lt;/listeners&amp;gt;
        &amp;lt;/errors&amp;gt;
    &amp;lt;/specialSources&amp;gt;
&amp;lt;/loggingConfiguration&amp;gt;
&amp;lt;exceptionHandling&amp;gt;
    &amp;lt;exceptionPolicies&amp;gt;
        &amp;lt;add name=&amp;quot;Policy&amp;quot;&amp;gt;
            &amp;lt;exceptionTypes&amp;gt;
                &amp;lt;add name=&amp;quot;All Exceptions&amp;quot; type=&amp;quot;System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;quot;
                    postHandlingAction=&amp;quot;None&amp;quot;&amp;gt;
                    &amp;lt;exceptionHandlers&amp;gt;
                        &amp;lt;add name=&amp;quot;Logging Exception Handler&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;
                            logCategory=&amp;quot;General&amp;quot; eventId=&amp;quot;100&amp;quot; severity=&amp;quot;Error&amp;quot; title=&amp;quot;Enterprise Library Exception Handling&amp;quot;
                            formatterType=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling&amp;quot;
                            priority=&amp;quot;0&amp;quot; /&amp;gt;
                    &amp;lt;/exceptionHandlers&amp;gt;
                &amp;lt;/add&amp;gt;
            &amp;lt;/exceptionTypes&amp;gt;
        &amp;lt;/add&amp;gt;
    &amp;lt;/exceptionPolicies&amp;gt;
&amp;lt;/exceptionHandling&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Program.cs file:&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling;&lt;br /&gt;
using System.Diagnostics;&lt;br /&gt;
&lt;br /&gt;
namespace EnterpriseLibraryRemoteLogging&lt;br /&gt;
{&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;class Program
{
    static void Main(string[] args)
    {
        try
        {

            throw new Exception(&amp;quot;Remote Logging&amp;quot;);
        }
        catch(Exception ex)
        {
            try
            {

                ExceptionPolicy.HandleException(ex, &amp;quot;Policy&amp;quot;);
            }
            catch (Exception exception)
            {

            }
            }
        }
}&lt;/code&gt;&lt;/pre&gt;

}&lt;br /&gt;
&lt;/div&gt;</description><author>kirankumarkanchis</author><pubDate>Thu, 16 May 2013 17:11:36 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library 5.0 event Logging not logging to remote computer  20130516051136P</guid></item><item><title>New Post: Unable to cast object of type 'EntLibContrib.Data.OdpNet.Configuration.OracleConnectionSettings' to type 'Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleConnectionSettings'</title><link>http://entlibcontrib.codeplex.com/discussions/298614</link><description>&lt;div style="line-height: normal;"&gt;Team i have the exact Same issue. can we please get some help on this i am getting it on 505 version instead of 414&lt;br /&gt;
&lt;/div&gt;</description><author>saeedansari</author><pubDate>Mon, 08 Apr 2013 16:04:56 GMT</pubDate><guid isPermaLink="false">New Post: Unable to cast object of type 'EntLibContrib.Data.OdpNet.Configuration.OracleConnectionSettings' to type 'Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleConnectionSettings' 20130408040456P</guid></item><item><title>New Post: Unable to cast object of type 'EntLibContrib.Data.OdpNet.Configuration.OracleConnectionSettings' to type 'Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleConnectionSettings'</title><link>http://entlibcontrib.codeplex.com/discussions/298614</link><description>&lt;div style="line-height: normal;"&gt;Team i have the exact Same issue. can we please get some help on this i am getting it on 505 version instead of 414&lt;br /&gt;
&lt;/div&gt;</description><author>saeedansari</author><pubDate>Mon, 08 Apr 2013 16:04:56 GMT</pubDate><guid isPermaLink="false">New Post: Unable to cast object of type 'EntLibContrib.Data.OdpNet.Configuration.OracleConnectionSettings' to type 'Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleConnectionSettings' 20130408040456P</guid></item><item><title>New Post: Unable to cast object of type 'EntLibContrib.Data.OdpNet.Configuration.OracleConnectionSettings' to type 'Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleConnectionSettings'</title><link>http://entlibcontrib.codeplex.com/discussions/298614</link><description>&lt;div style="line-height: normal;"&gt;Team i have the exact Same issue. can we please get some help on this i am getting it on 505 version instead of 414&lt;br /&gt;
&lt;/div&gt;</description><author>saeedansari</author><pubDate>Mon, 08 Apr 2013 16:04:56 GMT</pubDate><guid isPermaLink="false">New Post: Unable to cast object of type 'EntLibContrib.Data.OdpNet.Configuration.OracleConnectionSettings' to type 'Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleConnectionSettings' 20130408040456P</guid></item><item><title>Commented Issue: EntiLib Contrib for OdpNet Bug [23942]</title><link>http://entlibcontrib.codeplex.com/workitem/23942</link><description>Hello I&amp;#39;m trying to do this&amp;#58;&lt;br /&gt;&lt;br /&gt;Database database &amp;#61; DatabaseFactory.CreateDatabase&amp;#40;ConnectionStringName&amp;#41;&amp;#59;&lt;br /&gt;database.ExecuteNonQuery&amp;#40;&amp;#34;MyPackage.MySP&amp;#34;, ApplicationId&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;where ApplicationId is a Guid. And this lead me to a problem in EntiLib Contrib for odp.net.&lt;br /&gt;&lt;br /&gt;From what I&amp;#39;ve seen It seems to be a problem in this method&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public override void SetParameterValue&amp;#40;DbCommand command, string parameterName, object value&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;object convertedValue &amp;#61; value&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;ParameterTypeRegistry registry &amp;#61; GetParameterTypeRegistry&amp;#40;command.CommandText&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;registry &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;registry.HasRegisteredParameterType&amp;#40;parameterName&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;DbType dbType &amp;#61; registry.GetRegisteredParameterType&amp;#40;parameterName&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;DbType.Guid &amp;#61;&amp;#61; dbType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertGuidToByteArray&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;else if &amp;#40;DbType.Boolean &amp;#61;&amp;#61; dbType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertBoolToShort&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;base.SetParameterValue&amp;#40;command, parameterName, convertedValue&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;This method works when I create all the parameters manually but when I call ExecuteNonQuery without create any parameter I got an error executing the query. because nobody converted the guid to a byte array&lt;br /&gt;&lt;br /&gt;After some analysis it seems that the previous method should be changed to&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public override void SetParameterValue&amp;#40;DbCommand command, string parameterName, object value&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;object convertedValue &amp;#61; value&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;ParameterTypeRegistry registry &amp;#61; GetParameterTypeRegistry&amp;#40;command.CommandText&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;registry &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;registry.HasRegisteredParameterType&amp;#40;parameterName&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;DbType dbType &amp;#61; registry.GetRegisteredParameterType&amp;#40;parameterName&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;DbType.Guid &amp;#61;&amp;#61; dbType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertGuidToByteArray&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;else if &amp;#40;DbType.Boolean &amp;#61;&amp;#61; dbType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertBoolToShort&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;else&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;value is Guid&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertGuidToByteArray&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;else if &amp;#40;value is bool&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertBoolToShort&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;base.SetParameterValue&amp;#40;command, parameterName, convertedValue&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;this way it should work when calling ExecuteNonQuery without creating the parameters.&lt;br /&gt;Comments: ** Comment from web user: oeN ** &lt;p&gt;Does anyone read this? and can anyone please make the change and make a new build?&lt;/p&gt;</description><author>oeN</author><pubDate>Wed, 27 Feb 2013 11:51:04 GMT</pubDate><guid isPermaLink="false">Commented Issue: EntiLib Contrib for OdpNet Bug [23942] 20130227115104A</guid></item><item><title>Created Issue: EntiLib Contrib for OdpNet Bug [23942]</title><link>http://entlibcontrib.codeplex.com/workitem/23942</link><description>Hello I&amp;#39;m trying to do this&amp;#58;&lt;br /&gt;&lt;br /&gt;Database database &amp;#61; DatabaseFactory.CreateDatabase&amp;#40;ConnectionStringName&amp;#41;&amp;#59;&lt;br /&gt;database.ExecuteNonQuery&amp;#40;&amp;#38;quot&amp;#59;MyPackage.MySP&amp;#38;quot&amp;#59;, ApplicationId&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;where ApplicationId is a Guid. And this lead me to a problem in EntiLib Contrib for odp.net.&lt;br /&gt;&lt;br /&gt;From what I&amp;#39;ve seen It seems to be a problem in this method&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public override void SetParameterValue&amp;#40;DbCommand command, string parameterName, object value&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;object convertedValue &amp;#61; value&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;ParameterTypeRegistry registry &amp;#61; GetParameterTypeRegistry&amp;#40;command.CommandText&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;registry &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;registry.HasRegisteredParameterType&amp;#40;parameterName&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;DbType dbType &amp;#61; registry.GetRegisteredParameterType&amp;#40;parameterName&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;DbType.Guid &amp;#61;&amp;#61; dbType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertGuidToByteArray&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;else if &amp;#40;DbType.Boolean &amp;#61;&amp;#61; dbType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertBoolToShort&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;base.SetParameterValue&amp;#40;command, parameterName, convertedValue&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;This method works when I create all the parameters manually but when I call ExecuteNonQuery without create any parameter I got an error executing the query. because nobody converted the guid to a byte array&lt;br /&gt;&lt;br /&gt;After some analysis it seems that the previous method should be changed to&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public override void SetParameterValue&amp;#40;DbCommand command, string parameterName, object value&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;object convertedValue &amp;#61; value&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;ParameterTypeRegistry registry &amp;#61; GetParameterTypeRegistry&amp;#40;command.CommandText&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;registry &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;registry.HasRegisteredParameterType&amp;#40;parameterName&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;DbType dbType &amp;#61; registry.GetRegisteredParameterType&amp;#40;parameterName&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;DbType.Guid &amp;#61;&amp;#61; dbType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertGuidToByteArray&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;else if &amp;#40;DbType.Boolean &amp;#61;&amp;#61; dbType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;convertedValue &amp;#61; ConvertBoolToShort&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;__else&amp;#123;&lt;br /&gt;if &amp;#40;value is Guid&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;convertedValue &amp;#61; ConvertGuidToByteArray&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;else if &amp;#40;value is bool&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;convertedValue &amp;#61; ConvertBoolToShort&amp;#40;value&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&amp;#125;__&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;base.SetParameterValue&amp;#40;command, parameterName, convertedValue&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;this way it should work when calling ExecuteNonQuery without creating the parameters.&lt;br /&gt;</description><author>oeN</author><pubDate>Tue, 19 Feb 2013 16:43:06 GMT</pubDate><guid isPermaLink="false">Created Issue: EntiLib Contrib for OdpNet Bug [23942] 20130219044306P</guid></item><item><title>New Post: Getting exception while using the resourcemanager</title><link>http://entlibcontrib.codeplex.com/discussions/430679</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;br&gt;
I tried to use the sample code but its giving an error related to type casting.&lt;br&gt;
So i did like this&lt;br&gt;
ResourceManager rm = (ResourceManager)ResourceFactory.GetResourceManager();&lt;br&gt;
Its builded successfully.&lt;br&gt;
While running , I am getting the exception like&amp;quot;The type initializer for 'EntLibContrib.Resource.ResourceFactory' threw an exception.&amp;quot;&lt;br&gt;
Could you please help me to resolve the issue...&lt;/p&gt;
&lt;/div&gt;</description><author>pcsece411</author><pubDate>Thu, 24 Jan 2013 06:08:09 GMT</pubDate><guid isPermaLink="false">New Post: Getting exception while using the resourcemanager 20130124060809A</guid></item><item><title>New Post: Getting exception while using the resourcemanager</title><link>http://entlibcontrib.codeplex.com/discussions/430679</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;br&gt;
I tried to use the sample code but its giving an error related to type casting.&lt;br&gt;
So i did like this&lt;br&gt;
ResourceManager rm = (ResourceManager)ResourceFactory.GetResourceManager();&lt;br&gt;
Its builded successfully.&lt;br&gt;
While running , I am getting the exception like&amp;quot;The type initializer for 'EntLibContrib.Resource.ResourceFactory' threw an exception.&amp;quot;&lt;br&gt;
Could you please help me to resolve the issue...&lt;/p&gt;
&lt;/div&gt;</description><author>pcsece411</author><pubDate>Thu, 24 Jan 2013 06:08:09 GMT</pubDate><guid isPermaLink="false">New Post: Getting exception while using the resourcemanager 20130124060809A</guid></item><item><title>New Post: Getting exception while using the resourcemanager</title><link>http://entlibcontrib.codeplex.com/discussions/430679</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;br&gt;
I tried to use the sample code but its giving an error related to type casting.&lt;br&gt;
So i did like this&lt;br&gt;
ResourceManager rm = (ResourceManager)ResourceFactory.GetResourceManager();&lt;br&gt;
Its builded successfully.&lt;br&gt;
While running , I am getting the exception like&amp;quot;The type initializer for 'EntLibContrib.Resource.ResourceFactory' threw an exception.&amp;quot;&lt;br&gt;
Could you please help me to resolve the issue...&lt;/p&gt;
&lt;/div&gt;</description><author>pcsece411</author><pubDate>Thu, 24 Jan 2013 06:08:09 GMT</pubDate><guid isPermaLink="false">New Post: Getting exception while using the resourcemanager 20130124060809A</guid></item><item><title>New Comment on "Resource Application Block 4.1"</title><link>https://entlibcontrib.codeplex.com/wikipage?title=Resource Application Block 4.1&amp;ANCHOR#C26294</link><description>Hi,&amp;#10;&amp;#10;I tried to use the sample code but its giving an error related to type casting.&amp;#10;&amp;#10;So i did like this&amp;#10;&amp;#10;ResourceManager rm &amp;#61; &amp;#40;ResourceManager&amp;#41;ResourceFactory.GetResourceManager&amp;#40;&amp;#41;&amp;#59;&amp;#10;&amp;#10;Its builded successfully.&amp;#10;&amp;#10;While running , I am getting the exception like&amp;#34;The type initializer for &amp;#39;EntLibContrib.Resource.ResourceFactory&amp;#39; threw an exception.&amp;#34;&amp;#10;&amp;#10;Could you please help me to resolve the issue...</description><author>pcsece411</author><pubDate>Thu, 24 Jan 2013 06:07:01 GMT</pubDate><guid isPermaLink="false">New Comment on "Resource Application Block 4.1" 20130124060701A</guid></item><item><title>Created Issue: Migrate DB2 provider to V5 [23762]</title><link>http://entlibcontrib.codeplex.com/workitem/23762</link><description>EntlibContrib is missing the DB2 driver.&lt;br /&gt;</description><author>schglurps</author><pubDate>Fri, 04 Jan 2013 10:53:33 GMT</pubDate><guid isPermaLink="false">Created Issue: Migrate DB2 provider to V5 [23762] 20130104105333A</guid></item><item><title>New Post: Enterprise Library v5.0.414.0 build (and copy) scripts</title><link>http://entlibcontrib.codeplex.com/discussions/407156</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;actually, EntLib &lt;span&gt;v5.0.414.0&lt;/span&gt;&amp;nbsp;is compiled against .NET 3.5 and is compatible with 4.0. Regarding 4.5, EntLib is heavily using Unity for configuration which if I remember correctly is not compatible with 4.5 because it uses some members of Reflection.Emit
 that are deprecated in 4.5. Have a look at Unity 3.0 Preview from the P&amp;P team to know more about those limitations.&lt;/p&gt;
&lt;p&gt;However if you were able to compile against 4.5, please let us know how it went and what changes you made!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Jeremi&lt;/p&gt;
&lt;/div&gt;</description><author>jbourgault</author><pubDate>Tue, 18 Dec 2012 15:54:16 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library v5.0.414.0 build (and copy) scripts 20121218035416P</guid></item><item><title>New Post: Enterprise Library v5.0.414.0 build (and copy) scripts</title><link>http://entlibcontrib.codeplex.com/discussions/407156</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;actually, EntLib &lt;span&gt;v5.0.414.0&lt;/span&gt;&amp;nbsp;is compiled against .NET 3.5 and is compatible with 4.0. Regarding 4.5, EntLib is heavily using Unity for configuration which if I remember correctly is not compatible with 4.5 because it uses some members of Reflection.Emit
 that are deprecated in 4.5. Have a look at Unity 3.0 Preview from the P&amp;P team to know more about those limitations.&lt;/p&gt;
&lt;p&gt;However if you were able to compile against 4.5, please let us know how it went and what changes you made!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Jeremi&lt;/p&gt;
&lt;/div&gt;</description><author>jbourgault</author><pubDate>Tue, 18 Dec 2012 15:54:16 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library v5.0.414.0 build (and copy) scripts 20121218035416P</guid></item><item><title>New Post: Enterprise Library v5.0.414.0 build (and copy) scripts</title><link>http://entlibcontrib.codeplex.com/discussions/407156</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;actually, EntLib &lt;span&gt;v5.0.414.0&lt;/span&gt;&amp;nbsp;is compiled against .NET 3.5 and is compatible with 4.0. Regarding 4.5, EntLib is heavily using Unity for configuration which if I remember correctly is not compatible with 4.5 because it uses some members of Reflection.Emit
 that are deprecated in 4.5. Have a look at Unity 3.0 Preview from the P&amp;P team to know more about those limitations.&lt;/p&gt;
&lt;p&gt;However if you were able to compile against 4.5, please let us know how it went and what changes you made!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Jeremi&lt;/p&gt;
&lt;/div&gt;</description><author>jbourgault</author><pubDate>Tue, 18 Dec 2012 15:54:16 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library v5.0.414.0 build (and copy) scripts 20121218035416P</guid></item><item><title>New Post: Enterprise Library v5.0.414.0 build (and copy) scripts</title><link>http://entlibcontrib.codeplex.com/discussions/407156</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi Folks&lt;br&gt;
&lt;br&gt;
Question, I'm using the latest Enterprise Library v5.0.414.0.&lt;br&gt;
&lt;br&gt;
There's an interesting phenomena, did anyone notice that the batch file for&lt;br&gt;
building/copying/buildcopy/etc. the library assemblies are hardwired at v3.5&lt;br&gt;
(variable msBuildDir). I set the framework directory to v4.0.30319 (.NET v4.5 ) because we are running this version).&lt;br&gt;
&lt;br&gt;
Also, it looks like the build script is compiling (release) to older core assemblies as far the the .NET version goes.&lt;/p&gt;
&lt;p&gt;Can anyone explain to me the process of getting everything at .NET v4.5, in Release Mode?&lt;/p&gt;
&lt;p&gt;Rob K&lt;/p&gt;
&lt;/div&gt;</description><author>tutor</author><pubDate>Tue, 18 Dec 2012 14:03:34 GMT</pubDate><guid isPermaLink="false">New Post: Enterprise Library v5.0.414.0 build (and copy) scripts 20121218020334P</guid></item></channel></rss>