The proxy settings on this computer are not configured correctly for Web discovery

I have a WiFi network comprising a Netgear router, a desktop and a laptop. A web service is set up on the desktop IIS. But when I try to add a web reference to a web application developed on the laptop to access the desktop web service, I get an error message : "The proxy settings on this computer are not configured correctly for Web discovery".

The desktop and laptop both have the Windows XP firewall enabled. The internet browser LAN settings are not set to use a proxy server. What do I need to configure and on what machine


Answer this question

The proxy settings on this computer are not configured correctly for Web discovery

  • Obsolete Profile Please Remove

    I'm having this same issue on WinXP that is stand alone and is not connected to a network of any type. The web service i am tyring to consume is not .NET however it is running on the local machine. I am able to access the wsdl directly through IE but when i try to add it as a web reference i get the same error on this post.

    "The proxy settings on this computer are not configured correctly for web discovery. Click the Help button for more information."

    another thing to note is if i do hook the computer up to the interent and try to access an external web service like https://adwords.google.com/api/adwords/v2/CampaignService wsdl it works fine.

    Is it possible that i'd only have an issue when accessing a local web service

    I've tried all the settings possible under internet explorer lan connections with shutting .Net down and re-opening it after to make sure the settings took also.

    Any ideas

    Thanks in advance.


  • in_trouble

    Hi Todd,

    Firstly, I unchecked the "Automatically detect settings" option on both machines. Using Internet Explorer, I entered the URL address for the web service on the other machine ("//Service1.asmx">http://<otherComputerName>/<virtualFolder>/Service1.asmx") but got the default IE page unavailable message (but no problem if I use - "/Service1.asmx">http://localhost/<virtualFolder>/Service1.asmx" or ""//Service1.asmx">http://<thisComputerName>/<virtualFolder>/Service1.asmx").

    I then checked the other option to "Use a proxy server for your LAN". This didn't work either, but I guess it wants me to specify a proxy server address and port number I haven't installed a proxy server and I don't know whether a default one is built-in to the LAN I don't know which address and port to specify.

    I'm a bit stuck here. It seems a bit odd to me that I should need to install an additional piece of software just to get access to the web server on another machine on my LAN.

    Thanks, your help is appreciated.

  • David Zeller

    Todd,

    I have a netgear WG311 v3 wireless adapter installed works great (with XP) but no drivers seem to be available for Vista is there any way around this or am i hardwired for the time being all else seems ok having some problems with netscape rather than explorer may just be me not doing it right i get a message "Program must close to allow a previous installation attempt to complete. Please restart" where do i restart it from

    Any help appreciated

    thanks

    Andy



  • Luigi Nicola Bruno

    This sounds like a networking problem.  I'm guessing that as soom as you get the laptop an the desktop to be able to see each other on your network everything will work fine.  This is an old thread, so if you are still having issues please repost to the I recommend posting to the Networking and Communication forum.

    Thanks.

    Daniel Roth

  • lgcardona

    Todd, my uploaded message has been slightly modified. Please ignore the rubbish preceding "http..." it should not be there (don't know where it came from!).

    Cheers
    Maroller

  • staceyw

    Hi I had the same problem, what I did was in LAN settings uncheck all the check boxes, that worked for me.
  • Dreifinger

    Yeah, definately sounds like a networking problem. Ok, so if you open up IE on the web service server itself and type in http://locahost or http://servername then it works. But if you open up IE from the client machine and type in http://remoteservername then you get the page unavailable error message.

    Can you confirm that when you ping RemoteServerName that it correctly maps to the correct IP address for the web site hosting your web service If it doesn't then can you try adding an entry into the %windir%\system32\drivers\etc\HOSTS file. Once you have an entry for RemoteServerName that maps to the correct IP address then we can certainly rule out any name resolution problems.

    -Todd

  • Kamii47

    Hi,
    Where is this LAN settings I do not find it.
    Thanks

  • Gaingsbourg

    Hi Todd,

    I've been away for a few days.

    I checked with ping on both machines, and there are no problems at that level.

    I then tried your followup suggestion just to see if it made a difference. I added an entry to the HOSTS file on one machine to map the IP address (of the other machine) to it's network name. I rebooted and tried to access the web service on the other machine via IE. Unfortunately, no luck, the IE page unavailable is again displayed.

    So, the problem doesn't appear to be due to IP address mapping.

    Thanks again for your help.

    Maroller

  • Mr.D.J.Webber

    Try unchecking the "Automatically detect settings" box in the proxy settings dialog in VS 2005->Tools->Options->Web Browser->Internet Explorer Options. In fact, uncheck everything there. Then make sure your hosting service supports .asmx file types.

  • mengruts

    Hello Maroller,

    Sounds like you just need to set your LAN settings. If "Automatically detect settings" option is checked, then uncheck it and try again. Take a look at these links and let us know if that takes care of it:

    The proxy settings on this computer are not configured correctly for Web discovery
    http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsintro7/html/VS_E_MUSTSPECIFYPROXYSERVER.asp 

    835456 When you change your proxy server settings, the change does not take
    http://support.microsoft.com/ id=835456

    Cheers,
    -Todd Foust

  • The proxy settings on this computer are not configured correctly for Web discovery