enterprise-library-5

Simple Enterprise Library console application refuses to compile

I just downloaded and installed Microsoft Enterprise Library 5.0. I fired up VS 2010 to play with EL 5 and created a very simple console application. However, it would not compile. I got the following error: The type or namespace name 'Data' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you miss...

Problem when trying to configure enterprise library 5.0 (Data Access Application Block)

Hi There Stackoverflow, I am running into some problems while trying to get DAAB from Enterprise library 5.0 running. I have followed the steps as per the tutorial, but am getting errors... 1) Download / install enterprise library 2) Add references to the blocks I need (common / data) 3) Imports Imports Microsoft.Practices.Enterprise...

Can you have a log file per user with Enterprise Library 5 in Asp.net Mvc 2?

There were 2 solutions suggested so far Environment variables using %username% in the filename section, and low level unmanaged code to accomplish it. Environment variables would be susceptible to pulling back only the user that is running the app (the server process login), not the form's login validated username or userGuid. Has this ...

Is Enterprise Library 5.0 backwards compatible with Enterprise Library 4.1?

Is Enterprise Library 5.0 backwards compatible with Enterprise Library 4.1? Can I just change the reference and have it work? ...

Change Timestamp value in enterprise library exception handling formatter

I am using enterprize library 5.0 with c# for exception handling and for that I am using formatter.Now In my log file Timestamp is not giving the right time. Can I change the value of timestamp in formatter. ...

Adventures on Enterprise Library 5.0: Who moved my cheese (namespace)

Jesus, Krishna, Budda! I've migrated to EntLib 5.0, but classes like ISymmetricCryptoProvider are not recognized anymore. Funny to say that Data, Logging and other blocks are working compiling fine. Here's the problematic class: using System; using System.Collections.Generic; using System.Text; using Microsoft.Practices.EnterpriseLibr...

Could not load type from assembly when trying to add a user control with dependencies to toolbox

I implemented a VB.NET user control that integrates features of the Microsoft Enterprise Library 5.0. The DLLs of the EntLib are not registered in the GAC - as suggested by MS. When I try to add my user control DLL to the Visual Studio 2008 ToolBox, I receive an error that basically tells me that it wasn't able to load a type from an ass...

[EntLib 5]: Logging between assemblies

I've got a project that I'm working Enterprise Library logging into, and that application is made up of multiple assemblies. The UI assembly, the domain assembly and some others. Is there a way to have the logging all go to the same location (in the case of rolling flat file)? Edit> Now that I look at it further, can you even use EntLib...

Having trouble with Logging Application Block (EntLib 5) on Windows Server 2003R2

Typical scenario, I am using EntLib 5.0-April 2010 Logging on my development machine and everything works like a charm, when I try to put in production on our web server, it does not work. Development machine is Windows 7 using VS2008. Production server is Windows Server 2003 R2 with Microsoft .NET Framework 3.5 with Service Pack 1. ...