[IronPython] Code Access Security?
xaphiern at googlemail.com
Fri Apr 16 10:30:37 CEST 2010
a.py is importing SimpleSqlClient.py which again is importing System.Data
which implements the .NET SQL support.
So I tried to import System.Data also in a.py and in the main application.
Unfortunatelly I still get the error message:
SystemError: Fehler bei der Anforderung des Berechtigungstyps
System.Data.SqlClient.SqlClientPermission, System.Data, Version=22.214.171.124,
I have notived that languages like C# have special constructs to request
access grand to system functions. How do I request full access to
System.Data in python?
2010/4/15 Bruce Bromberek <bruce.bromberek at gmail.com>
> Does a.py have any module imports? I always find I have to mess around
> with standard python modules being available in order for my DLL's to work
> when I distribute exe's. But then I'm usually using ODBC connections to
> *.mdb files
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users