Permissions for MySQLDirect (another medium trust level issue)

There's a .Net provider for mysql from this guys:
MySQLDirect .NET - ADO .NET provider for MySQL

As usual, everything works fine in your desktop until you deploy it and get this error:

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.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Then I tried with Jodo custom medium trust level and got the same error. Then with High, same. Then with Full, it worked.
I was just testing, I don't have the hurry to deploy yet, but will do soon.

What can we do ?
 
Back
Top