Installation in medium-trust environment

 

If you want to deploy Kentico CMS directly to the live server (or generally to a remote server) that uses medium-trust security level, you need to follow these steps:

 

Install Kentico CMS on your local machine if you haven't done so yet.
Run Kentico CMS Web Installer (you can find it in Start -> All Programs -> Kentico CMS).
Choose to install Kentico CMS on a remote (production or testing) server and enter the path C:\tempsite. Finish the wizard - it only copies the files to the given folder. You do not need to have Visual Studio 2005 installed.
Copy the files from your local folder C:\tempfiles to the root of the web site using FTP. If you want to use a sub-folder, you will need to create a new virtual directory as described in Creating a virtual directory.
Make sure the web.config file on your server contains the following value in the appSettings section (it specifies that the CMS should use the managed provider):
 
<add key="CMSDirectoryProviderAssembly" value="CMS.DirectoryProviderDotNet" />
 
Open web browser and navigate to your web site. You will be displayed with Database Setup Wizard.
Go through the wizard and create a new Kentico CMS database on your live server. At the end of the process, you will be asked to update your web.config file manually - please follow the instructions on the screen.
Choose either to create a new web site or import your existing Kentico CMS web site.
After you create a new web site, you will need to save all virtual objects to the disk. Go to Site Manager -> Administration -> System -> Deployment and click Save all virtual objects to disk.

 

If your web application is not allowed to write on the disk, you will need to install Kentico CMS on your local machine, save all virtual objects to disk and then copy the web project over FTP to your server.

 

 

 

 

Medium Trust Environment Specifics

 

For more information on medium trust level please read chapter Configuration for Medium Trust environment.