Technote Details :: My KTML control is only partially working
Issue
Although I have installed the required libraries and have set the correct paths in the configuration, some of KTML's features do not work. I am using ASP.NET
Reason
This happens because of the security model that is provided by ASP.NET 1.1 or higher, and which allows defining security levels for the applications. By default there are five predefined security levels: Full, High, Medium, Low and Minimum. Aside the predefined levels you can also define your own security settings.
Because some of the features in KTML use external applications, it requires shell access. This is only possible when in Full Trust mode. The features that are disabled for all other security levels are:
- Spellchecking - uses the ASPELL library
- XHTML compliance - using the HTML Tidy library. Client-side XHTML compliance will still work as expected.
- Image manipulation - if using Image Magick. If you are using the internal .NET image library, all features will be available.
Solution
In order to have a full-featured KTML installation you have to make sure that the ASP.NET application server uses the Full-trust security setting. This is the default setting for a new ASP.NET installation but some ISP might change this to medium or a custom level.