[IronPython] SecurityException while running ipy.exe
Mike Hostetler
hostetlerm at gmail.com
Mon Dec 4 21:46:41 CET 2006
I have a machine that has .NET 2.0.50727 installed and I put the
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 directory in my path.
The bad news is that I don't have admin nor Power Users privileges on
this machine.
I unzipped IronPython-1.0.1 and when I run ipy.exe I get the following:
Unhandled Exception: System.Security.SecurityException: Request for the permissi
on of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.
0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa
rk& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Reflection.Emit.DynamicMethod.PerformSecurityCheck(Module m, StackC
rawlMark& stackMark, Boolean skipVisibility)
at System.Reflection.Emit.DynamicMethod..ctor(String name, Type returnType, T
ype[] parameterTypes, Module m)
at IronPython.Compiler.Generation.AssemblyGen.DefineDynamicMethod(String meth
odName, Type returnType, Type[] paramTypes)
[...]
It goes on and on but the above is the first message.
Any ideas? Surely Admin rights aren't required to use IronPython, is it?
--
Mike Hostetler
http://mike.hostetlerhome.com/
More information about the Ironpython-users
mailing list