Could not load type 'mojoPortal.Web.UI.Pages.SiteHome'.

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.
10/29/2009 4:59:35 PM
Gravatar
Total Posts 8

Could not load type 'mojoPortal.Web.UI.Pages.SiteHome'.

Just tried upgrading MSSQL upgrade of an existng site from maybe 2.3.0.3 or so to the latest version (sorry don't remember exact version).

Unzipped/replaced entire contents, tweaked user.config mssql db connection setting, ran /setup/default.aspx, but now when trying to hit the home page I get:

Could not load type 'mojoPortal.Web.UI.Pages.SiteHome'.

What could be causing this?  Something didn't get copied to bin?  Something cached?

Help?!

 

10/29/2009 5:23:42 PM
Gravatar
Total Posts 8

Re: Could not load type 'mojoPortal.Web.UI.Pages.SiteHome'.

Well, I got to thinking the install didn't seem like it did much.

So, I did an iisrestart (yes on a prod server) :(

Then I re-copied the setup and the other folders, then re-ran the setup.  It did quite a bit more, and seemed to finish.

However now when hitting the home page after the setup, I get:

The name 'ShowDate' does not exist in the current context

Help?!

 

10/29/2009 5:40:31 PM
Gravatar
Total Posts 18439

Re: Could not load type 'mojoPortal.Web.UI.Pages.SiteHome'.

The only time I ever see an error like this is when you are using source code instead of the pre-compiled deployment files and you have not compiled the code.

If you use source code you must re-build the mojoportal.sln in Visual Studio, then visit /Setup/Default.aspx to run upgrade scripts.

Hope it helps,

Joe

10/29/2009 5:43:53 PM
Gravatar
Total Posts 8

Re: Could not load type 'mojoPortal.Web.UI.Pages.SiteHome'.

Strangeness.  I ended up just doing another iisreset and completely re-installing all files from the zip extract.

Then, did the setup and then to the home page and all seemed to work.

Must have been something happened opening the zip file and doing copy/paste vs just doing an extract.

Oh well, all looks good now :)

Thx

 

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