I have a application its working fine in my local system but when i run the same code in server its giving the exception as
System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I had tried unblock security of the dll but this has not solved my problem. Please provide me a solution