» Host multiple domains in one plan
» Manage all your domains in one control panel
» Both Windows and Linux Options
» Windows Plans starting at .95 per month
» Linux Plans starting at .95 per month
» Windows Plan: MS SQL 2005 Database Included
 
Window Plans   Linux Plans
 
Close  
Accu Web Hosting Accu Web Hosting Accuweb Hosting
Accu Web Hosting Accu Web Hosting Window Hosting Home Accu Web Hosting Window Hosting Accu Web Hosting PHP Hosting Accu Web Hosting Reseller Accu Web Hosting SQL Hosting Accu Web Hosting   accu web hosting
 

Go Back   Web Hosting Technical Support Discussion Forum > General Information - Discussion and Recent Issues > TroubleShooting

TroubleShooting General Trouble Shooting Examples

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-25-2006
Senior Member
 
Join Date: May 2005
Location: (.)
Age: 25
Posts: 144
Rep Power: 0
Manuel_ is on a distinguished road
Send a message via MSN to Manuel_
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-08-2006
Senior Member
 
Join Date: May 2005
Location: (.)
Age: 25
Posts: 144
Rep Power: 0
Manuel_ is on a distinguished road
Send a message via MSN to Manuel_
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -5. The time now is 05:07 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
http://www.accuwebhosting.com/terms.htm

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32