I changed the trust level for my application to "Full" but I'm still getting the following error in Windows 7. I followed the steps for using subsonic, but it appears I'm missing something.
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.Data.SqlClient.SqlClientPermission,
System.Data, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=b77a5c561934e089'
failed.
Source Error:
Line 3403: this.SetKeyValue(newKey);
Line 3404: }else{
Line 3405: _repo.Add(this,provider);
Line 3406: }
Line 3407: SetIsNew(false);
Source File: C:\src\gillisonlab.osumc.edu\Apps\OhioS3\OhioS3\ActiveRecord.cs
Line: 3405