DB2 - Problem description
Problem IC74291 | Status: Closed |
EXCEPTIONS "THE SPECIFIED ARGUMENT IS OUT OF RANGE" OR "SYSTEM.A RGUMENTOUTOFRANGEEXCEPTION" ARE REPORTED FROM .NET APPLICATION W | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Exceptions "The specified argument is out of range" or "System.ArgumentOutOfRangeException" are reported from .NEt application when running a simple select statement from the Editor. .NEt trace shows the error as well. IBM.Data.DB2.DB2Exception: ERROR [58005] [IBM][DB2.NET] SQL0902 An unexpected exception has occurred in Process: 3888 Thread 19 AppDomain: Name:Toad.exe No context guidelines available. Function: DB2DataReader.Read() CallStack: bei System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) bei System.Environment.get_StackTrace() bei IBM.Data.DB2.DB2ConnPool.HandleUnknownErrors(String strFncMsg, Exception exception, Boolean bThrow) bei IBM.Data.DB2.DB2DataReader.Read() bei Quest.Toad.Db.ToadDataAdapter.InternalReadBackground() bei Quest.Toad.Db.ToadDataAdapter.InternalFillBackground() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() InnerException Message: The specified argument is out of range. Check InnerException property for more detail. SQLSTATE=58005 Stack trace: bei IBM.Data.DB2.DB2ConnPool.HandleUnknownErrors(String strFncMsg, Exception exception, Boolean bThrow) bei IBM.Data.DB2.DB2DataReader.Read() bei Quest.Toad.Db.ToadDataAdapter.InternalReadBackground() Outer exception: Quest.Toad.Exceptions.DatabaseException: DB2 Database Error | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All Users * **************************************************************** * PROBLEM DESCRIPTION: * * Exceptions "The specified argument is out of range" or * * "System.ArgumentOutOfRangeException" are reported from .NET * * application when running a simple select statement from the * * Editor. * * The .NET trace shows the error as well. * * * * IBM.Data.DB2.DB2Exception: ERROR [58005] [IBM][DB2.NET] * * SQL0902 An unexpected exception has occurred in Process: * * 3888 Thread 19 AppDomain: Name:Toad.exe * * No context guidelines available. * * Function: DB2DataReader.Read() * * CallStack: bei System.Environment.GetStackTrace(Exception * * e, Boolean needFileInfo) * * bei System.Environment.get_StackTrace() * * bei IBM.Data.DB2.DB2ConnPool.HandleUnknownErrors(String * * strFncMsg, Exception exception, Boolean bThrow) * * bei IBM.Data.DB2.DB2DataReader.Read() * * bei Quest.Toad.Db.ToadDataAdapter.InternalReadBackground() * * bei Quest.Toad.Db.ToadDataAdapter.InternalFillBackground() * * bei * * System.Threading.ThreadHelper.ThreadStart_Context(Object * * state) * * bei System.Threading.ExecutionContext.Run(ExecutionContext * * executionContext, ContextCallback callback, Object state) * * bei System.Threading.ThreadHelper.ThreadStart() * * InnerException Message: The specified argument is out of * * range. Check InnerException property for more detail. * * SQLSTATE=58005 * * * * Stack trace: * * * * bei IBM.Data.DB2.DB2ConnPool.HandleUnknownErrors(String * * strFncMsg, Exception exception, Boolean bThrow) * * bei IBM.Data.DB2.DB2DataReader.Read() * * bei Quest.Toad.Db.ToadDataAdapter.InternalReadBackground() * * * * Outer exception: * * * * Quest.Toad.Exceptions.DatabaseException: DB2 Database Error * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 9.7 fixpack 5 * **************************************************************** | |
Local Fix: | |
Workaround is to change timestamp values containing ALL-zeroes to a different valid TIMESTAMP value. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Solution | |
Problem First Fixed in DB2 version 9.7 fixpack 5 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.02.2011 20.01.2012 20.01.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP5 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.5 |