Click here to Skip to main content
15,891,770 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Posted

The reason for this could be multiple.

I suggest you first try the tricks mentioned here[^].

If doesn't help, then try this[^].

[Please accept/up-vote answers or solutions that work for you to encourage participation]
 
Share this answer
 
Hi Khan,

It seems there is permission issue. Please kindly grant full permission and it will work fine. Or you may need to check this post http://dotnet4europeanhosting.hostforlife.eu/post/European-ASPNET-45-Hosting-Germany-ASPNET-45-Shared-Web-Hosting-Trust-Level.aspx[^]
 
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