We have an ASP.Net (C#) application that occasionally (as in we're fine
for weeks, and then it will happen) will start to throw an
InvalidCastException (stack trace below). We've tried Googling the
MapSQLTypeToiDB2DbType and there are no hits. Anyone seen this error
happen? Any ideas on how to fix? It's on a simple select statement
selecting 3 columns from a table, a char, a decimal, and a char column,
and the code runs w/out a problem most of the time. It's as if the i is
returning different meta data for one of those columns at some point.
Once it starts we need to kill the asp.net process to get it fixed.
-Walden
[InvalidCastException: The data type returned is currently not supported
by the provider.]
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.