Upgrade to version 2.1 from version 2.0

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Oct/2016, at 17:27

READ THIS FIRST: Overview of changes in version 2.1

Firstly read the breaking changes for the version 2.1 and then prepare an upgrade plan.

Then, do all the following - if it applies on your GN4 system - BEFORE you start the upgrade!

ON THE SERVERS AND CLIENTS

Provide to install the .Net Framework 4.5.1 and run-time libraries for VS 2013 on all GN4 servers and workstations. Moreover, on the workstations of the users who maintain the scripts and compile them, install the Visual Studio Express 2013.

ON THE SERVERS

Set all the GN4 related applications pools on all your IIS servers to integrated mode

Click to toggle graphic size

On the server import a new categoryset::

srv4 import C:\Tera\GN4\Main\config\Data\GN4\ContentPosCategories.xml

You can do this also before updating database to 2.1.

Alternatively, update your editorial_updateconfig.xml with this line:

<DataFile>Data\GN4\ContentPosCategories.xml</DataFile>).

If your GN4 system communicates with the external systems that rely on SOAP calls to the GN4 Web service, convert all the calls from or to the external systems into the REST interface.

If your GN4 servers uses Windows authentication, take a note that in version 2.1 GNPortal needs "Forms authentication" enabled but client apps need it disabled. Please create two different web apps to use both of them. No problems for I4.

To be able to search articles, images, audios and videos by published status, or articles and editorial images by linked status, you need to load the new standard GN4.XSD schema (upgrade the database with it) and load the new standard TED4_CONFIG.XML and SHELL4_CONFIG.XML. If such files are customized on your system, then you need to compare your version with the newest versions, and apply changes as stated in Search by published status and Search by linked status.

IF YOUR SYSTEM HAS MODIFIED CUSTOM ADD-INS:

The system functions IsImageUsedInEdition and IsImgUsedInEdition now returns a string instead of Boolean. Update your custom add-ins accordingly if you were using the,.

Some OpenDesignerXXX() functions wrongly inverted two parameters (object type and open mode). Now, the parameter list was aligned as follows: Function OpenDesigner(ByVal id As Integer, ByVal objectTypeName As String, ByVal openMode As OpenMode) As IDesigner. When upgrading, update your custom add-ins accordingly if you were using them: simply invert "object type" and "open mode" where there is a compile error on an OpenDesigner() call.

The EOK, EFAILED, ECANCELLED, SwitchOff, SwitchOn, SwitchToggle, SwitchUpper, SwitchLower, modeSame, modeJust, modeSrcOn, modeSrcOff, cposBegin, cposEnd, cposCursor, cposSelBegin, cposSelEnd, tptUnknown, tptText, tptInCmd, tptStartCmd, tptEndCmd, tptPara, tptForcLine, tptSoftLine, tptSoftHyphen, tptBell, tptTab, tptStartTab, tptInvisible, tptInExtCmd, tptStartExtCmd, tptEndExtCmd, tptFirst, tptLast, jeleNone, jeleRule, jeleImg, ctUnknown , ctSimple, ctParaStyle, ctTextStyleBegin, ctTextStyleEnd, ctFirst, smallOff, smallOn, smallUpper, smallLower, tpTable, tpRow, tpCell, iCharHLimit, iLeadingLimit, iCharWLimit, iKerning, iVertScale are now renamed to GLOB.constantname, e.g. GLOB.EOK, GLOB.SwitchOff etc. Update your custom add-ins accordingly if you were using them.

See also

Upgrade to version 2.1 from version 1.6

Upgrade to version 2.1 from older versions