What trust level can I use when running ASP.NET?
The default trust level on your account depends on the version of ASP.NET you are currently using.
- ASP.NET 1.1
- If you are using ASP.NET 1.1 on your Windows shared hosting account, you have "full trust" on the server.
- ASP.NET 2.0/3.0/3.5
- If you're using .NET runtime environment 2.0, you have 'medium trust' on the server.
- ASP.NET 4.0/4.5
- If you're using .NET runtime environment 4.0, you have 'web full trust' on the server.
To Check and See What Version of ASP.NET You're Currently Using
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the hosting account you want to use, click Launch.
- Under the Settings section of the Hosting Control Panel click Programming Languages.
- The selected listing is the version of ASP.NET that you are currently using.
NOTE: 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:
<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?