Running Kentico CMS in a Medium Trust Environment
This applies to Kentico CMS 2.2 and the medium trust is not fully supported in pre- 2.2 versions. This is used, usually, for many shared hosting plans.
Medium trust level is used on shared servers by the providers to disallow the applications to access certain resources that may be bad to other web sites running on the server. To run the system with medium trust you need to follow certain rules and consider them with this trust level:
1. VirtualPathProvider, which provides the virtual objects (layouts, transformations) from the database. You can save all the virtual objects to the file system in CMS Site Manager -> Administration -> System -> Deployment interface by clicking the button “Save all virtual objects to disk”.
2. Content Staging, which ensures the synchronization of content between production and live site servers. Library Microsoft.Web.Services3.dll from the Web Services Extensions 3 (WSE) package, which is used by the Content staging module, requires Full trust permissions because of the low level operations related to the communication protocols.
If you manage the server, please follow these steps:
- Go to Control panel -> Administrative tools -> Microsoft .NET Framework 2.0 Configuration
- Select the Assembly cache, click on Add an Assembly to the Assembly Cache and select the library file bin\Microsoft.Web.Services3.dll from your web project.
- Delete the file bin\Microsoft.Web.Services3.dll from your web project if it’s present.
- Make sure that your project web.config file contains the following item:
Now the system should work under medium trust level properly. Restart your IIS for configuration changes to take effect and run the web site.
Tags: open source, CMS, Kentico CMS, Medium Trust Environment, hosting, open source CMS
More:CMS hosting Kentico CMS Medium Trust Environment open source open source CMS
Related CRM ERP Links
Notepad ++Open Source Definition
Sugar CRM- Info World BOSSIE Awards Top Choice
Rimini Street Clients Saving Millions
Permalink

























































