Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 5th, 2004, 08: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.

  #2 (permalink)  
Old December 8th, 2004, 12: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>


  #3 (permalink)  
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.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02:33 PM
Remoting Problem Pallavs20 General .NET 0 October 21st, 2005 09:12 AM
Remoting problem roypjob .NET Web Services 1 January 20th, 2004 08:12 AM
Remoting.Callback sample mikhail BOOK: Professional C#, 2nd and 3rd Editions 0 July 11th, 2003 04:02 PM



All times are GMT -4. The time now is 05:24 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.