补充一下:在启动程序的 Main 中注册一个服务端的服务对象,代码如下:// 注册服务
TcpServerChannel channel = 
   new TcpServerChannel(AppConfig.CurrentConfig.TcpPort);//TcpPort 是一整数。ChannelServices.RegisterChannel(channel);WellKnownServiceTypeEntry remObj =
    new WellKnownServiceTypeEntry(
    typeof(MyService),
    "MyServer/MyService",
    WellKnownObjectMode.SingleCall);// 由客户端每次调用时激活RemotingConfiguration.RegisterWellKnownServiceType(remObj);

解决方案 »

  1.   

    我在WIN2K中也试过,解决办法不太记得了,好象是将IE属性中自动拨号的选项去掉
      

  2.   

    补充一点,我的WIN2K上用的是自带的INTERNET共享,要将连接属性中的"启动请求拨号"去掉。希望对你有帮助。
      

  3.   

    Change the "EnableAutodial" value in  the registry. This is located in
    HkeyCurrentUser\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    You can do this by program and you only need to do this once before you
    establish the connection. If The connection is  established you can set it
    back to the original state. It is a binary value. Set the first byte to 01
    to enable autodial and to 00 to disable it.