The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Enterprise Library Patch

0 replies.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a flat view of this topic  Flat View
Previous Topic   Next Topic
Threaded View: This topic has 0 replies on 1 page
John Papa

Posts: 66
Nickname: papajohn
Registered: Apr, 2005

John Papa is .NET lead developer/architect/author
Enterprise Library Patch Posted: Apr 17, 2005 1:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by John Papa.
Original Post: Enterprise Library Patch
Feed Title: John Papa
Feed URL: /error.htm?aspxerrorpath=/blogs/john.papa/rss.aspx
Feed Description: .NET Code Samples, Data Access, Patterns and Other Musings
Latest .NET Buzz Posts
Latest .NET Buzz Posts by John Papa
Latest Posts From John Papa

Tom Hollander, Product Manager of Enterprise Library, announced that a new patch is out for Ent Lib. It patches a memory leak in the Enterprise Library Configuration Application Block, which is used by all of the other blocks. I downloaded it, installed it and was done within minutes. Testing several apps that use Ent Lib showed that everything was well for my applications. You can go to the Ent Lib community site and download the patch (you need to join the community to get the patch).

The patch contains 2 files:

  • ConfigurationManager.cs
    • The source file that they made the changes to for the Config block
    • I glanced through this and it looks like they removed the finalizer and the 2 dispose methods
  • Patch 1475 Readme.htm
    • Contains installation instructions and details on the issue

Here are the installations instructions, excerpted from the Readme file:

  1. Copy the included file ConfigurationManager.cs into [Enterprise Library Installation Directory]\src\Configuration. By default, Enterprise Library is installed to "C:\Program Files\Microsoft Enterprise Library". A file with the same name will already exist in the location. If you have made any updates to this file yourself, you should make a backup copy first.
  2. Open up EnterpriseLibrary.sln in Visual Studio .NET, either by opening the file from the .\src folder or choosing the "Enterprise Library Solution" shortcut on the Start Menu.
  3. Choose Build Solution from the Build menu to rebuild all projects in the Enterprise Library solution.
  4. Verify the solution successfully builds and close Visual Studio .NET.
  5. Open the Start Menu, find the Enterprise Library folder and run the "Copy assemblies to bin directory script".
  6. Delete any other copies of Microsoft.Practices.EnterpriseLibrary.Configuration.dll that you have on your system, and replace them with the newly built version in .\bin directory.
  7. Recompile any applications that use Enterprise Library.

 

Read: Enterprise Library Patch


Topic: [Book of the month] Working effectively with legacy code Previous Topic   Next Topic Topic: Movies, The Ruby way

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use