none
DiscoveryClientProtocol Error

    Question

  • Hi,

     

    I am facing problem with windows service which is trying to call DiscoveryClientProtocol.DiscoverAny(url). It gives the error message saying that proxy connection timed out. But if the windows service runs under admin account then it works perfectly alright. How do i make the windows service run under a normal domain user account and make this work?

    url here is of a WCF service.

    System.Web.Services.Discovery.DiscoveryClientProtocol discovery =

    new System.Web.Services.Discovery.DiscoveryClientProtocol();

    discovery.Timeout = 300000;

    discovery.AllowAutoRedirect = true;

    discovery.DiscoverAny(url); //fails here

    discovery.ResolveAll();

     

    Please guide me.

     

    Many thanks

    Past

    Thursday, July 10, 2008 12:31 PM

All replies

  • Hi Past,

     This forum is for Windows Communication Foundation-releated questions.

     You should move your question to the ASMX forum group:
     http://forums.msdn.microsoft.com/en-US/asmxandxml/threads/

     --larsw
    • Proposed as answer by Junior0300 Thursday, October 28, 2010 1:08 PM
    Thursday, July 10, 2008 1:05 PM
    Moderator
  • I mistakenly hit the Proposed button so please ignore that!

    The question asked here in this post is WCF related and should be answere here on this thread. Could anyone suggest a replacement of

    DisoveryClientProtocol class in .NETFramework 3.5 because this class doesn't support Tcp, NetNamePipe, etc .

    Your help will be greatly appreciated!!!

    Thursday, October 28, 2010 1:12 PM
  • Can you see any events related to this? Try to figure out why this service login cannot talk throug the net.
    Leonid Ganeline [BizTalk MVP] Biztalkien blog
    Friday, October 29, 2010 3:36 AM
    Moderator