<div>Hello</div>
<div> </div>
<div> Has anyone been able to get Remoting to work? I get the following exception when attempting to make a call. I am rather new to IronRuby but believe my code should work, I converted a very simple snippit of working C# code to IronRuby and can't seem to get it to work. I put breakpoints in the .NET assemblies and watch each step complete successfully until the service.SelectPolicies call.</div>
<div> </div>
<div>mscorlib:0:in `HandleReturnMessage': Cannot load type 'IronRuby.Runtime.IRubyObj<br>ect, IronRuby, Version=0.9.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35<br>'. (System::Runtime::Remoting::RemotingException)<br>
from mscorlib:0:in `PrivateInvoke'<br> from Microsoft.Scripting.Core:0:in `BindCore'<br> from Microsoft.Scripting.Core:0:in `Bind'<br> from ./PropertyPolicy.rb:34:in `GitSomePolicies'<br>
from main.rb:5</div>
<div> </div>
<div> </div>
<div>IronRuby snippit</div>
<div> </div>
<div> RemotingConfiguration.Configure("Configuration\\ClientRemotingConfiguration.config", false)</div>
<div> <br> service = DIContainer.Instance.method(:Resolve).of(IPropertyPolicyService).call()</div>
<div> types = DIContainer.Instance.method(:Resolve).of(ILookupInfos).call();<br> types.Add(DIContainer.Instance.method(:Resolve).of(ICodeListInfoBuilder).call().Build("AP", <br> CodeValueAttribute.GetDescription(PolicyType.AllPacPolicy), "", 0, DateTime.Now, DateTime.Now))<br>
<br> policies = service.SelectPolicies(types)</div>
<div> </div>
<div>Thanks,</div>
<div>Patrick</div>