Cannot cast from source type to destination type.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/26/2008 4:43:49 AM
Gravatar
Total Posts 8

Cannot cast from source type to destination type.

hello, my installation this ok, current error:

 

mojoPortal Content Management System Welcome to mojoPortal Setup
Probing system...
File system permissions ok.
pgsql database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema is up to date.
1 site(s) found.
Configuring feature Html Content - 00:00:00.2836760
Configuring feature Site Statistics - 00:00:00.3470040
Configuring feature Blog - 00:00:00.5320670
Configuring feature Contact Form - 00:00:01.4130050
Configuring feature Event Calendar - 00:00:01.5458710
Configuring feature Feed Manager - 00:00:01.8145700
Configuring feature Image Gallery (Simple Folder Version) - 00:00:02.2093970
Configuring feature Forums - 00:00:02.2813550
Configuring feature Google Map - 00:00:02.3824940
Configuring feature Html Fragment Include - 00:00:02.6024460
Configuring feature Image Gallery - 00:00:02.6894810
Configuring feature Links - 00:00:02.8845740
Configuring feature Poll - 00:00:03.0004360
Configuring feature Shared Files - 00:00:03.0978050
Configuring feature Survey - 00:00:03.2145670
Configuring feature Xml/Xsl - 00:00:03.2670190
Ensuring all features are installed in server admin sites... - 00:00:03.3469180
Setup is complete, click the link below to go to the home page.
Site Home Page

Database Platformpgsql
Version2.2.7.9
StatusYour installation is up to date.

Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

 

HOME PAGE

 

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

 

what is this??

help me?

12/27/2008 7:45:45 AM
Gravatar
Total Posts 18439

Re: Cannot cast from source type to destination type.

Hi,

Please post Mono related issues in our Linux/Mono forum. Also please indicate your OS and version of Mono installed. As a rule of thumb you really need to be on the very latest version of Mono, 2.0 or 2.2 (this is not the same version as you see at the bottom of the error), or build Mono from svn.

Best,

Joe

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