Wrox Programmer Forums
|
BOOK: Professional C# 2005
This is the forum to discuss the Wrox book Professional C# 2005 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones; ISBN: 9780764575341
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2005 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 9th, 2007, 09:47 AM
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 29 - Remoting

I am using the simple remoting example (starting on page 1017), with the class library, server, and client. All of this works fine when run on the same computer.

If I run the server on one computer and the client on a different PC, it works, but when the client application exits the server crashes with an unhandled exception (System.AccessViolationException).

The only change made to run the client on another PC was to change "localhost" to the server PC IP address (192.168.0.5) in the client Activator.GetObject string.

What can be done to avoid this problem?







Similar Threads
Thread Thread Starter Forum Replies Last Post
Remoting in C# mahen_pali C# 2005 1 February 24th, 2009 05:15 PM
Remoting in c# mahen_pali C# 0 November 17th, 2008 10:17 AM
Chapter 24 Remoting code is missing eschmidt BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 3 February 16th, 2008 09:37 PM
Remoting bhavana .NET Framework 1.x 0 November 12th, 2007 04:20 AM
Ch 29 Deploying: Debug vs Release dvj81 BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 May 30th, 2006 09:50 AM





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