[Mono-bugs] [Bug 61592][Wis] New - Cannot Register More Than One Remoting TCPServerChannel

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 15 Jul 2004 05:27:01 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by blackglade@yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=61592

--- shadow/61592	2004-07-15 05:27:01.000000000 -0400
+++ shadow/61592.tmp.2196	2004-07-15 05:27:01.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 61592
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Windows XP Pro
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: blackglade@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cannot Register More Than One Remoting TCPServerChannel 
+
+Description of Problem:
+Mono, but not MS .Net 1.1, throws an error if you create and register more
+than one Remoting Channel using TCPServerChannel.  Regardless of how you
+name your TCPServerChannels, Mono returns:
+
+Unhandled Exception: System.Runtime.Remoting.RemotingException: Channel tcp
+already registered
+
+in <0x001bc> 
+System.Runtime.Remoting.Channels.ChannelServices:RegisterChannel
+(System.Runtime.Remoting.Channels.IChannel)
+
+in <0x00150> DefaultNamespace.MainClass:Main (string[]) 
+
+Sample source to reproduce the problem can be found at:
+http://www.foggymyst.com/remotingerror.txt
+Make sure that you add a reference to System.Runtime.Remoting before compiling.
+
+Actual Results:
+Mono throws an error when you register more than one Remoting channel using
+TCPServerChannel.
+
+Expected Results:
+If you specify string.Empty as the Channel name, Mono should ignore channel
+names and not generate naming collisions allowing you to register more than
+one channel (as documented here under the Name property: 
+http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemruntimeremotingchannelstcptcpserverchannelclasstopic.asp
+
+How often does this happen? 
+Everytime.
+
+Additional Information:
+Using .Net 1.1 and Mono 1.0
+
+My contact info is Blackglade@yahoo.com
+I appologize if the formatting of this post is messy-- this is my first bug 
+post.