|
|
|||
|
Error
ERROR: Server Error in '/folder' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Solution: If you find above error while running ASP.net webpages from your browser, it is because your domain is hosted on shared hosting environment and our shared hosting environment only runs at medium trust level. Users will not have privilege to change the ASP.NET2.0 trust level due to security considerations. As far as security is concern, the full trus level setting is not possible for shared hosting environment to be turned on and it is not possible to overwrite from the client side as well. However, you can check the following MSDN link for further information and make necessary changes to your script in order to make it running under medium trust level: http://msdn.microsoft.com/library/default....paght000020.asp You may try always put tag -- trust level="Medium" -- under system.web in web.config when developing an apps to make sure the trust level same as the machine trust level. Thus, you can see the problem in localhost first without testing on the production hosting server.
__________________
Strat with Linux || Optimize, Secure and increase performance of Apache || Already Started The visionary conceives the impossible, The missionary makes it possible. ...Gita. |
|
|||
|
Please also check the below mentioend knowledgebase URLs:
Make your ASP.Net Applications secure ASP.Net
__________________
Strat with Linux || Optimize, Secure and increase performance of Apache || Already Started The visionary conceives the impossible, The missionary makes it possible. ...Gita. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| asp.net v.2.0 | wlambrechts | Windows Web Hosting Discussion Forum | 2 | 07-11-2005 01:34 AM |