|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Exception message using EnterpriseLibrary.DataIn the profiler I can see that the sql i fired in the sql database. Imports Microsoft.Practices.EnterpriseLibrary.Data Dim db As Database = DatabaseFactory.CreateDatabase Dim cmd As DBCommandWrapper = db.GetSqlStringCommandWrapper(sql) Dim ds As DataSet = db.ExecuteDataSet(cmd) I'm getting the following ex.Message: "The type initializer for "Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataCommandFailedEvent" threw an exception." I'm not sure what this is all about! \M Sorry. I've put
the <enterpriselibrary.configurationSettings node in my web.config inside the <appSettings> node. On Wed, 29 Mar 2006 13:57:55 +0200, wapsiii <waps***@otmail.com> wrote: Show quote >I'm getting an exception message using EnterpriseLibrary.Data block. > >In the profiler I can see that the sql i fired in the sql database. > >Imports Microsoft.Practices.EnterpriseLibrary.Data > >Dim db As Database = DatabaseFactory.CreateDatabase >Dim cmd As DBCommandWrapper = db.GetSqlStringCommandWrapper(sql) >Dim ds As DataSet = db.ExecuteDataSet(cmd) > >I'm getting the following ex.Message: > >"The type initializer for >"Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataCommandFailedEvent" >threw an exception." > >I'm not sure what this is all about! > >\M |
|||||||||||||||||||||||