[Mono-bugs] [Bug 702532] DuplexClientBase Channel Initialization Broken

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 9 23:20:12 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=702532

https://bugzilla.novell.com/show_bug.cgi?id=702532#c3


Miguel de Icaza <miguel at xamarin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |miguel at xamarin.com

--- Comment #3 from Miguel de Icaza <miguel at xamarin.com> 2011-11-10 04:20:11 UTC ---
The actual failure is a cast from TransparentProxy into IClientChannel:

Unhandled Exception: System.InvalidCastException: Unable to cast object of type
'System.Runtime.Remoting.Proxies.TransparentProxy' to type
'System.ServiceModel.IClientChannel'.
  at
System.ServiceModel.ClientBase`1[Jgh.Test.Program+ITestContract].get_InnerChannel
() [0x00028] in
/private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:209 
  at System.ServiceModel.ClientBase`1[Jgh.Test.Program+ITestContract].Open ()
[0x00000] in
/private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:311 
  at Jgh.Test.Program.Main (System.String[] args) [0x00000] in <filename
unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidCastException: Unable to cast
object of type 'System.Runtime.Remoting.Proxies.TransparentProxy' to type
'System.ServiceModel.IClientChannel'.
  at
System.ServiceModel.ClientBase`1[Jgh.Test.Program+ITestContract].get_InnerChannel
() [0x00028] in
/private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:209 
  at System.ServiceModel.ClientBase`1[Jgh.Test.Program+ITestContract].Open ()
[0x00000] in
/private/tmp/monobuild/build/BUILD/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:311 
  at Jgh.Test.Program.Main (System.String[] args) [0x00000] in <filename
unknown>:0

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list