Update iussue from 2.3.5.4 to 2.3.9.7

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.
6/30/2013 1:52:50 PM
Gravatar
Total Posts 12

Update iussue from 2.3.5.4 to 2.3.9.7

Hello

updating from2.3.5.4 to 2.3.9.7 I got this problem:

Verifica del sistema...
Privilegi del File system ok.
MSSQL connessione al database ok.
i privilegi per il database sono sufficienti per modificare lo schema.
lo schema database iniziale gia' esistente.
lo schema centrale del database necessita aggiornamento.
1 sito(i) trovati.
Questo sito sembra operare in un ambiente protetto che usa policy Medium Trust o, almeno, inferiori a Full Trust.



Esecuzione script mojoportal-core - 2.3.5.6 - 00:00:00.0781305
System.Data.SqlClient.SqlException: Invalid object name 'dbo.mp_Modules_SelectByPage'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at mojoPortal.Data.SqlHelper.ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, String commandText, Int32 commandTimeout, SqlParameter[] commandParameters) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(FileInfo scriptFile, String overrideConnectionInfo) at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:00:00.0937566
Nota: Questa pagina mostra alcune informazioni che sono utili durante l'installazione e gli aggiornamenti , ma per sicurezza sarebbe meglio non mostrare tutte le informazioni quando il sistema e' aggiornato. E' possibile disattivare la configurazione e sopprimere tutte le informazioni su questa pagina impostando DisableSetup = true in Web.config. Quando e' necessario eseguire l'aggiornamento, e' possibile impostare nuovamente questo valore a false. Se sei collegato come amministratore di installazione verra' eseguito e sarai in grado di vedere questa pagina, anche se e' disabilitato nel Web.config, in modo che tu possa facilmente lasciarlo disabilitato e fare il login appena prima di aggiornare. Ma se non si e' effettuato l'accesso e' necessario abilitarlo in WebConfig per consentire l'esecuzione.

How I can fix this problem?

 

 

7/1/2013 10:05:00 AM
Gravatar
Total Posts 18439

Re: Update iussue from 2.3.5.4 to 2.3.9.7

2.3.5.4 is a very old version from 2008

It seems like your database user is not dbo (database owner)

I would look in the database and see if your tables and stored procedures have a different prefix than dbo ie in my database things are named like dbo.TableName or dbo.StoredProcedure name

If you have something else for a prefix you might try changing this setting in web.config so it matches your prefix

<add key="MSSQLOwnerPrefix" value="[dbo]." />

ie try changing it to 

<add key="MSSQLOwnerPrefix" value="[yourprefix]." />

where yourprefix is replaced by whatever your real prefix is. 

Then try visit the setup page again.

Hope that helps,

Joe

7/1/2013 1:43:00 PM
Gravatar
Total Posts 12

Re: Update iussue from 2.3.5.4 to 2.3.9.7

Joe,

Thank you very much

your suggestion allowed me to fix the problem. (I have replaced the dbo string with database name )

I have updated "aruba Mojoportal 2.3.5.4" to 2.3.9.7 successfully,

I have found only a minor problem after the update :  Site Title and Site slogan are moved in a wrong position with wrong Font and size too.

7/1/2013 1:59:58 PM
Gravatar
Total Posts 18439

Re: Update iussue from 2.3.5.4 to 2.3.9.7

For design problems you should start by working through all the changes listed in Important Skin Changes

If that does not solve it then you need to use web browser dev tools to to find out what css is being applied and make any needed changes to css

Hope that helps,

Joe

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