[Mono-dev] xsp issu
Sharique uddin Ahmed Farooqui
safknw at gmail.com
Tue Feb 19 23:28:06 EST 2008
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]
-------------
On Wed, Feb 20, 2008 at 2:38 AM, Zoltan Varga <vargaz at gmail.com> wrote:
> Hi,
>
> Try running it with xsp2 instead of xsp.
>
> Zoltan
>
> 2008/2/18 Sharique uddin Ahmed Farooqui <safknw at gmail.com>:
> > Hi,
> >
> > I have created a simple web application with a grid view. I compile it
> with
> > monodevelop rc1 (0.19). When I run with xsp it gives following error.
> >
> > ** (/usr/lib/mono/1.0/xsp.exe:22442): WARNING **: The class
> > System.Web.UI.WebControls.GridView could not be loaded, used in
> System.Web,
> > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
> >
> > I have set project profile to be .net 2.0.
> > but it still looks in mono /1.0 , can somebody explain why?
> >
> > --
> > Sharique uddin Ahmed Farooqui
> > (C++/C# Developer, IT Consultant)
> > A revolution is about to begin.
> > A world is about to change.
> > And you and I are "the initiator".
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
>
--
Sharique uddin Ahmed Farooqui
(C++/C# Developer, IT Consultant)
A revolution is about to begin.
A world is about to change.
And you and I are "the initiator".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080220/324dcdb8/attachment.html
More information about the Mono-devel-list
mailing list