请问熟悉Remoting的,我现在做Test remoting程序,发现客户端安装了vs.net就可以调用远端物件,而只装了框架1.1的客户机就会出错,不知道为什么,希望高手们指点指点。

解决方案 »

  1.   


                Dim properties As New Hashtable
                properties("Name") = "HttpBinary"
                Dim formatter As New BinaryClientFormatterSinkProvider
               
               ‘下面这句出错,不知道点解
                ex.Message提示 The type initializer for "System.Net.Dns" threw an exception
                Dim channel As New HttpChannel(properties, formatter, Nothing)
      

  2.   

    有谁知道为什么一创建httpchannel就出错呢?
      

  3.   

    不知跟IIS有没关系,你用TcpChannel试下正常否?
      

  4.   

    to  qiezic(笨鸟),
        用TcpChannel没有问题,想问一下为什么httpchannel会不行呢,希望能给个答案。多谢