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. .NET (Core and Framework)
  4. Why (407) Proxy Authentication Required???? [modified]

Why (407) Proxy Authentication Required???? [modified]

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpsysadminsecurityquestion
1 Posts 1 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.
  • G Offline
    G Offline
    Gasanov Tagir
    wrote on last edited by
    #1

    Please help I have: 1) the class public class UppCoordinator : MarshalByRefObject { public UppCoordinator() { } //Вечно живущий объект public override object InitializeLifetimeService() { return null; } public void ShowMessage(String msg) { MessageBox.Show("UppCoordinator: "+ msg); } } 2) Server application code static void Main(string[] args) { System.Runtime.Remoting.Channels. ChannelServices.RegisterChannel(new System.Runtime.Remoting.Channels.Http.HttpChannel(50050)); UppCoordinator.UppCoordinator rmUppCoord = new UppCoordinator.UppCoordinator(); ObjRef refUppCoord = RemotingServices.Marshal(rmUppCoord, "UppCoordinator"); Console.WriteLine("Сервер запущен. Введите Exit для остановки сервера"); String Str = ""; do Str = Console.ReadLine(); while(Str != "Exit"); } 3) Client code HttpChannel Chnl = new HttpChannel(); ChannelServices.RegisterChannel(Chnl); UppCoordinator rmCoordinator = (UppCoordinator)Activator.GetObject( typeof(UppCoordinator), "http://almaz-mebel.ru:50050/UppCoordinator"); rmCoordinator.ShowMessage("Hello!"); Why calling rmCoordinator.ShowMessage("Hello!") raises exception "Error 407, proxy authentication required"????

    modified on Thursday, April 23, 2009 4:45 AM

    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