Upgrade error

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.
9/30/2013 7:10:38 PM
Gravatar
Total Posts 63

Upgrade error

Trying to upgrade to 2.3.9.9 and got this error:

Violation of PRIMARY KEY constraint 'PK_mp_SiteSettingsExDef'. Cannot insert duplicate key in object 'dbo.mp_SiteSettingsExDef'. 

Please help.

Clean install is not an option cuz there are lots of files and contents stored in DB.

Thank you.

9/30/2013 8:31:04 PM
Gravatar
Total Posts 18444

Re: Upgrade error

Hi,

Whatever script number it is erroring on on the setup page, to get past it you're going to have to chop that part out of the upgrade script.

Script files are located at:

/Setup/applications/mojoportal-core/SchemaUpgradeScripts/mssql

​they are named by version number .config

Edit the file with a text editor and chop out the part it is complaining about.

Hope that helps,

Joe

10/4/2013 8:42:07 AM
Gravatar
Total Posts 63

Re: Upgrade error

Strangely, the version stored in database does not match my current version. I manually change the database version information then the upgrade went through. Thank you.

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