On my website when I come to take reports in a particular date. it works on my local but when I upload it (shared hosting) it gives me the below error.Even it wont show the page in browser and suppose if i open in a browser it showing given below error(but its working fine in my local and even in local iis also)
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. 

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
 
Line 125: Line 126: Go to the complete details ...