我在 http://localhost/quickstart/HowTo/  中学习  《创建远程服务器》,
新建工程,添加链接,拷贝代码,
运行时出现错误 : 
未处理的“System.ArgumentNullException”类型的异常出现在 mscorlib.dll 中。其他信息: 值不能为空。示例给出的server运行却没有这样的问题,请大家指点。服务器代码:
TcpChannel chan = new TcpChannel(8085);
ChannelServices.RegisterChannel(chan);

RemotingConfiguration.RegisterWellKnownServiceType(Type.GetType("RemotingSamples.HelloServer,Object"), "SayHello", WellKnownObjectMode.SingleCall);
System.Console.WriteLine("Hit <enter> to exit...");
System.Console.ReadLine();
return 0;服务器对象代码:
public class HelloServer : MarshalByRefObject 
{ public HelloServer() 
{
Console.WriteLine("HelloServer activated");
} public String HelloMethod(String name) 
{
Console.WriteLine("Hello.HelloMethod : {0}", name);
return String.Format("Hi there {0}", name);
}
}