可能是没有在项目中添加引用system.runtime.remoting.dll吧
反正在windows forms 编程是这样的

解决方案 »

  1.   

    试试在项目中添加引用 system.runtime.remoting.dll文件
      

  2.   

    System.Runtime.Remoting是在GAC里面的Assembly,所以引用的时候必须使用全名(Assembly.FullName):
    <channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    <channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
      

  3.   

    注册(Config)好之后用new生成新对象就可以了。