Author: AshishChaudhary | Posted on: 11/10/2010 5:08:05 AM | Views : 287

Please help i have an dll file which is data access layer of my application.
i am getting this exception while accessing databse
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.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
please help asap
...

Go to the complete details ...