CounterSoft Community Server

Welcome to CounterSoft Community Server Sign in | Join | Help
Home Forums

database update 3.0.3 -> 3.0.4

Last post 08-13-2008, 11:33 PM by mulmad. 8 replies.
Sort Posts:
  •  07-29-2008, 9:45 AM

    database update 3.0.3 -> 3.0.4

    Hi.

    We updated our gemini application from 3.0.3 to 3.0.4.
    Is there any sql script which we should run to update the database?

    Best regards
    Adam

  •  07-29-2008, 10:03 AM

    Re: database update 3.0.3 -> 3.0.4

    Yes, you will need to run create_views.sql and create_procs.sql
  •  07-29-2008, 10:21 AM

    Re: database update 3.0.3 -> 3.0.4

    Oh, yes. Thanks for all.

  •  08-04-2008, 1:16 PM

    Re: database update 3.0.3 -> 3.0.4

    any trouble?

  •  08-07-2008, 10:13 PM

    Re: database update 3.0.3 -> 3.0.4

    I did not have any trouble running the scripts, however I am currently experiencing an error with Gemini whenever it attemps to load most any of the pages.  In the error log, I get:

    Invalid column name 'viewtype'. Invalid column name 'viewtype'.

    SOURCE: .Net SqlClient Data Provider TARGETSITE: Void OnError(System.Data.SqlClient.SqlException, Boolean) STACKTRACE: 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.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Bool

    Aside from running the database scrips, I archived my previous web files and have the updated package in as the current app, as directed in the documentation.

  •  08-07-2008, 11:00 PM

    Re: database update 3.0.3 -> 3.0.4

    This error should only come up if you did not upgrade your database from 3.0.0.

    Run the 3.0.1 upgrade script.

  •  08-08-2008, 2:28 PM

    Re: database update 3.0.3 -> 3.0.4

    That did the trick.  I did not read in the upgrade instructions that I needed to patch from 3.0.0 to 3.0.1 before upgrading to 3.0.4.  To help keep this happening to someone else, could the 3.0.1 patch just be included in the database script for views in 3.0.4?

  •  08-08-2008, 6:40 PM

    Re: database update 3.0.3 -> 3.0.4

    Unfortunately no as database upgrades are not comulative. So we can't add the field twice.
  •  08-13-2008, 11:33 PM

    Re: database update 3.0.3 -> 3.0.4

    I've upgraded sucessfully from Gemini 3.0.3 (Build 1998) to Gemini 3.0.4 (Build 2026)

    1. backed up Gemini web application files
    2. backed up Gemini database
    3. copied over all web application files
    4. ran Create_Views.sql and Create_Procs.sql
    5. changed the connection string settings in the web.config

View as RSS news feed in XML