Upgrade to 2.2.4.3 - MS-SQL error

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.
12/26/2007 6:51:40 AM
Gravatar
Total Posts 11

Upgrade to 2.2.4.3 - MS-SQL error

When upgrading to version 2.2.4.3, I ran into an error with the MS-SQL upgrade script:

\Web\Setup\applications\mojoportal-core\SchemaUpgradeScripts\mssql\2.2.4.0.config

Lines 66-70 add a foreign key constraint to table mp_UserPages.  An error occurs: "There are no primary or candidate keys in the referenced table 'dbo.mp_Users' that match the referencing column list in the foreign key 'FK_mp_UserPages_mp_Users'."

I commented out the lines and the upgrade goes smoothly. 

Please let me know what, if anything, I should do to add the constraint if it is necessary.

Thanks,

Daven

Oh, there is also not a 2.2.4.3 upgrade script.  The scripts go up to 2.2.4.2.

12/27/2007 7:56:32 AM
Gravatar
Total Posts 18439

Re: Upgrade to 2.2.4.3 - MS-SQL error

2.2.4.3 is not a released version so you must be using svn. I'm not sure how the 2.2.3.4 files were not yet inlcuded in svn trunk but I see that is true.

I've added the scripts now so if you do svn update they should be there.

I woiuld check your db and see if there is a foreign key from mp_UserPages to mp_Users on UserGuid

Hope it helps,

Joe

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