InvalidCastException Error in PageSettings.aspx

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/31/2005 12:49:36 PM
Gravatar
Total Posts 45

Re: InvalidCastException Error in PageSettings.aspx

I receive the following invalid cast exception error in PageSettings.aspx when changing the Page Name field. The name does get changed but the error message appears as well.? IE and FireFox get the same results.

http://demo.mojoportal.com (MySQL) and http://demo2.mojoportal.com (PostgreSQL) get the same results as well.

System.InvalidCastException: Cannot cast from source type to destination type.
in <0x0001d> System.DBNull:System.IConvertible.ToInt32 (IFormatProvider provider)
in <0x00086> System.Convert:ToInt32 (System.Object value, IFormatProvider provider)
in <0x00016> System.Convert:ToInt32 (System.Object value)



9/1/2005 2:07:48 PM
Gravatar
Total Posts 18439

Re: InvalidCastException Error in PageSettings.aspx

Todd,

There were a few bugs in the pgsql sotred procs that are now fixed in svn and also in the download files. Just run the stored proc script on your db to fix this.

Thanks,

Joe
6/15/2006 4:29:13 PM
Gravatar
Total Posts 146

Re: InvalidCastException Error in PageSettings.aspx

Hello Joe.

I have the same error message. But the rare thing is that the same application work fine in windows, but when a deploy into suse 10.1 (mod_mono 1.1.13) a get this error... I can't understand ?!.

(and again) Thanks in advance....
6/15/2006 4:31:53 PM
Gravatar
Total Posts 146

Re: InvalidCastException Error in PageSettings.aspx

This is the message:

Server error in '/' application


Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

System.Exception: Unhandled Exception while processing NeatUpload child request ---> System.InvalidCastException: Cannot cast from source type to destination type.
in <0x00033> System.DBNull:System.IConvertible.ToDateTime (IFormatProvider provider)
in <0x000da> System.Convert:ToDateTime (System.Object value, IFormatProvider provider)
in <0x0003e> System.Convert:ToDateTime (System.Object value)
in <0x004f5> mojoPortal.Business.Causa:CausaGet (Int32 folio)
in <0x0001a> mojoPortal.Business.Causa:.ctor (Int32 folioCausa)
in <0x0011f> mojoPortal.Web.Modules.Causas:BtnBuscarFolio_Click (System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x0008e> System.Web.UI.WebControls.Button:OnClick (System.EventArgs e)
in <0x0006d> System.Web.UI.WebControls.Button:RaisePostBackEvent (System.String eventArgument)
in <0x0001a> System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument)
in <0x0002e> System.Web.UI.Page:RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument)
in <0x00055> System.Web.UI.Page:RaisePostBackEvents ()
in <0x002af> System.Web.UI.Page:InternalProcessRequest ()
in <0x0010e> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)--- End of inner exception stack trace ---

in <0x00699> Brettle.Web.NeatUpload.UploadHttpModule:Application_BeginRequest (System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00646> System.Web.HttpApplication+<RunHooks>__0:MoveNext ()

6/15/2006 4:54:54 PM
Gravatar
Total Posts 146

Re: InvalidCastException Error in PageSettings.aspx

I am again.

Solved problem. I have reinitiated apache, I returned to make deploy complete and now it works well. Is rare or no?.

Thanks again.
You must sign in to post in the forums. This thread is closed to new posts.