Setting the .NET Trust Level for your Application

Trust Levels

Microsoft .NET applications can run in any of the following trust levels:

Medium trust restrictions

Many application hosting service providers run applications in the ‘Medium trust’ level.  The main constraints placed on Medium trust Web applications are:

You are also prevented from calling unmanaged code or from using Enterprise Services.

Setting the trust level for your Iron Speed Designer-generated application

Because of these Medium trust restrictions, Iron Speed Designer applications require High (or Full) Trust level.  Iron Speed Designer-generated applications specifically require the ReflectionPermission to call database code and to access the RESX files of the application.  Please note that if you are using Microsoft Access, you also need read and write access to the file system to be able to read and save data.  The Microsoft Access database must also be resident in the application folder.

Additional Reading

http://msdn2.microsoft.com/en-us/library/ms998341.aspx

See Also

Deploying Applications to a Production Server

Example: Deploying to DiscountASP.NET

Disabling Event Viewer Logging

Individual Hosting Provider Notes

Setting the .NET Trust Level for your Application