[Mono-bugs] [Bug 60934][Wis] New - can't setup remoting sink providers through config

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 30 Jun 2004 11:08:24 -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 james@ximian.com.

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

--- shadow/60934	2004-06-30 11:08:24.000000000 -0400
+++ shadow/60934.tmp.16799	2004-06-30 11:08:24.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 60934
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: lluis@ximian.com                            
+ReportedBy: james@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: can't setup remoting sink providers through config
+
+Using the following config, I am trying to provide a custom channel sink
+for the http channel.
+
+<configuration>
+  <system.runtime.remoting>
+    <application>
+      <channels>
+        <channel ref="http" port="8080">
+          <serverProviders>
+            <formatter ref="soap"/>
+            <provider type="IdentityServerSinkProvider, Foo"/>
+          </serverProviders>
+        </channel>
+      </channels>
+   </application>
+ </system.runtime.remoting>
+</configuration>
+
+At runtime, during the config file parsing, this exception is thrown:
+
+Unhandled Exception: System.Runtime.Remoting.RemotingException:
+Configuration file '/gnome/bin/foo.exe.config' could not be loaded: An
+instance of provider
+'System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider' could
+not be created: SoapServerFormatterSinkProvider does not recognize 'id'
+configuration property
+
+This exception is thrown whenever <formatter ref="soap"/> appears in the
+provider list.  Similar behavior also occurs with the binary formatter.