mojoPortal is no longer supported on mono. This forum is here for archival purposes.
Hi for all.
I try update my mojoportal and I get this error
Server Error in '/' Application Cannot cast from source type to destination type.
Description: HTTP 500. Error processing request.
Stack Trace:
System.InvalidCastException: Cannot cast from source type to destination type. at mojoPortal.Web.SiteModuleControl.OnInit (System.EventArgs e) [0x00000] at mojoPortal.Web.ContentUI.HtmlModule.OnInit (System.EventArgs e) [0x00000] at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] at System.Web.UI.Control.AddedControl (System.Web.UI.Control control, Int32 index) [0x00000] at System.Web.UI.ControlCollection.Add (System.Web.UI.Control child) [0x00000] at mojoPortal.Web.UI.Pages.SiteHome.LoadPage () [0x00000] at mojoPortal.Web.UI.Pages.SiteHome.Page_Load (System.Object sender, System.EventArgs e) [0x00000] at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] at mojoPortal.Web.mojoBasePage.OnLoad (System.EventArgs e) [0x00000] at System.Web.UI.Control.LoadRecursive () [0x00000] at System.Web.UI.Page.ProcessLoad () [0x00000] at System.Web.UI.Page.ProcessPostData () [0x00000] at System.Web.UI.Page.InternalProcessRequest () [0x00000] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
Hi Juliano,
I have posted a new build for mono that should be better. Go to http://developer.novell.com/wiki/index.php/Mojoportal
and download the mojoportal-2-3-0-3-preview-pgsqlreleasefiles-for-mono.zip
Hope it helps,
Joe