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=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089.

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.brombe...@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
>
>
>
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to