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. Exteranal config for Remoting cause big problem

Exteranal config for Remoting cause big problem

Scheduled Pinned Locked Moved C#
wcfsysadminxmlhelpquestion
4 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.
  • T Offline
    T Offline
    TrooperIronMan
    wrote on last edited by
    #1

    OK I tried to double chech (5 times at least acctually) all things, still when I replace this code: HttpChannel c = new HttpChannel(32469); ChannelServices.RegisterChannel(c); RemotingConfiguration.RegisterWellKnownServiceType( typeof(SimpleChatProgram_DLL.SimpleChatProgramLibrary), "RemoteMsgObj.soap", WellKnownObjectMode.Singleton); with this one RemotingConfiguration.Configure("App.config", false); and this config file: my client app (very simple program btw), stop working it can't even start anymore... Server start just as usual, but doesn't work as expected... Any idea?

    T 1 Reply Last reply
    0
    • T TrooperIronMan

      OK I tried to double chech (5 times at least acctually) all things, still when I replace this code: HttpChannel c = new HttpChannel(32469); ChannelServices.RegisterChannel(c); RemotingConfiguration.RegisterWellKnownServiceType( typeof(SimpleChatProgram_DLL.SimpleChatProgramLibrary), "RemoteMsgObj.soap", WellKnownObjectMode.Singleton); with this one RemotingConfiguration.Configure("App.config", false); and this config file: my client app (very simple program btw), stop working it can't even start anymore... Server start just as usual, but doesn't work as expected... Any idea?

      T Offline
      T Offline
      TrooperIronMan
      wrote on last edited by
      #2

      Any idea guys, I tried bunch of mine, but none give expected results, guess it's something trivial..

      L 1 Reply Last reply
      0
      • T TrooperIronMan

        Any idea guys, I tried bunch of mine, but none give expected results, guess it's something trivial..

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        try the filters ... unfortunately i forgot the right syntax, but it have something to do with soap or binaryfilter... i cut/copy this from my own project, maybe it helps you VirtualVoid.NET

        T 1 Reply Last reply
        0
        • L Lost User

          try the filters ... unfortunately i forgot the right syntax, but it have something to do with soap or binaryfilter... i cut/copy this from my own project, maybe it helps you VirtualVoid.NET

          T Offline
          T Offline
          TrooperIronMan
          wrote on last edited by
          #4

          I still didn't got this working...

          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