Installation in medium-trust environment

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

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:

 

1.Install Kentico CMS on your local machine if you haven't done so yet.
2.Run Kentico CMS Web Installer (you can find it in Start -> All Programs -> Kentico CMS).
3.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 installed.
4.Copy the files from your local folder C:\tempfiles to the root of the website 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.
5.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" />

 

6.Open web browser and navigate to your website. You will be displayed with the first step of the Database Setup.
7.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.
8.Choose either to create a new website or import your existing Kentico CMS website.
9.After you create a new website, 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.

 

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?installation_in_medium_trust_environment.htm