W
wapsiii
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
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