calgo mysql.data.dll trust issue
Created at 21 May 2014, 07:16
calgo mysql.data.dll trust issue
21 May 2014, 07:16
Hi
My pc is running at FULL trust level, but i'm getting MySqlClientPermission issue that usually happened on aspx with medium trust level
already tried http://stackoverflow.com/questions/18315457/net-4-0-medium-trust-level-and-mysql-connection but still not working..
any idea?
Replies
Spotware
21 May 2014, 09:25
Instead of AccessRights.None you need to specify AccessRights.Internet or AccessRights.FullAccess. You can find more information at /api/guides/access_rights
@Spotware
iwe1
21 May 2014, 07:58
exception stacktrace
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.PermissionSet.Demand() at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.DemandPermissions() at MySql.Data.MySqlClient.MySqlConnection.Open() at cAlgo.Indicators.TickChart.Open()
Exception msg:
Request for the permission of type 'MySql.Data.MySqlClient.MySqlClientPermission, MySql.Data, Version=6.6.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' failed.
@iwe1