<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>entlib Work Item Rss Feed</title><link>http://www.codeplex.com/entlib/WorkItem/List.aspx</link><description>entlib Work Item Rss Description</description><item><title>Commented Issue: Support for ODP.NET IN DAAB including LOB Datatypes [22309]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=22309</link><description>Support for ODP.net is needed to provide for proper parameter definition. Especially when working with large amounts of binary data. Blob data. Currently, the MS provider for Oracle does not support an data sizes over 32k.&lt;br /&gt;</description><author>FcoLomas</author><pubDate>Tue, 17 Nov 2009 15:16:01 GMT</pubDate><guid isPermaLink="false">Commented Issue: Support for ODP.NET IN DAAB including LOB Datatypes [22309] 20091117031601P</guid></item><item><title>Commented Issue: Support for ODP.NET IN DAAB including LOB Datatypes [22309]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=22309</link><description>Support for ODP.net is needed to provide for proper parameter definition. Especially when working with large amounts of binary data. Blob data. Currently, the MS provider for Oracle does not support an data sizes over 32k.&lt;br /&gt;</description><author>FcoLomas</author><pubDate>Tue, 17 Nov 2009 15:15:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: Support for ODP.NET IN DAAB including LOB Datatypes [22309] 20091117031557P</guid></item><item><title>Commented Issue: Exception Handling within a TransactionScope block [22990]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=22990</link><description>Hi folks,&lt;br /&gt;I need your help in understanding this.  I am trying to log exceptions during updates to the database and I have all these wrapped up in a TransactionScope block.  I am not getting any logs written to the database.  The exception policy is configured to log the exception and rethrow.  I do get the logs for other instances when I am not using the TransactionScope.  &lt;br /&gt;&lt;br /&gt;I appreciate all your valuable inputs.&lt;br /&gt;Here is my UI code.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Vinny&lt;br /&gt;&lt;br /&gt;Try&lt;br /&gt;   Using scope As New TransactionScope&lt;br /&gt;   Dim facade as New CustomerFacade&lt;br /&gt;                If &amp;#40;facade.UpdateUserQuestions&amp;#40;userQA&amp;#41;&amp;#41; Then&lt;br /&gt;                   scope.Complete&amp;#40;&amp;#41;&lt;br /&gt;                End If&lt;br /&gt;            End Using&lt;br /&gt;&lt;br /&gt;        Catch ex As TransactionAbortedException&lt;br /&gt;            Dim rethrow As Boolean &amp;#61; ExceptionPolicy.HandleException&amp;#40;ex, &amp;#34;Log Only Policy&amp;#34;&amp;#41;&lt;br /&gt;            lblErr.Text &amp;#61; &amp;#34;Error occured during update. Please try later.&amp;#34;&lt;br /&gt;            Return False&lt;br /&gt;        Catch ex As Exception&lt;br /&gt;            Dim rethrow As Boolean &amp;#61; ExceptionPolicy.HandleException&amp;#40;ex, &amp;#34;Log Only Policy&amp;#34;&amp;#41;&lt;br /&gt;            lblErr.Text &amp;#61; &amp;#34;Error occured during update. Please try later.&amp;#34;&lt;br /&gt;            Return False&lt;br /&gt;        End Try&lt;br /&gt;</description><author>FcoLomas</author><pubDate>Tue, 17 Nov 2009 15:13:10 GMT</pubDate><guid isPermaLink="false">Commented Issue: Exception Handling within a TransactionScope block [22990] 20091117031310P</guid></item><item><title>Commented Issue: IgnoreNulls error message not displaying correctly [15732]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=15732</link><description>When using the IngoreNulls validation attribute, combined with another validation attribute on a property using the ValidatorComposition&amp;#40;CompositionType.Or&amp;#41;, the validation error message is not displayed.  &lt;br /&gt;&lt;br /&gt;&amp;#91;IgnoreNulls&amp;#40;&amp;#41;,&lt;br /&gt;ValidatorComposition&amp;#40;CompositionType.Or, MessageTemplate&amp;#61;&amp;#34;Property must be between 1 and 50 characters.&amp;#34;&amp;#41;,&lt;br /&gt;StringLengthTrimValidator&amp;#40;1, 50&amp;#41;&amp;#41;&amp;#93;&lt;br /&gt;public string Property &amp;#123;get&amp;#59;set&amp;#59;&amp;#125;     &lt;br /&gt;&lt;br /&gt;The message displayed simply indicates &amp;#34;The value is not null and failed all its validation rules for key &amp;#34;Property&amp;#34;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Using the NotNull validation attribute that is negated, the message is displayed correctly.&lt;br /&gt;&lt;br /&gt;&amp;#91;NotNullValidator&amp;#40;Negated &amp;#61; true&amp;#41;,&lt;br /&gt; ValidatorComposition&amp;#40;CompositionType.Or, MessageTemplate&amp;#61;&amp;#34;Property must be between 1 and 50 characters.&amp;#34;&amp;#41;,&lt;br /&gt; StringLengthTrimValidator&amp;#40;1, 50&amp;#41;&amp;#93;&lt;br /&gt;</description><author>pamo</author><pubDate>Tue, 10 Nov 2009 19:08:22 GMT</pubDate><guid isPermaLink="false">Commented Issue: IgnoreNulls error message not displaying correctly [15732] 20091110070822P</guid></item><item><title>Created Issue: RollingFlatFileTraceListener holds a file lock on the log file [25265]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=25265</link><description>We use the RollingFlatFileListeren to log exceptions. This listener holds a windows file lock on the log file. This causes problems when we want to clean up logging to free disk space on the development and test environments.&lt;br /&gt;</description><author>areijngoudt</author><pubDate>Mon, 09 Nov 2009 09:51:46 GMT</pubDate><guid isPermaLink="false">Created Issue: RollingFlatFileTraceListener holds a file lock on the log file [25265] 20091109095146A</guid></item><item><title>Commented Issue: TextExceptionFormatter outputs inconsistent line endings [20501]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=20501</link><description>I&amp;#39;ve noticed that the TextExceptionFormatter outputted line endings of the &amp;#34;Additional Info&amp;#58;&amp;#34; lines in the exception message are &amp;#34;0A&amp;#34; which, when written to a Rolling Flat File trace listener, results in these lines all being running together in a single line that is not easily read.  Some editors interpret &amp;#34;0A&amp;#34; as a line break but not all e.g. Notpad.exe.  The rest of the exception message uses &amp;#34;0D 0A&amp;#34; which result in line breaks as expected in all editors.&lt;br /&gt;Comments: ** Comment from web user: DavidHerbst ** &lt;p&gt;I see the status is still Unassigned, will this issue be addressed in the 5.0 release&amp;#63;&lt;/p&gt;</description><author>DavidHerbst</author><pubDate>Fri, 06 Nov 2009 21:23:14 GMT</pubDate><guid isPermaLink="false">Commented Issue: TextExceptionFormatter outputs inconsistent line endings [20501] 20091106092314P</guid></item><item><title>Commented Issue: Tracing starts timer before the Initialization of the Start Trace [20446]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=20446</link><description>in the Microsoft.Practices.EnterpriseLibrary.Logging.Tracer.cs, In the Initialize method, the timer is started before the Initialization, which have a overhead of time that is included to the total reported time of the trace. &lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;entlib&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;43213&lt;br /&gt;Comments: ** Comment from web user: DavidHerbst ** &lt;p&gt;I see the status is still Unassigned, will this issue be addressed in the 5.0 release&amp;#63;&lt;/p&gt;</description><author>DavidHerbst</author><pubDate>Fri, 06 Nov 2009 21:17:06 GMT</pubDate><guid isPermaLink="false">Commented Issue: Tracing starts timer before the Initialization of the Start Trace [20446] 20091106091706P</guid></item><item><title>Commented Issue: PropertyProxyValidator control and Localization using Resource files. [11504]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=11504</link><description>I have faced with the following issues.&lt;br /&gt;&lt;br /&gt;I wanted to use PropertyProxyValidator control and define validation rule in the web.config file in the &amp;#60;validation&amp;#62; section. I defined validators and set messageTemplateResourceName and messageTemplateResourceType properties. Thus, I have several resource files &amp;#40;.resx&amp;#41; for particular languages. As I found, when I try to use PropertyProxyValidator control, the validation block routine calls PropertyValidationFactory class and its GetPropertyValidator methods. The class and method are declared as INTERNAL. The code inside of the GetPropertyValidator method asks the attributeAndDefaultConfigurationPropertyValidatorsCache variable to get the appropriate validator if it was previously requested&amp;#47;created.&lt;br /&gt;&lt;br /&gt;Thanking into account that the current culture for different users may be different, the attributeAndDefaultConfigurationPropertyValidatorsCache wil contain validator for the first required culture.&lt;br /&gt;&lt;br /&gt;It seems you need to reimplement logic here to associate validators &amp;#40;that include resource strings form .resx file&amp;#41; with current culture environment. Otherwise, the validation block in the PropertyProxyValidator part still works incorrectly.&lt;br /&gt;&lt;br /&gt;Almost the same situation with ValidationFactory class that has its own cache routine. Thanks that ResetCaches method of the ValidationFactory is public for use. So far I call it for all user requests.&lt;br /&gt;&lt;br /&gt;Thanks and good luck&amp;#33;&lt;br /&gt;&lt;br /&gt;George&lt;br /&gt;georgealexandrov&amp;#64;gmail.com&lt;br /&gt;Comments: ** Comment from web user: pamo ** &lt;p&gt;That works well for the Property Proxy Validators, but note that the same problem exists when calling Validation.Validate&amp;#40;o&amp;#41; from in the code. &lt;/p&gt;&lt;p&gt;For these, it looks like very similar code looks like it needs to be changed in ValidationFactory.cs.&lt;/p&gt;&lt;p&gt;This is a pretty important bug to anyone doing multi-lingual apps, why is the impact low&amp;#63;&amp;#33;&lt;br /&gt;&lt;/p&gt;</description><author>pamo</author><pubDate>Tue, 03 Nov 2009 16:21:48 GMT</pubDate><guid isPermaLink="false">Commented Issue: PropertyProxyValidator control and Localization using Resource files. [11504] 20091103042148P</guid></item><item><title>Commented Issue: Localization Bug in Validation Block with ValidatorCacheKey [20409]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=20409</link><description>Whenever a Validator is created for the first time, it initializes the MessageTemplate by calling GetMessageTemplate method.  If Localization is being used, it opens the correct resource and applies the appropriate localized string for that message.  Then, the Validator is cached using the ValidatorCacheKey, which seems to derive its uniqueness from merely a ruleset and a type.  So if English U.S. was the CurrentUICulture on the thread at the time the Validator was created, the message template will be cached as English AND always stay as English until the cache either expires or is flushed.&lt;br /&gt;&lt;br /&gt;Instead, I think the ValidatorCacheKey should take into account the CurrentUICulture when caching each Validator so that the MessageTemplate has a chance to get created for each particular language.  I have this easily reproduced in my environment if you need an example.&lt;br /&gt;&lt;br /&gt;I had to modify the private struct ValidatorCacheKey with the following code to get my localized ASP.NET application to work properly.&lt;br /&gt;&lt;br /&gt;        private struct ValidatorCacheKey &amp;#58; IEquatable&amp;#60;ValidatorCacheKey&amp;#62;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;private Type sourceType&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;private string ruleset&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;private bool generic&amp;#59;&lt;br /&gt;            private int localeId&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public ValidatorCacheKey&amp;#40;Type sourceType, string ruleset, bool generic&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;this.sourceType &amp;#61; sourceType&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;this.ruleset &amp;#61; ruleset&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;this.generic &amp;#61; generic&amp;#59;&lt;br /&gt;                this.localeId &amp;#61; System.Globalization.CultureInfo.CurrentUICulture.LCID&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public override int GetHashCode&amp;#40;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;return this.sourceType.GetHashCode&amp;#40;&amp;#41; &amp;#43; this.localeId.GetHashCode&amp;#40;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#94; &amp;#40;this.ruleset &amp;#33;&amp;#61; null &amp;#63; this.ruleset.GetHashCode&amp;#40;&amp;#41; &amp;#58; 0&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#35;region IEquatable&amp;#60;ValidatorCacheKey&amp;#62; Members&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;bool IEquatable&amp;#60;ValidatorCacheKey&amp;#62;.Equals&amp;#40;ValidatorCacheKey other&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;return &amp;#40;this.sourceType &amp;#61;&amp;#61; other.sourceType&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#38;&amp;#38; &amp;#40;this.ruleset &amp;#61;&amp;#61; null &amp;#63; other.ruleset &amp;#61;&amp;#61; null &amp;#58; this.ruleset.Equals&amp;#40;other.ruleset&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#38;&amp;#38; &amp;#40;this.generic &amp;#61;&amp;#61; other.generic&amp;#41;&lt;br /&gt;                    &amp;#38;&amp;#38; &amp;#40;this.localeId &amp;#61;&amp;#61; other.localeId&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#35;endregion&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: pamo ** &lt;p&gt;I agree this is a pretty major flaw that needs to make the next patch. &lt;br /&gt;See the related item that has the code file fix mentioned above&amp;#58; http&amp;#58;&amp;#47;&amp;#47;entlib.codeplex.com&amp;#47;WorkItem&amp;#47;View.aspx&amp;#63;WorkItemId&amp;#61;11504&lt;/p&gt;&lt;p&gt;Note that the same type of code bug exists in two places&amp;#58; &lt;br /&gt;- PropertyValidationFactory &amp;#40;which seems to cache single-language messages when shown by the PropertyProxyValidators&amp;#41;&lt;br /&gt;- ValidationFactory.cs &amp;#40;which seems to cache single-language messages during calls to&amp;#58; Validation.Validate&amp;#40;o&amp;#41; in the code&amp;#41;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>pamo</author><pubDate>Tue, 03 Nov 2009 16:18:41 GMT</pubDate><guid isPermaLink="false">Commented Issue: Localization Bug in Validation Block with ValidatorCacheKey [20409] 20091103041841P</guid></item><item><title>Commented Issue: Unable to load references when using Type Selector [20410]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=20410</link><description>Here&amp;#39;s the scenario, Project A has a dependency in Project B.  I have Project C which is a console application and when I try to select the type in Project A using the EntLib configuration tool for the validation application block, an error occurs, &amp;#34;Unable to load references for the specified assembly, please ensure all references are in the same directory as the assembly which is loaded&amp;#34;.  I&amp;#39;ve attached here a solution which repro the error.  &lt;br /&gt;Discussion and workaround in this thread...&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;entlib&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;40626&lt;br /&gt;You can also just manually enter the type using the xml editor if you don&amp;#39;t want to modify the source code.&lt;br /&gt;Comments: ** Comment from web user: Nande ** &lt;p&gt;I am also havong same problem with customFormatter.......&lt;/p&gt;</description><author>Nande</author><pubDate>Tue, 03 Nov 2009 15:55:55 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unable to load references when using Type Selector [20410] 20091103035555P</guid></item><item><title>Commented Issue: InterfaceInterceptor can't wrap an interface that inherits from another interface [21827]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=21827</link><description>For example, given an interface that inherits from IDisposable this exception is generated&amp;#58;&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.Unity.ResolutionFailedException was unhandled&lt;br /&gt;  Message&amp;#61;&amp;#34;Resolution of the dependency failed, type &amp;#61; &amp;#92;&amp;#34;EntlibBug.I&amp;#92;&amp;#34;, name &amp;#61; &amp;#92;&amp;#34;&amp;#92;&amp;#34;. Exception message is&amp;#58; The current build operation &amp;#40;build key Build Key&amp;#91;EntlibBug.C, null&amp;#93;&amp;#41; failed&amp;#58; Method &amp;#39;Dispose&amp;#39; in type &amp;#39;DynamicModule.ns.Wrapped_I_52aaa9e1791b40378ec8a3b27cebdd39&amp;#39; from assembly &amp;#39;Unity_ILEmit_InterfaceProxies, Version&amp;#61;0.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;null&amp;#39; does not have an implementation. &amp;#40;Strategy type InstanceInterceptionStrategy, index 0&amp;#41;&amp;#34;&lt;br /&gt;  Source&amp;#61;&amp;#34;Microsoft.Practices.Unity&amp;#34;&lt;br /&gt;  TypeRequested&amp;#61;&amp;#34;I&amp;#34;&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at Microsoft.Practices.Unity.UnityContainer.DoBuildUp&amp;#40;Type t, Object existing, String name&amp;#41;&lt;br /&gt;       at Microsoft.Practices.Unity.UnityContainer.Resolve&amp;#40;Type t, String name&amp;#41;&lt;br /&gt;       at Microsoft.Practices.Unity.UnityContainerBase.Resolve&amp;#91;T&amp;#93;&amp;#40;&amp;#41;&lt;br /&gt;       at EntlibBug.Program.Main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; in C&amp;#58;&amp;#92;Users&amp;#92;laurionb&amp;#92;Documents&amp;#92;Visual Studio Projects&amp;#92;EntlibBug&amp;#92;Program.cs&amp;#58;line 50&lt;br /&gt;       at System.AppDomain._nExecuteAssembly&amp;#40;Assembly assembly, String&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;       at System.AppDomain.ExecuteAssembly&amp;#40;String assemblyFile, Evidence assemblySecurity, String&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly&amp;#40;&amp;#41;&lt;br /&gt;       at System.Threading.ThreadHelper.ThreadStart_Context&amp;#40;Object state&amp;#41;&lt;br /&gt;       at System.Threading.ExecutionContext.Run&amp;#40;ExecutionContext executionContext, ContextCallback callback, Object state&amp;#41;&lt;br /&gt;       at System.Threading.ThreadHelper.ThreadStart&amp;#40;&amp;#41;&lt;br /&gt;  InnerException&amp;#58; Microsoft.Practices.ObjectBuilder2.BuildFailedException&lt;br /&gt;       Message&amp;#61;&amp;#34;The current build operation &amp;#40;build key Build Key&amp;#91;EntlibBug.C, null&amp;#93;&amp;#41; failed&amp;#58; Method &amp;#39;Dispose&amp;#39; in type &amp;#39;DynamicModule.ns.Wrapped_I_52aaa9e1791b40378ec8a3b27cebdd39&amp;#39; from assembly &amp;#39;Unity_ILEmit_InterfaceProxies, Version&amp;#61;0.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;null&amp;#39; does not have an implementation. &amp;#40;Strategy type InstanceInterceptionStrategy, index 0&amp;#41;&amp;#34;&lt;br /&gt;       Source&amp;#61;&amp;#34;Microsoft.Practices.ObjectBuilder2&amp;#34;&lt;br /&gt;       BuildKey&amp;#61;&amp;#34;Build Key&amp;#91;EntlibBug.C, null&amp;#93;&amp;#34;&lt;br /&gt;       ExecutingStrategyIndex&amp;#61;0&lt;br /&gt;       ExecutingStrategyTypeName&amp;#61;&amp;#34;InstanceInterceptionStrategy&amp;#34;&lt;br /&gt;       StackTrace&amp;#58;&lt;br /&gt;            at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp&amp;#40;IBuilderContext context&amp;#41;&lt;br /&gt;            at Microsoft.Practices.ObjectBuilder2.Builder.BuildUp&amp;#40;IReadWriteLocator locator, ILifetimeContainer lifetime, IPolicyList policies, IStrategyChain strategies, Object buildKey, Object existing&amp;#41;&lt;br /&gt;            at Microsoft.Practices.Unity.UnityContainer.DoBuildUp&amp;#40;Type t, Object existing, String name&amp;#41;&lt;br /&gt;       InnerException&amp;#58; System.TypeLoadException&lt;br /&gt;            Message&amp;#61;&amp;#34;Method &amp;#39;Dispose&amp;#39; in type &amp;#39;DynamicModule.ns.Wrapped_I_52aaa9e1791b40378ec8a3b27cebdd39&amp;#39; from assembly &amp;#39;Unity_ILEmit_InterfaceProxies, Version&amp;#61;0.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;null&amp;#39; does not have an implementation.&amp;#34;&lt;br /&gt;            Source&amp;#61;&amp;#34;mscorlib&amp;#34;&lt;br /&gt;            TypeName&amp;#61;&amp;#34;DynamicModule.ns.Wrapped_I_52aaa9e1791b40378ec8a3b27cebdd39&amp;#34;&lt;br /&gt;            StackTrace&amp;#58;&lt;br /&gt;                 at System.Reflection.Emit.TypeBuilder._TermCreateClass&amp;#40;Int32 handle, Module module&amp;#41;&lt;br /&gt;                 at System.Reflection.Emit.TypeBuilder.CreateTypeNoLock&amp;#40;&amp;#41;&lt;br /&gt;                 at System.Reflection.Emit.TypeBuilder.CreateType&amp;#40;&amp;#41;&lt;br /&gt;                 at Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptorClassGenerator.CreateProxyType&amp;#40;&amp;#41;&lt;br /&gt;                 at Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptor.CreateProxy&amp;#40;Type t, Object target&amp;#41;&lt;br /&gt;                 at Microsoft.Practices.Unity.InterceptionExtension.InstanceInterceptionStrategy.PostBuildUp&amp;#40;IBuilderContext context&amp;#41;&lt;br /&gt;                 at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp&amp;#40;IBuilderContext context&amp;#41;&lt;br /&gt;            InnerException&amp;#58;&lt;br /&gt;Comments: ** Comment from web user: trondr ** &lt;p&gt;I worked around this problem by re-specifying the inherited interface using the &amp;#39;new&amp;#39; keyword&amp;#58;&lt;/p&gt;&lt;p&gt;   public interface IMyInterceptableInterface&amp;#58; IDisposable&lt;br /&gt;   &amp;#123;&lt;br /&gt;      &amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;      &amp;#47;&amp;#47;&amp;#47; Get name&lt;br /&gt;      &amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;      string SomeProperty&amp;#123; get&amp;#59; &amp;#125;&lt;/p&gt;&lt;p&gt;      &amp;#47;&amp;#47;&amp;#47; &amp;#60;summary&amp;#62;&lt;br /&gt;      &amp;#47;&amp;#47;&amp;#47; Dispose&lt;br /&gt;      &amp;#47;&amp;#47;&amp;#47; &amp;#60;&amp;#47;summary&amp;#62;&lt;br /&gt;      new void Dispose&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;   &amp;#125;&lt;/p&gt;&lt;p&gt;With this change I am able to invoke the IDisposable interface via the &amp;#39;using&amp;#39; keyword&amp;#58;&lt;/p&gt;&lt;p&gt;   using &amp;#40;IMyInterceptableInterface myInterceptableInterface &amp;#61; ServiceLocator.Resolve&amp;#60;IMyInterceptableInterface&amp;#62;&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;   &amp;#123;&lt;br /&gt;     Console.WriteLine&amp;#40;myInterceptableInterface.SomeProperty&amp;#41;&amp;#59;&lt;br /&gt;   &amp;#125;&lt;/p&gt;&lt;p&gt;ServiceLocator is just a wrapper over the Microsoft Unity that I have implemented.&lt;/p&gt;</description><author>trondr</author><pubDate>Sun, 01 Nov 2009 21:28:32 GMT</pubDate><guid isPermaLink="false">Commented Issue: InterfaceInterceptor can't wrap an interface that inherits from another interface [21827] 20091101092832P</guid></item><item><title>Commented Issue: The Logging Handler for the Policy Injection need the UseDefaultLogger property as well [20045]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=20045</link><description>I tried to use the default Logging Handler for Policy Injection. After set the configuration for the Logging Handler to write to a flat file in the Policy Injection section, I added a match rule for this policy.&amp;#40;I didn&amp;#39;t use the attribute function&amp;#41;.  It works fine. &lt;br /&gt;&lt;br /&gt;But, after I tried to add some application information to the same log file, the problem appeared.  The logging block created a new log file named as GUID&amp;#43;logFileName. They are not using the same logger. &lt;br /&gt;&lt;br /&gt;Although using the attribute way works fine. But it need to handcode those parameters for each place we write it. Is it possible to load these parameters from a class for configuration file&amp;#63; &lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;Comments: ** Comment from web user: Nande ** &lt;p&gt;I am having same issue..&lt;/p&gt;</description><author>Nande</author><pubDate>Thu, 29 Oct 2009 18:15:20 GMT</pubDate><guid isPermaLink="false">Commented Issue: The Logging Handler for the Policy Injection need the UseDefaultLogger property as well [20045] 20091029061520P</guid></item><item><title>Created Issue: EntLib 4.1 DAB leaking oracle connections that participate in DTC transactions [25074]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=25074</link><description>We uncovered what seems to be a connection leak when using EL 4.1 to update data in a Oracle database within an enterprise serviced components. Following are the details&lt;br /&gt;&lt;br /&gt;Environment&amp;#58;&lt;br /&gt;    .NET Framework&amp;#58; 3.5&lt;br /&gt;    EL&amp;#58; 4.1&lt;br /&gt;    Database Server&amp;#58; Oracle 10g&lt;br /&gt;    Database Client&amp;#58; Oracle 11g&lt;br /&gt;    Database Provider&amp;#58; ODP.NET v2.111.6.20&lt;br /&gt;    Serviced Component Transaction Setting&amp;#58; Required&lt;br /&gt;&lt;br /&gt;Failing Scenario&amp;#58; &amp;#40;source code attached&amp;#41;&lt;br /&gt;    1. Create a serviced component and mark it with the TransactionScope.Required attribute&lt;br /&gt;    2. Add a method that executes a stored procedure that updates data in an oracle database using the EL DAB&lt;br /&gt;    3. Configure the serviced component to use ODP.NET as the database provider&lt;br /&gt;    4. Execute the method repeatedly though a test&lt;br /&gt;    5. Monitoring the database session will show that every call is starting a new database session&lt;br /&gt;&lt;br /&gt;Working Scenario 1&amp;#58; &amp;#40;using EL 3.1&amp;#41;&lt;br /&gt;    1. Replace the EL 4.1 reference with EL 3.1 references&lt;br /&gt;    2. Execute the method repeatedly though a test&lt;br /&gt;    3. Monitoring the database session will show that there is only one database session&lt;br /&gt;&lt;br /&gt;Working Scenario 2&amp;#58; &amp;#40;using ODP.NET&amp;#41;&lt;br /&gt;    1. Change the method to use ODP.NET to execute the update stored procedure&lt;br /&gt;    2. Execute the method repeatedly though a test&lt;br /&gt;    3. Monitoring the database session will show that there is only one database session&lt;br /&gt;</description><author>t_chandrakanth</author><pubDate>Fri, 23 Oct 2009 14:20:37 GMT</pubDate><guid isPermaLink="false">Created Issue: EntLib 4.1 DAB leaking oracle connections that participate in DTC transactions [25074] 20091023022037P</guid></item><item><title>Commented Issue: Logging block raises InvalidCastException in remoting component [18459]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=18459</link><description>I have build a remoting component which uses the logging application block. The component always returns with the following error&amp;#58;&lt;br /&gt;&lt;br /&gt;System.InvalidCastException&amp;#58; Specified cast is not valid. at System.Runtime.Remoting.Messaging.LocicalCallContext..ctor&amp;#40;SerializationInfo info, StreamingContext context&amp;#41;&lt;br /&gt;&lt;br /&gt;When debugging the remoting component, no exception is raised inside the component. It is raised when control is returned to the caller. If I remove the logging functionality from the remoting component, no exception is raised. It looks like the problem is in the logging functionality. Can anybody verify this and possibly have a solution, I need the logging functionality.&lt;br /&gt;Comments: ** Comment from web user: dariosc74 ** &lt;p&gt;I&amp;#39;m encountering the same problem. &lt;br /&gt;Who decided that impact of this issue is low&amp;#63;&lt;br /&gt;Shall I quit using EntLib&amp;#63;&amp;#63;&lt;/p&gt;</description><author>dariosc74</author><pubDate>Fri, 23 Oct 2009 11:32:36 GMT</pubDate><guid isPermaLink="false">Commented Issue: Logging block raises InvalidCastException in remoting component [18459] 20091023113236A</guid></item><item><title>Commented Issue: CryptogahyException on Windows Server 2003 R2 Standard x64 [25050]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=25050</link><description>Hello There&amp;#58;&lt;br /&gt;&lt;br /&gt;I am getting below exception saying &amp;#34;Key not valid for use in specified state&amp;#34; when using the cryptographic application block to encrypt some string values.  Now this works fine on Windows Vista Ultimate as well as Windows Server 2003 R2 Standard 32 bit edition.  I am using the RijndaelManaged  Symmetric Provider and have successfully created a new key on the x64 in machine mode.  Is there any known issue with this block in x64 machines, if so are there any workarounds &amp;#63;&lt;br /&gt;&lt;br /&gt;Type &amp;#58; System.Security.Cryptography.CryptographicException, mscorlib, Version&amp;#61;2.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;b77a5c561934e089&lt;br /&gt;Message &amp;#58; Key not valid for use in specified state.&lt;br /&gt;&lt;br /&gt;Source &amp;#58; System.Security&lt;br /&gt;Help link &amp;#58; &lt;br /&gt;Data &amp;#58; System.Collections.ListDictionaryInternal&lt;br /&gt;TargetSite &amp;#58; Byte&amp;#91;&amp;#93; Unprotect&amp;#40;Byte&amp;#91;&amp;#93;, Byte&amp;#91;&amp;#93;, System.Security.Cryptography.DataProtectionScope&amp;#41;&lt;br /&gt;Stack Trace &amp;#58;    at System.Security.Cryptography.ProtectedData.Unprotect&amp;#40;Byte&amp;#91;&amp;#93; encryptedData, Byte&amp;#91;&amp;#93; optionalEntropy, DataProtectionScope scope&amp;#41;&lt;br /&gt;   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ProtectedKey.Unprotect&amp;#40;&amp;#41;&lt;br /&gt;   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricCryptographer.Encrypt&amp;#40;Byte&amp;#91;&amp;#93; plaintext&amp;#41;&lt;br /&gt;   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricAlgorithmProvider.Encrypt&amp;#40;Byte&amp;#91;&amp;#93; plaintext&amp;#41;&lt;br /&gt;   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.EncryptSymmetric&amp;#40;ISymmetricCryptoProvider provider, String plaintext&amp;#41;&lt;br /&gt;&lt;br /&gt;Cheers &amp;#33;&lt;br /&gt;&lt;br /&gt;Nat&lt;br /&gt;Comments: ** Comment from web user: nat_pennathur ** &lt;p&gt;Ok, got it to work, I installed all of the latest Microsoft Updates on the server, and voila, it worked.  Thanks, Nat&lt;/p&gt;</description><author>nat_pennathur</author><pubDate>Thu, 22 Oct 2009 17:09:27 GMT</pubDate><guid isPermaLink="false">Commented Issue: CryptogahyException on Windows Server 2003 R2 Standard x64 [25050] 20091022050927P</guid></item><item><title>Created Issue: CryptogahyException on Windows Server 2003 R2 Standard x64 [25050]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=25050</link><description>Hello There&amp;#58;&lt;br /&gt;&lt;br /&gt;I am getting below exception saying &amp;#34;Key not valid for use in specified state&amp;#34; when using the cryptographic application block to encrypt some string values.  Now this works fine on Windows Vista Ultimate as well as Windows Server 2003 R2 Standard 32 bit edition.  I am using the RijndaelManaged  Symmetric Provider and have successfully created a new key on the x64 in machine mode.  Is there any known issue with this block in x64 machines, if so are there any workarounds &amp;#63;&lt;br /&gt;&lt;br /&gt;Type &amp;#58; System.Security.Cryptography.CryptographicException, mscorlib, Version&amp;#61;2.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;b77a5c561934e089&lt;br /&gt;Message &amp;#58; Key not valid for use in specified state.&lt;br /&gt;&lt;br /&gt;Source &amp;#58; System.Security&lt;br /&gt;Help link &amp;#58; &lt;br /&gt;Data &amp;#58; System.Collections.ListDictionaryInternal&lt;br /&gt;TargetSite &amp;#58; Byte&amp;#91;&amp;#93; Unprotect&amp;#40;Byte&amp;#91;&amp;#93;, Byte&amp;#91;&amp;#93;, System.Security.Cryptography.DataProtectionScope&amp;#41;&lt;br /&gt;Stack Trace &amp;#58;    at System.Security.Cryptography.ProtectedData.Unprotect&amp;#40;Byte&amp;#91;&amp;#93; encryptedData, Byte&amp;#91;&amp;#93; optionalEntropy, DataProtectionScope scope&amp;#41;&lt;br /&gt;   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ProtectedKey.Unprotect&amp;#40;&amp;#41;&lt;br /&gt;   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricCryptographer.Encrypt&amp;#40;Byte&amp;#91;&amp;#93; plaintext&amp;#41;&lt;br /&gt;   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.SymmetricAlgorithmProvider.Encrypt&amp;#40;Byte&amp;#91;&amp;#93; plaintext&amp;#41;&lt;br /&gt;   at Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.EncryptSymmetric&amp;#40;ISymmetricCryptoProvider provider, String plaintext&amp;#41;&lt;br /&gt;&lt;br /&gt;Cheers &amp;#33;&lt;br /&gt;&lt;br /&gt;Nat&lt;br /&gt;</description><author>nat_pennathur</author><pubDate>Wed, 21 Oct 2009 20:50:19 GMT</pubDate><guid isPermaLink="false">Created Issue: CryptogahyException on Windows Server 2003 R2 Standard x64 [25050] 20091021085019P</guid></item><item><title>Created Issue: Bug in SearchForResource method of ResourceStringLoader class [25024]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=25024</link><description>private static string SearchForResource&amp;#40;Assembly asm, string baseName, string resourceName&amp;#41;&lt;br /&gt;&lt;br /&gt;The SearchForResource  method in ResourceStringLoader  class is not using make of baseName parameter. This is causing a problem if you have resource entry with same name in two resources files.&lt;br /&gt;The logic in above method looks for the &amp;#34;.resources&amp;#34; files, hen it loops through each resource file if it finds the entry with resourceName it returns it event &amp;#40;without considering which resource file it should look into&amp;#41;&lt;br /&gt;&lt;br /&gt;There should be a check for the reoruce file based on baseName.&lt;br /&gt;&lt;br /&gt;I hope it gets fixed in the Ent Lib 5.0 or there is a pathech for 4.1 &amp;#40; we dont want to build entlib project by our self&amp;#41;&lt;br /&gt;</description><author>milindyande</author><pubDate>Wed, 21 Oct 2009 04:58:44 GMT</pubDate><guid isPermaLink="false">Created Issue: Bug in SearchForResource method of ResourceStringLoader class [25024] 20091021045844A</guid></item><item><title>Commented Issue: WCF Validation handler does not support the async methods [17392]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=17392</link><description>see http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;entlib&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;31493 for details&lt;br /&gt;Comments: ** Comment from web user: Philippe ** &lt;p&gt;This issue and proposed code changes were identified 2 releases ago.  The current version of EntLib &amp;#40;4.1&amp;#41; does not address the issue.  In which release will this issue be addressed&amp;#63;&lt;/p&gt;</description><author>Philippe</author><pubDate>Mon, 12 Oct 2009 17:45:54 GMT</pubDate><guid isPermaLink="false">Commented Issue: WCF Validation handler does not support the async methods [17392] 20091012054554P</guid></item><item><title>Created Issue: Logging: Dispose not called in Custom Trace Listener [24853]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=24853</link><description>title says it all. Created a custom trace listener to get around constraint of Flat File Trace Listener to have a hard-coded file name &amp;#40;why&amp;#63; but that&amp;#39;s another issue&amp;#41;.&lt;br /&gt;&lt;br /&gt;The &amp;#34;Dispose&amp;#34; method is never invoked.  So I added a &amp;#34;Finalize&amp;#34; method and that does get invoked, but the output filestream is not useable &amp;#40;closed by the runtime&amp;#63;&amp;#41;.&lt;br /&gt;&lt;br /&gt;Why is &amp;#34;Dispose&amp;#34; not called&amp;#63;  All googled examples of a Custom Trace Listener show folks coding in a &amp;#34;Dispose&amp;#34; method.  I&amp;#39;m stumped - any clues out there&amp;#63;  The code is very simple&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;ConfigurationElementType&amp;#40;GetType&amp;#40;CustomTraceListenerData&amp;#41;&amp;#41;&amp;#62; _&lt;br /&gt;Public Class ELListener&lt;br /&gt;    Inherits CustomTraceListener&lt;br /&gt;    Implements IDisposable&lt;br /&gt;    Public Sub New&amp;#40;ByVal args As String&amp;#41;&lt;br /&gt;    End Sub&lt;br /&gt;    Public Overrides Sub TraceData&amp;#40;ByVal eventCache As TraceEventCache, ByVal source As String, ByVal eventType As TraceEventType, ByVal id As Integer, ByVal data As Object&amp;#41;&lt;br /&gt;    End Sub&lt;br /&gt;    Public Overloads Overrides Sub Write&amp;#40;ByVal message As String&amp;#41;&lt;br /&gt;    End Sub&lt;br /&gt;    Public Overloads Overrides Sub WriteLine&amp;#40;ByVal message As String&amp;#41;&lt;br /&gt;    End Sub&lt;br /&gt;    Protected Overrides Sub Dispose&amp;#40;ByVal disposing As Boolean&amp;#41;&lt;br /&gt;        MyBase.Dispose&amp;#40;disposing&amp;#41;&lt;br /&gt;    End Sub&lt;br /&gt;End Class&lt;br /&gt;&lt;br /&gt;And yes I have a Category using this Listener. Breakpoints set on &amp;#34;New&amp;#34; and &amp;#34;TraceData&amp;#34; are hit, breakpoint on &amp;#34;Dispose&amp;#34; never is.&lt;br /&gt;&lt;br /&gt;This is a major issue for us as we need to write &amp;#34;process ending&amp;#34; information to log.  Any help is appreciated.&lt;br /&gt;Regards.&lt;br /&gt;</description><author>Riix</author><pubDate>Fri, 09 Oct 2009 11:41:42 GMT</pubDate><guid isPermaLink="false">Created Issue: Logging: Dispose not called in Custom Trace Listener [24853] 20091009114142A</guid></item><item><title>Closed Issue: Is it useful to create a helper class for the DAAB 4.1 [23453]</title><link>http://entlib.codeplex.com/WorkItem/View.aspx?WorkItemId=23453</link><description>I am trying to create a Helper class for the DAAB. I did not find much material to ful fill my task. &lt;br /&gt;&lt;br /&gt;If any body created Helper class for the DAAB. Please share it.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Gopal&lt;br /&gt;Comments: &lt;p&gt;Not an issue, should take to discussion forum.&lt;/p&gt;</description><author>ctavares</author><pubDate>Thu, 01 Oct 2009 18:32:13 GMT</pubDate><guid isPermaLink="false">Closed Issue: Is it useful to create a helper class for the DAAB 4.1 [23453] 20091001063213P</guid></item></channel></rss>