Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
    • Overview
    • Installation & Deployement
    • EO.Web ToolTip
    • EO.Web Rating
    • EO.Web Slider & RangeSlider
    • EO.Web ListBox
    • EO.Web ComboBox
    • EO.Web Captcha
    • EO.Web ASPX To PDF
    • EO.Web Slide
    • EO.Web Flyout
    • EO.Web EditableLabel
    • EO.Web ImageZoom
    • EO.Web Floater
    • EO.Web Downloader
    • EO.Web ColorPicker
    • EO.Web HTML Editor
    • EO.Web File Explorer
    • EO.Web SpellChecker
    • EO.Web Grid
    • EO.Web MaskedEdit
    • EO.Web Splitter
    • EO.Web Menu
    • EO.Web Slide Menu
    • EO.Web TabStrip
    • EO.Web TreeView
    • EO.Web Calendar
    • EO.Web Callback
    • EO.Web MultiPage
    • EO.Web Dialog
    • EO.Web AJAXUploader
    • EO.Web ProgressBar - Free!
    • EO.Web ToolBar - Free!
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
Running in Partial Trust Environment

On a partial trust environment, you may run into the following exception:

Your application is running under partial trust. EO.Web supports prtial trust, but a few extra configuration steps are required. Please refer to http://www.essentialobjects.com/Go.aspx?id=1001 for more details.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Partial trust is enabled by setting the trust level in web.config or machine.config to a value rather than "Full", for example, the following line set the trust level to "High":

web.config
<trust level="High" />

This causes the application to receive less than full trust so that it can not perform certain restricted operations, for example, initilializing the control when the application is started. A security exception is thrown when the application tries to perform such a restricted operation. Some Web hosters, especially in a shared hosting environment, use this option to limit Web application's permissions.

To avoid this problem, copy eo_web.ashx from the installation folder to the root directory of your Web application. Note if you use ASP.NET permission control, this file must be accessible by all pages that use EO.Web controls. If that is not achievable with eo_web.ashx on the root directory, you can move the file to another directory, see here for details.