[Mono-dev] xsp issu

Marek Habersack grendello at gmail.com
Wed Feb 20 11:00:22 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 20 Feb 2008 09:58:06 +0530
"Sharique uddin Ahmed Farooqui" <safknw at gmail.com> wrote:

> HI,
Hi,

> I run with xsp2, it get this error.
> Server Error in '/' Application
> ------------------------------
> *Cannot cast from source type to destination type.*
> 
> *Description: *Error processing request.
> 
> *Error Message: *HTTP 500. System.InvalidCastException: Cannot cast from
> source type to destination type.
> 
> *Stack Trace: *
> 
> System.InvalidCastException: Cannot cast from source type to destination type.
>   at System.DateTime.System.IConvertible.ToInt32 (IFormatProvider
> provider) [0x00000]
>   at System.Convert.ToInt32 (System.Object value, IFormatProvider
> provider) [0x00000]
>   at System.Convert.ToInt32 (System.Object value) [0x00000]
>   at System.Data.Common.AbstractDataContainer+Int32DataContainer.set_Item
> (Int32 index, System.Object value) [0x00000]
>   at System.Data.DataColumn.set_Item (Int32 index, System.Object
> value) [0x00000]
It's impossible to say what the issue is without the application source, but the
problem in this case might be either in the data you feed System.Data with, or in
System.Data itself.

best regards,

marek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHvE6Wq3909GIf5uoRAjB1AJ0fWqjxa80U/Ugn4y1daO8WZZOrmACeMAp5
NZRRqEvmnbTmbeRnjVJSwZg=
=1eQh
-----END PGP SIGNATURE-----


More information about the Mono-devel-list mailing list