Can you show which permission set is granted to your ipy.exe/ironpython.dll?
caspol -resolveperm ipy.exe caspol -resolveperm IronPython.dll -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Hostetler Sent: Monday, December 04, 2006 12:47 PM To: [email protected] Subject: [IronPython] SecurityException while running ipy.exe 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/ _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
