Strange Error
-
IErrorInfo.GetDescription failed with DB_E_NOLOCALE(0x80040E41). Is anyone know what is it, and how to prevent that in our ASP.NET app ? :confused: MTS & MSMQ ?
-
IErrorInfo.GetDescription failed with DB_E_NOLOCALE(0x80040E41). Is anyone know what is it, and how to prevent that in our ASP.NET app ? :confused: MTS & MSMQ ?
Hi, Are you using OLE DB for the db connection or SQL Server? I've researched this error and it appears to be tied with OLE DB. You can read more about the IErrorInfo.GetDescription method here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/oledbierrorinfo__getdescription.asp[^] From the docs, it says the following about DB_E_NOLOCALE error code: DB_E_NOLOCALE The locale ID specified by the lcid parameter in IErrorRecords::GetErrorInfo was not supported by the provider. If you are trying to use the
OleDbConnection
object, check the connection string to see if there's something missing. For more info on the connection string, go here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdataoledboledbconnectionclassconnectionstringtopic.asp[^] If you are using theSqlConnection
object, read the connection settings here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatasqlclientsqlconnectionclassconnectionstringtopic.asp[^] If you need more help, don't hesitate to ask. ~javier lozano (blog)