Composite C1 2.1
Composite C1 2.1 (2.1.4087.22991)
Composite C1 is a fully featured pro open source CMS for quick/custom website creation. Modern architecture, very user friendly. Use wizards or HTML/CSS/XSLT/ASP.NET/LINQ/.NET4
Manual upgrade guidelines available below, easy upgrade service info at http://www.composite.net/Products/Plans
There're two ways of performing this upgrade:
-
You can pay for upgrade package service, which gives you a package to do it automatically
Video here http://www.youtube.com/watch?v=O8UH3pLq3l0
-
Or you can do the upgrade manually. You can find the list of changes to be done below.
Video demonstration here http://www.youtube.com/watch?v=4ckiF37P2yY
Manual upgrade from 2.0 SP1 -> 2.1
Current upgrade steps for upgrading 2.0 to 2.1, and all the intermediate builds:
- Create a backup
- Download 2.1 files, f.e. "Visual Studio" version below
- Delete and copy it from 2.1 site the following files:
"/Bin/Composite.dll"
"/Renderers/FileNotFoundHandler.ashx"
"/Renderers/Page.aspx"
"/Renderers/Page.aspx.cs"
"/Renderers/ShowMedia.ashx"
"/Global.asax"
Delete file (if exists)"/Bin/Composite.MSSqlServer.dll"
- Under "/Composite" folder delete everything except for folders "/Composite/InstalledPackages" and "/Composite/localization"
Copy files from "/Composite" in 2.1 version to "/Composite" in your site, overwrite files under "/localization"
- Upgrading visual editor configuration
Delete "/Frontend/Styles/VisualEditor/"
Copy from 2.1 folder "/Frontend/Config/VisualEditor/"and file "/Frontend/Styles/VisualEditor.common.css"
NOTE: if you did any changes to visual editor's styles, you should apply them again
- Edit "/App_Data/Composite/Composite.config"
a) Remove if exists node "configuration/exceptionHandling"
b) Find node "/configuration/Composite.Core.Configuration.Plugins.GlobalSettingsProviderConfiguration/GlobalSettingsProviderPlugins/add[@name='ConfigBasedGlobalSettingsProvider']"
add the following attributes (if they're missing)
inlineCSharpFunctionDirectory="~/App_Data/Composite/InlineCSharpFunctions"
and
packageLicenseDirectory="~/App_Data/Composite/PackageLicenses"
c) Under "configuration" node, add the following nodes, if they don't exist
<Composite.SetupConfiguration PackageServerUrl="https://package.composite.net" />
and
<Composite.Core.IO.Plugins.IOProviderConfiguration defaultIOProvider="LocalIOProvider">
<IOProviderPlugins>
<add name="LocalIOProvider" type="Composite.Plugins.IO.IOProviders.LocalIOProvider.LocalIOProvider, Composite"/>
</IOProviderPlugins>
</Composite.Core.IO.Plugins.IOProviderConfiguration>
d) Under "/configuration/configSectionsAdd" the following node, if missing
<section name="Composite.Core.IO.Plugins.IOProviderConfiguration" type="Composite.Core.IO.Plugins.IOProvider.Runtime.IOProviderSettings, Composite" />
d) If node "/configuration/Composite.Data.Plugins.DataProviderConfiguration/DataProviderPlugins/add[@name='DynamicSqlDataProvider']" exists,
edit @type attribute, the value should be type="Composite.Plugins.Data.DataProviders.MSSqlServerDataProvider.SqlDataProvider, Composite"
e) Remove the following nodes
/configuration/loggingConfiguration/listeners/add[@name='Tcp Custom Trace Listener']/configuration/loggingConfiguration/specialSources/allEvents/listeners/add[@name='Tcp Custom Trace Listener']
f) Under /configuration/loggingConfiguration/specialSources/allEvents[@name='All Events'] set @switchValue attribute to "Information"
- Edit "/web.config"
a) If missing, add attribute optimizeCompilations="true" to "configuration/system.web/compilation"