Last post Aug 19, 2008 01:55 PM by dcwhisen
Aug 19, 2008 01:20 PM|Khushbu84|LINK
Hi, I am trying the sollowing code.
And I get the exception on the ExecuteReader line.
The type initializer for 'Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent' threw an exception.
I tried to run Install Services and Build Enterprise Library under EnterpriseLibrary but I am still getting the exception.
Please can anyone help me out?
Aug 19, 2008 01:43 PM|dcwhisen|LINK
Not sure if this is it or not. But where are you opening the actual connection to the database?
Aug 19, 2008 01:50 PM|Khushbu84|LINK
I am opening the connection to the database in datacinfurigation.config like:
FYI - It was working fine before I changed my machine. I dont know if it is ralated to my new machine.
Aug 19, 2008 01:55 PM|dcwhisen|LINK