WinDbg – Failed to load data access DLL

I recently had to look at the  memory consumption of a .NET process (running as a service). The process memory was growing up and we wanted to see how the memory was used  (on a Windows 2003 SP2-32 bits server machine).

Using WinDbg, we created a dump of the process memory. Then I tried to look at it on my development machine (Windows XP SP2, 32 bits) and I got the error message “Failed to load data access DLL, 0x80004005“. The error was about the version of “mscordacwks.dll“.

Read the full post »


WPF – Displaying “Flags” (Enums as Flags)

I started using WPF about a year ago. I liked the way the WPF team managed to split the behaviour of controls from their graphical rendering. This is very powerful and one of the area of ambiguity in the past where logic code ended up in the UI part of your application, making the maintenance more complex and breaking things a lot easier.

During that “learning journey of WPF”, I went through some “challenges” (or issues, depending on how you see the half-full/empty glass of water). This is my first blog to keep track of some of those “challenges” and shared them.

Recently, I had to present to the end user a “list” of choices to filter out items from another control. I used an enumerated type with the “Flags” attribute to define the possible distinct choices. Read the full post »

Am I Admin?

This is a quick sample code that I used quite often on customer sites:

  1. To Check whether or not I am a local admin on my machine.
  2. To quickly list what Windows groups my user account is part of.

Read the full post »

Excel DNA

Recently I was looking at technologies for “Excel Addins” and come across “Excel DNA” (used by some of my colleagues). It is a free framework with a very permissive open-source license.

My need was to be able to consume a WCF service (.NET 3.0) from some VBA code in Excel 2007. Excel-DNA helped to make the final solution very easily. I did a prototype Read the full post »

Layer model diagram – a new way to view and test your Application

Layer diagram sample Happy new year to all !!

First post of the year – On my “2011 year To-dos list”, I have got “Make at least one post per month”. We will see.

I already mentioned the new Layer model diagram in Visual Studio 2010 on a previous post (TechEd 2010 – Day #3). At the time I created a model diagram using one of my current projects (SteelVersion) and here is the result: Read the full post »

TechEd 2010 – Day #4

Today, I went to 4 sessions.


First one was presented by Dino Esposito and about “Managed Extensibility Framework (MEF) in Action”. MEF is now part of .NET 4.0 framework

The primary role of MEF is to extend the application at runtime. As a framework, it is to improve productivity by providing the required features for extensibility and dicosvery. Read the full post »

TechEd 2010 – Day #3

Visual Studio 2010I started the day with the session presented by Peter Provost about “Architecture Discovery with Visual Studio 2010 Ultimate”.

He did a demo on the dependency feature –  a great visual way to look at your code and navigate through it. The dependency file format is XML, more specifically DGML (Directed Graph Markup Language).

He went on presenting the “Layer model diagram”. I never used it before, but definitely I will. As an Architect you can now draw “boxes and lines” in a diagram that can not only be used to communicate with the team, but also use it to validate your architectural design at compilation time. Read the full post »

TechEd 2010 – Day #2

PeopleToday, the rally of sessions started.

The first one was on “Code First Development with Entity Framework (EF)“. EF v4.0 is still a new product, but for RAD (Rapid Application Development) this can help to quickly create a new project and have a sense of the data model in a short period of time. However, the feature that “re-creates” the database everytime you launch the application must not be delivered into Production (right now, you must implements the logic in the configuration or comment that part of the code before building the application and shipping it into Production).

Open Data Protocol slideNext, I went to “Open Data for the Open Web” (OData) – speaker: Jonathan Carter – Excellent session. Read the full post »

TechEd 2010 – Day #1

Windows Phone 7

Today, I attended Jaime Rodriguez ( sessions on Windows Phone 7. Great sessions!!

Some of my notes:

  • Main goals of Windows Phone 7:
    • “End users” first (or at the center). Two aspects:
      • METRO : Like in the subways stations, a pure and simple iconography can make a lot of sense to many people, i.e. they understand how to move around on the transports (not always easy to get started, but here in Berlin looking at the signs it was easy for mr to follow and get on the trains – I am french, and the principle worked). Read the full post »

TechEd 2010 Europe @ Berlin

Messe Berlin

Messe Berlin

This year, the Messe Berlin is hosting the “TechEd 2010” event in Europe. Around 6,000 people are attending this year.

I am coming to this event mainly to attend some Architecture, Development and Technical tracks on : Windows Phone 7, C# 5.0, Entity Framework, MEF (Managed Extensibility Framework), Windows Server AppFabric Cache and Memory Management.

Yesterday, on my way to the event I met the Bogdanov’s brothers, Igor and Grichka, at Charles De Gaulle Airport. They were on their way to Vienna and spare a couple of minutes for the picture. Their “Temps X” (Time X) fans will appreciate:

Today, Monday is the Pre-conference day and I am going to attend the sessions on “Windows Phone 7”. My friend Bruno B. is attending the sessions on Silverlight 4.0.

%d bloggers like this: