login about faq

Hi all.

Using VB6 and Chilkat HTTP

the code is (taken from examples) :

Dim success As Long Dim html As String

' Any string unlocks the component for the 1st 30-days.

success = http.UnlockComponent("Anything for 30-day trial")

If (success <> 1) Then

MsgBox http.LastErrorText

Exit Sub

End If

http.Login = "xxxx" ' tried also http.ProxyLogin

http.Password = "xxxx" ' tried also http.ProxyPassword - no success

http.ProxyDomain = "xxx.xxx.xxx.xxx"

http.ProxyPort = 8080

http.NegotiateAuth = 1

' Send the HTTP GET and return the content in a string.

html = http.QuickGetStr("http://www.google.com/")

' Print the HTML source that was downloaded.

Text1.Text = Text1.Text & html & vbCrLf


Im getting this error :

Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. (12209)

I got real proxy ip/login/pass which works with browser. But not with this example.

I tried it also using winhttp, same result.

wihttpreq.getallresponseheaders give me this :


Proxy-Authenticate: Negotiate

Proxy-Authenticate: Kerberos

Proxy-Authenticate: NTLM

Proxy-Authenticate: Basic realm="xxxxxx.xxx.xxx"

Connection: close

Proxy-Connection: close

Pragma: no-cache

Cache-Control: no-cache

Content-Type: text/html

Content-Length: 4112

What's wrong ? Please help.

asked Apr 17 '13 at 15:42

dalipta's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 17 '13 at 15:42

Seen: 2,101 times

Last updated: Apr 17 '13 at 15:42

powered by OSQA