[IronPython] remoting from IronPython

Mohammed Hossam bashmohandes at gmail.com
Wed Jun 14 14:03:04 CEST 2006


I got a similar problem when I used Iron Python with Windows Workflow,
because any API that accepts a System.Type argument when it is used with
Iron Python fails,

On 6/14/06, Ralph Soons <ralph.soons.asml at hotmail.com> wrote:
>
> Hi all,
>
> I am trying to call an function on a server via remoting, using
> IronPython.
> First I created a c# server/client to test everything.
>
> In the C# client I have the following code:
> RemotingConfiguration.Configure("executablename.exe.config", false);
> RemoteObject object = new RemoteObject();
> I can now reach my remote object from the client.
>
> There after I used IronPython to do the same in python:
> System.Runtime.Remoting.RemotingConfiguration.Configure("
> IronPythonTest.exe.config",
> 0)
> s = NameSpace.RemoteObject()
> I now get the following error:
> Cannot load type 'clr:IronPython.Runtime.IDynamicObject, IronPython
>
> I also tried:
> s = System.Activator.GetObject( System.Type.GetType(NameSpace.RemoteObject
> ),
> "http://localhost:9000/mytest" )
> I then get this error:
> #  File , line 0, in GetObject##10
> #  File mscorlib, line unknown, in GetObject
> #SystemError: Trying to create a proxy to an unbound type.
>
> Can someone tell me if its possible to use remoting from IronPython or
> does
> any one has an idea what I am doing wrong?
>
> Many thanks!
> Ralph Soons
>
> _________________________________________________________________
> Play online games with your friends with MSN Messenger
> http://www.join.msn.com/messenger/overview
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



-- 
=-=-=-=-=-=-=-=-=-=-=-=
Mohammed Hossam Eldin
bashmohandes at gmail.com
mobile: +2012 3818978
www.SilverKey.us
--------------------------------------------------------
Technical Blogs
http://www.Bashmohandes.com
--------------------------------------------------------
Personal Blogs
http://spaces.msn.com/bashmohandes
=-=-=-=-=-=-=-=-=-=-=-=-=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060614/b64220be/attachment.html>


More information about the Ironpython-users mailing list