Hello,

I created an DLL-File 'a.dll' from my IronPython module/library 'a.py'. This
module uses SqlClient functions. While 'a.py' is running nicely directly
from IronPython the 'a.dll' doesn't run correctly when I try to use any of
the SQL-related parts. I get the following error message:

SystemError: Fehler bei der Anforderung des Berechtigungstyps
System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089.

My questions is therefore: How do I grant the proper permission to 'a.dll'
so that I can access SqlClient and run correctly?
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to