Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2004, 09:17 PM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remoting Callback problem

The .net Remoting example of your book has a problem,
obj.Status += StatusEvent (sink.StatusHandler);
when the vsnet runs to it ,it shows :

²»ÔÊÐíÀàÐÍ System.DelegateSerializationHolder ºÍ´ÓÖÐÅÉÉúµÄÀàÐÍ(ÀýÈç System.DelegateSerializationHolderÔÚ´Ë°²È« ¼¶±ðÉϱ»·´ÐòÁл¯"

Its genneral idea maybe is that delegate can't be deserialiaed:

how can us solve is ?
Help me,Thanks.

 
Old December 8th, 2004, 01:58 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you just amend Client.exe.config and Server.exe.config like this

Client.exe.config

<configuration>
  <system.runtime.remoting>
    <application>

      <client url="http://localhost:6791/CallbackSample">
    <activated type="Wrox.ProfessionalCSharp.RemoteObject, RemoteObject" />
      </client>

      <channels>
        <channel ref="http" port="777">
            <serverProviders>
                <provider ref="wsdl"/>
                <formatter ref="soap" typeFilterLevel="Full"/>
                <formatter ref="binary" typeFilterLevel="Full"/>
            </serverProviders>
        </channel>
      </channels>

    </application>
  </system.runtime.remoting>
</configuration>



Server.exe.config

<configuration>
  <system.runtime.remoting>
    <application name="CallbackSample">

      <service>
    <activated type="Wrox.ProfessionalCSharp.RemoteObject, RemoteObject" />
      </service>

      <channels>
        <channel ref="http" port="6791" >
            <serverProviders>
            <provider ref="wsdl"/>
            <formatter ref="soap" typeFilterLevel="Full"/>
            <formatter ref="binary" typeFilterLevel="Full"/>
            </serverProviders>
        </channel>
      </channels>
    </application>
  </system.runtime.remoting>
</configuration>


 
Old June 8th, 2011, 02:13 AM
Registered User
 
Join Date: Jun 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Red face

Maybe you should try this page: http://www.voip-sip-sdk.com/p_159-ho...urce-voip.html

It is about callback problems i think it might be useful for you.




Similar Threads
Thread Thread Starter Forum Replies Last Post
NET Remoting problem baga General .NET 0 March 23rd, 2007 12:58 AM
Remoting Callback Error maheshgv All Other Wrox Books 1 December 5th, 2005 03:33 PM
Remoting Problem Pallavs20 General .NET 0 October 21st, 2005 09:12 AM
Remoting problem roypjob .NET Web Services 1 January 20th, 2004 09:12 AM
Remoting.Callback sample mikhail BOOK: Professional C#, 2nd and 3rd Editions 0 July 11th, 2003 04:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.