The upgrade procedure copies Ektron’s latest features to your Web server. Ektron is installed to its own folder, C:\Program Files (x86)\Ektron\
CMS400v93
If you are upgrading from version 8.00 or higher, follow the instructions in this section. If you are upgrading from an Ektron version prior to 8.00 and need assistance, please contact Ektron technical support.
For information about the current release's system requirements, see System Requirements. If necessary, upgrade your infrastructure before beginning the Ektron upgrade.
Consider the following information before upgrading:
The Site Setup utility uses files in the CMS400v9x
base folder to create and upgrade Ektron sites. The base folder contains these subfolders.
AssetManagement
. Folders and files for the Document Management FunctionalityBin
. Required .NET assembliesCMSServiceUpdate
. Files to update your servicesCommonFiles
. Application Global Resources, Web References and Starter Application filesDocumentation
. Documentation. The site setup procedure copies this directory to the workarea
directory when setting up a site.EktronAsyncProcessor_Service
. Files needed to add Asynchronous Processor for Web AlertsStarterSites
. Files for starter sites that have been addedStudioHelp
. Files for adding API help to Visual StudioSyncUpdate
. Files to update eSyncUtilities
. Utilities for Workarea
. Scripts used for the WorkareaNOTE: The contents of this folder are later copied to a website folder, typically in the Web server’s Web root. The sample provides a good way to learn how to work with an Ektron site.
To protect your database, back it up before upgrading. During the upgrade, Ektron attempts to back up your database. If that fails, use the following MSDN link for instructions on backing up and restoring your database via SQL Server.
NOTE: On that web page, links for restoring a backed-up database are at the bottom of MSDN resources.
Before restoring a SQL database, either stop the Ektron Windows service or force all connections closed. You need to do this because the Ektron Windows Service accesses the database. To view and update the status of the service, go to Computer Management > Services and Applications > Services. For more information, see Handling background processing functions with the Ektron Windows Service.
The upgrade procedure performs these tasks.
WARNING! Any customized files in these folders will be lost. So, only store custom files in these folders when absolutely necessary. Even then, keep a backup of customized files in another folder.
web.config
file.NOTE: The upgrade automatically starts the IIS and Search services.
NOTE: This step is only relevant if you are using Microsoft Search Server 2010 on a server that is different from your Ektron server.
For Microsoft Search Server 2010 to index your Ektron assets, they must be copied from the Web server to the Search Server. This process is handled in the background once your site is up and running. However, if your site has a large number of assets, the initial copy may get clogged. To avoid this problem, inspect the size of your Ektron site's Assets folder. If it exceeds 1 gigabyte, follow these steps. Failure to do so may result in errors.
EktronSearchData
between C:\
and the beginning of the path. C:\inetpub\wwwroot\OnTrek85\Assets
, create a folder on your Search Server named C:\EktronSearchData\inetpub\wwwroot\OnTrek85\Assets
.C:\Program Files(x86)\Ektron\CMS400vxx
). This directory stores Ektron components and utilities. NOTE: This dialog appears only if Setup cannot detect the location of the site’s application directory.
web.config
file, Ektron assembly files, and Web servicesEktron Windows Service uses Windows Web Services to perform these activities:
• Schedules the future publication and removal of content.
• Transmits notifications that a sync should be started between the staging and production servers.
• In the 3-Tier feature, transfers data between servers./Workarea components. It does not update your templates nor other files not mentioned above.WARNING! Ektron strongly recommends backing up your site before continuing the upgrade. If you choose No and the upgrade fails, you cannot revert the files to their original state.
Click Yes if you want the installation to
/workarea/webservices
and /workarea/services
folders and the /workarea/ServerControlWS.asmx
file, so they are only accessible from localhost.If you click No, the site installation is terminated.
For more information, see https://portal.ektron.com/kb/10234/.
If you click Yes and complete the installation, you may have to grant permission to other servers that need to access the restricted folders and file. To do this:
/workarea/webservices
folder./workarea/webservices
folder./workarea/services
folder and the /workarea/ServerControlWS.asmx
file.See also: Setting up search for your website.
NOTE:
eSync is only available if you have the eSync modifier in your license key. SDK is only available if Visual Studio 2010 is installed on your server.
siteroot/widgets
directory. Click Yes to install the latest widgetA mini-application that you place on a Web page using PageBuilder; a widget provides either specific functionality (calculators, search, social bars, and so on) or areas into which you can add content (content blocks, list summaries, collections, and so on).s. Before doing so, rename any customized widgets in that folder; otherwise, they will be overwritten.NOTE: This dialog appears only if the upgrade cannot find the AssetManagement directory.
WARNING! The previous version’s bin and Workarea folders are removed from your website. Any customized files within these folders are lost. Do not store custom files in them unless absolutely necessary. Even then, always keep a backup file in another folder.
web.config
file is updated with information needed to run Ektron. If other applications use the web.config
file, their sections are unaffected.Server. List the database server on this system. To set up the database on this server, accept the default. Otherwise, enter a SQL or SQL Express server that already exists. For SQL, this would typically be (local) if it’s installed on the local server. Otherwise, enter the Server’s name. For SQL Express, enter (local)\SQLEXPRESS.
NOTE: This dialog appears if you are using SQL Authentication. If you are using Windows Authentication, skip to the next step.
IMPORTANT: If the backup fails, the following message appears: Warning! The install could not backup your database. Please manually back it up now before continuing. You should manually back up your database before clicking OK.
After completing the Ektron CMS installation, install the search provider and the search components.
If you chose Solr, the following dialog appears. Click OK.
To complete the search setup, log on to the search server, click the Windows Start menu > All Programs > Ektron > CMS400Vxx > Utilities > Search Configuration. If you're using Windows 8 or 2012, press the Windows key ()/Q then enter Search Configuration.
The Connection Information screen appears. See also:
After upgrading your site and rebuilding the solution, you are ready to use Ektron.
If you did not run the database upgrade or language update during the installation, you need to do it manually. The next sections explain how to do that.
Problem 1: After upgrade, Ektron does not load properly. Also, an error icon appears next to your templates when you open the project in Visual Studio.NET. The problem is that your .NET references need to be updated.
Solution 1: To verify the problem, open the Ektron solution file in Visual Studio.NET (webroot\siteroot\cms400sitename.sln
; for example, cms400Intranet.sln
) and look at the template files. If your references are broken (as shown in the sample screen on the left), delete all Ektron references. Then, add new references with the same name from the webroot\siteroot\bin
folder.
Problem 2: When viewing a page containing Ektron server controls or API calls, the page returns a fatal error Compiler failed with Error Code 2000. Detailed compiler output may say Fatal error BC2000: compiler initialization failed unexpectedly: The filename, directory name, or volume label syntax is incorrect. This error message might appear after an upgrade.
Solution 2: To remove the error message, open up your site's .sln file in Visual Studio. Then, rebuild the solution using the Build > Rebuild solution menu option.
In this case, the error can be resolved by correcting the database settings in web.config
.
NOTE: To use SQL Authentication with Microsoft SQL server (as opposed to Windows Authentication), you must have the database 'Security' properties set to allow "Windows and SQL Authentication." After changing this setting, you must restart SQL Server for it to take effect.
Problem 3: After upgrading from Ektron version 4.8 or earlier, Metadata is no longer applied or required when adding or editing content.
Solution 3: In Ektron version 4.8 or earlier, Metadata is applied globally. In later versions, metadata is applied to each folder individually. Child folders can inherit the metadata from a parent folder or they can have their own metadata settings. To set the metadata settings back to global:
If you have not broken inheritance on any of the folders, your metadata settings are applied globally.
If you upgrade from an older version of Ektron, the UTC Converter is automatically run after the database upgrade is complete.
Dates in the CMS are stored in UTC rather than in the server time zone, and display in the local user’s selected time zone. The dates default back to the server time zone if the user is not logged in.
NOTE: If UTC Converter is opened while running an upgrade, you are not permitted to change the "Site."
After installation, you can find the UTC converter at C:\Program Files (x86)\Ektron\CMS400v93\Utilities\UTCConversion\UTCConverter
.