Missing Files and Incorrect database schema

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.
4/26/2007 9:35:11 AM
Gravatar
Total Posts 3

Missing Files and Incorrect database schema

 

Hi all,

 

 I've just tried to install mojo for evaluation purposes, and i've got 2 errors.

The code stops on an exception because the following files are not in the source zip
The file at '/Controls/PageTitle.ascx' does not exist.

The database schema sql scripts are not up to date with the site, I get the following pag

mojoPortal Setup
Database Platform MSSQL
Database Code Version 2.2.1.8
Database Schema Version 2.2.1.6
Status You need to upgrade the Database Schema to make it the same version as the code.

Can anyone give me an idea on how to fix these? I've looked for the upgrade script, but there is nothing that I can find.

Cheers

Dave.

 

4/26/2007 9:46:45 AM
Gravatar
Total Posts 18439

Re: Missing Files and Incorrect database schema

Was this a clean install or an upgrade? My guess is an upgrade. PageTitle was changed from a UserControl (.ascx) to a WebControl (no .ascx is used). If you are getting that error my best guess is your web.config is an old version as the control declaration under the pages section was changed in this version to reflect the change from usercontrol to webcontrol for several controls inlcuding PageTitle. Please compare your Web.config to the one included in the download.

As for the version issue, it should automatically update when the application starts as long as you deployed all the files. Specifically, make sure webroot/Setup/SchemaUpgradeScripts/mssql/mojoportal-core folder exists and that it contains files named 2.2.1.7.config and 2.2.1.8.config

If those files exist try recycling the app by typing a space into web.config and save. Or actually fixing the control declarations mentioned above will cause the app to recycle so it should upgrade.

Hope it helps,

Joe

 

4/26/2007 9:50:08 AM
Gravatar
Total Posts 3

Re: Missing Files and Incorrect database schema

Thanks for the quick reply,

  It was a clean install, but I added the Ajax addon into it.  I'll delete it all and just try the vanilla site.

 

Dave,

4/26/2007 9:54:29 AM
Gravatar
Total Posts 18439

Re: Missing Files and Incorrect database schema

Oh, that is my bad. I thought I fixed the Web.config in the ajax pak but I see it still has a lot of those control references that need to be removed. I'll fix that and upload the ajax pak again.

I'll post again once I've uploaded the file.

Thanks,

Joe

4/26/2007 10:17:00 AM
Gravatar
Total Posts 18439

Re: Missing Files and Incorrect database schema

I've uploaded a new ajax extensions pak with the corrected Web.config.

Thanks,

Joe

4/26/2007 11:14:26 AM
Gravatar
Total Posts 3

Re: Missing Files and Incorrect database schema

 

 Still no joy,

 

 I deleted everything and reinstalled, new database, scripts etc.

 Vanilla site works ,  can log in modify content etc.

 Downloaded the new AJAX extension, the Exception's gone but I'm still getting the Upgrade warning.

 The problem is in the mypage.aspx file, however I don't have time to look for it at the moment, I'll try and find out what's wrong with it tomorrow morning.

Thanks for the help.

Dave

 

 

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