Running Kentico CMS in a Medium Trust Environment

kentico_logo.JPG

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:

code1.JPG

Now the system should work under medium trust level properly. Restart your IIS for configuration changes to take effect and run the web site.

Download

Tags: open source, CMS, Kentico CMS, Medium Trust Environment, hosting, open source CMS

More:
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blinkbits
  • BlinkList
  • blogmarks
  • BlogMemes
  • blogtercimlap
  • Blue Dot
  • Book.mark.hu
  • Bumpzee
  • co.mments
  • connotea
  • De.lirio.us
  • DotNetKicks
  • Fark
  • feedmelinks
  • Fleck
  • Furl
  • Gwar
  • Haohao
  • Hemidemi
  • IndiaGram
  • IndianPad
  • Internetmedia
  • kick.ie
  • LinkaGoGo
  • Linkter
  • Ma.gnolia
  • MyShare
  • Netscape
  • NewsVine
  • PlugIM
  • PopCurrent
  • ppnow
  • RawSugar
  • Rec6
  • Reddit
  • Scoopeo
  • scuttle
  • Shadows
  • Simpy
  • Slashdot
  • Smarking
  • SphereIt
  • Spurl
  • StumbleUpon
  • Taggly
  • TailRank
  • Technorati
  • Webride
  • Wykop
  • YahooMyWeb

Related CRM ERP Links

Notepad ++
Open Source Definition
Sugar CRM- Info World BOSSIE Awards Top Choice
Rimini Street Clients Saving Millions

Comments are closed.

CRM, ERP, CMS and open source tutorials.