I need to set the trust level of a sample asp.net web application so that my hosting provider can support it. I changed the trust level in the web.config but that doesn't seem to work. I have been advised to change it for the entire application. How can I do that?
Asked
Active
Viewed 600 times
0
-
Just contact your hosting provider and ask them to give full permission for you. – Jul 25 '16 at 05:04
1 Answers
0
See this post: Get current ASP.NET Trust Level programmatically
If you want to change the trust level you need to modify the web.config. Are you sure that you do it in the right way? Try to code in the post above to get the current trust level at run-time, and verify that it's Full Trust.

Community
- 1
- 1

Igor Damiani
- 1,897
- 9
- 12