Discussion:
winhttp autodetect failed(urgent)
(too old to reply)
selva
2006-10-31 14:38:27 UTC
Permalink
i need to retrive the URL of PAC file deployed in LAN,hence i used
WINNHTTP autodetect option but it is returning error 12180.i found that
both DHCP and DNS is working fine.... what might be a problem in
detection? any suggestions will be appreciated!!!
Stephen Sulzer
2006-11-04 09:29:17 UTC
Permalink
Error 12180 is ERROR_WINHTTP_AUTODETECTION_FAILED. It means that WinHttp
could not find the PAC URL either via a DHCP query or by checking some
"well-known" DNS locations.

How is your PAC file deployed?

If the URL pointing to the file is not discoverable via a DCHP option 252
"auto-proxy-config" query, then there must be a wpad.dat file located at
"http://wpad." + Primary DNS suffix of the host (the computer using
WinHttp).

See http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol for more
information.

Hope that helps.

Regards,
- Stephen
selva
2006-11-08 04:57:53 UTC
Permalink
thanks Stephen for ur reply,
i found that my PAC url is "http://wpad/wpad.dat" but the AUTO
DETECT IN winhttp is returning the error 12180 what might be a problem.
please help me regarding this...
Regards
selva
Post by Stephen Sulzer
Error 12180 is ERROR_WINHTTP_AUTODETECTION_FAILED. It means that WinHttp
could not find the PAC URL either via a DHCP query or by checking some
"well-known" DNS locations.
How is your PAC file deployed?
If the URL pointing to the file is not discoverable via a DCHP option 252
"auto-proxy-config" query, then there must be a wpad.dat file located at
"http://wpad." + Primary DNS suffix of the host (the computer using
WinHttp).
See http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol for more
information.
Hope that helps.
Regards,
- Stephen
Loading...