The trust level available to your ASP.NET applications depends on the type of hosting you use (more info).
Click one of the following, based on the type of hosting you have. You can tell this by the second word in your hosting's description beneath your hosting account's domain name, e.g. Deluxe Web correlates to Web/Classic (Hosting Control Panel).
The default trust level on your account depends on the version of ASP.NET you are currently using (more info).
When using ASP.NET 4.0/4.5 you must declare Full Trust in your Web.Config. You can add the following snippet of code to your Web.Config:
<configuration> <system.web> <trust level="Full" /> </system.web> </configuration>
For more information about trust levels in ASP.NET 2.0, see What Is Medium trust level and how does it affect my hosting account?
Our Plesk shared hosting accounts default to 'medium trust.' However, you can change your trust settings on the ASP.NET settings in Plesk.