Re: [Mono-dev] xsp issu

2008-02-20 Thread Marek Habersack
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 20 Feb 2008 09:58:06 +0530
Sharique uddin Ahmed Farooqui [EMAIL PROTECTED] 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) [0x0]
   at System.Convert.ToInt32 (System.Object value, IFormatProvider
 provider) [0x0]
   at System.Convert.ToInt32 (System.Object value) [0x0]
   at System.Data.Common.AbstractDataContainer+Int32DataContainer.set_Item
 (Int32 index, System.Object value) [0x0]
   at System.Data.DataColumn.set_Item (Int32 index, System.Object
 value) [0x0]
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-
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] xsp issu

2008-02-19 Thread Sharique uddin Ahmed Farooqui
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


Re: [Mono-dev] xsp issu

2008-02-19 Thread Zoltan Varga
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


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] xsp issu

2008-02-19 Thread Sharique uddin Ahmed Farooqui
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) [0x0]
  at System.Convert.ToInt32 (System.Object value, IFormatProvider
provider) [0x0]
  at System.Convert.ToInt32 (System.Object value) [0x0]
  at System.Data.Common.AbstractDataContainer+Int32DataContainer.set_Item
(Int32 index, System.Object value) [0x0]
  at System.Data.DataColumn.set_Item (Int32 index, System.Object
value) [0x0]


-
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