Dino Viehland wrote: >Are you running IronPython from a network share? > Ah.... yes, it was. Running it from C: instead of H: solved it...
Thanks Fuzzyman http://www.voidspace.org.uk/python/index.shtml > And have you also reduced any .NET rights instead of just windows rights? > >You shouldn't need the SDK or full privileges to run IronPython. > >Do you want to help develop Dynamic languages on CLR? >(http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038) > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fuzzyman >Sent: Tuesday, May 23, 2006 6:57 AM >To: Discussion of IronPython >Subject: [IronPython] User Privileges > >Hello all, > >I just tried running the ironpythonconsole on a machine with no >administrative privileges. In fact the user on this machine has *fairly* >restricted privileges. > >(The machine has the .NET 2.0 redistributable framework installed but >not the SDK, running on Windows XP SP2, with IP Beta 6) > >Unhandled Exception: System.MethodAccessException: Attempt to access the >method >failed. > at System.Delegate.BindToMethodInfo(Object target, >RuntimeMethodHandle method >, RuntimeTypeHandle methodType, DelegateBindingFlags flags) > at System.Delegate.CreateDelegate(Type type, MethodInfo method, >Boolean throw >OnBindFailure) > at IronPython.Compiler.CodeGen.CreateDelegate(MethodInfo methodInfo, >Type del >egateType) > at IronPython.Runtime.OptimizedFunction1..ctor(String name, >MethodInfo info, >MethodBase[] targets, FunctionType functionType) > at IronPython.Runtime.BuiltinFunction.MakeBuiltinFunction(String >name, Method >Info info, MethodBase[] targets, FunctionType functionType) > at IronPython.Runtime.SystemState.Initialize() > at IronPython.Runtime.SystemState..ctor() > at IronPython.Hosting.PythonEngine..ctor() > at IronPython.Hosting.PythonEngine..ctor(Options opts) > at IronPythonConsole.PythonCommandLine.Main(String[] rawArgs) > >Can anyone diagnose this ? Does the SDK need installing ? Must the user >have full privileges in order to be able to run IronPython ? > >Fuzzyman >http://www.voidspace.org.uk/python/index.shtml > >_______________________________________________ >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 > > > _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
