Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remoting Channel problem with .NET 2.0

Remoting Channel problem with .NET 2.0

Scheduled Pinned Locked Moved C#
csharpvisual-studiocomtoolshelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bob Stanneveld
    wrote on last edited by
    #1

    Hello, I'm using Visual Studio 2005 Standard Edition and I'm writing an application with C# using the .NET 2.0 framework. I've come across a little problem when I want to create my remote objects. The problem is that I cannot create a TcpChannel. I use the following code:

    // import the TCP channel
    using System.Runtime.Remoting.Channels.Tcp;

    // Somewhere in code
    // Create the TcpChannel
    m_TcpChanServ = new TcpChannel(10000);

    The problem is that the compiler complains that it doesn't know the Tcp namespace. It worked with VS2003. Was the Tcp namespace moved under .NET 2.0 or is it unavailable for the Standard Edition of visual studio? Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

    S 1 Reply Last reply
    0
    • B Bob Stanneveld

      Hello, I'm using Visual Studio 2005 Standard Edition and I'm writing an application with C# using the .NET 2.0 framework. I've come across a little problem when I want to create my remote objects. The problem is that I cannot create a TcpChannel. I use the following code:

      // import the TCP channel
      using System.Runtime.Remoting.Channels.Tcp;

      // Somewhere in code
      // Create the TcpChannel
      m_TcpChanServ = new TcpChannel(10000);

      The problem is that the compiler complains that it doesn't know the Tcp namespace. It worked with VS2003. Was the Tcp namespace moved under .NET 2.0 or is it unavailable for the Standard Edition of visual studio? Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

      S Offline
      S Offline
      S Senthil Kumar
      wrote on last edited by
      #2

      Did you try explicitly adding a reference to System.Runtime.Remoting.dll? Regards Senthil _____________________________ My Blog | My Articles | WinMacro

      B 1 Reply Last reply
      0
      • S S Senthil Kumar

        Did you try explicitly adding a reference to System.Runtime.Remoting.dll? Regards Senthil _____________________________ My Blog | My Articles | WinMacro

        B Offline
        B Offline
        Bob Stanneveld
        wrote on last edited by
        #3

        Hello, I din't try this, yet... I think that the reference is the problem. I'm still used to C++ and that headers do all that magic for me. :-O I'll let you know if this doesn't work. Thanks for the reply! Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups