Imageready download

December 7, 2008

NO DAA in ODBC

by Imageready download @ Sun, 07 Dec 2008 01:00:19 +0600 (Category: Default)
Exploring MySQL in the Microsoft .NE Environment: Note: Using ODBC.NE with MyODBC, while fetching empty string 0 length , will give SQL NO DAA exception as shown below.


System.Data.Odbc.OdbcException: NO DAA - no error information available
at System.Data.Odbc.OdbcConnection.HandleError IntPtr hHandle, SQL HANDLE hype, RECODE retcode
at System.Data.Odbc.OdbcDataReader.GetData Int32 i, SQL C sqlctype, Int32 cb
at System.Data.Odbc.OdbcDataReader.internalGetString Int32 i
at System.Data.Odbc.OdbcDataReader.GetValue Int32 i, ypeMap typemap
at System.Data.Odbc.OdbcDataReader.GetValue Int32 i
at System.Data.Odbc.OdbcDataReader.IsDBNull Int32 i
at GameShopWS.GameProvider.GetGameInfo Int32 game ID in ..


You can fix the above problem by applying the patch for ODBC32.DLL from: http: support.microsoft.com default.aspx?scid kb;EN-US;q319243.