Click here to Skip to main content
15,903,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am facing a problem for running my website.

I have developed the website and when i hit F5 to view the results i am presented with this error

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.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

How can i solve this problem?
Posted

We can't answer that.

You need to talk to your hosting service, and explain to them exactly what you are doing when you get the message.
Their technical support should be able to help you.
 
Share this answer
 
I am running it on my machine, LOCALHOST.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900