Nov 25, 2011 at 9:08 PM
Edited Nov 25, 2011 at 10:05 PM
I send to you an email with the code.
It could be a dll problem ? for example with Microsoft.Practices.ServiceLocation.dll
Another thing that I did, was to test the Enterprise Library 5.0 - Hands On Labs in especial the DAAB. I tried with the first exercise, the one that is completed and it worked fine.
Then I tried with the first exercise, the one that is not completed and it did not worked. The difference that I saw was that CustomerManagement.exe.config file was generated,
and when I build the solution that I completed, the CustomerManagement.exe.config file was not generated, So I copied and pasted the file from one solution to another and it worked.
Why when I build the solution the CustomerManagement.exe.config file is not generated ?
This fixed the first error : "Activation error occured while trying to get instance of type Database, key \"\""