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 <[EMAIL PROTECTED]> wrote: > Hi, > > Try running it with xsp2 instead of xsp. > > Zoltan > > 2008/2/18 Sharique uddin Ahmed Farooqui <[EMAIL PROTECTED]>: > > 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@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".
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list