Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: HTTP Post / ISA Server
alan01

From: Dallas, TX USA
Posts: 8
Member Since: 08/11/01
posted August 21, 2001 12:16 PM

I have a customer using MS ISA Server (proxy server). All my Dart FTP and HTTP commands work with it transparently (without specifying proxy host, port, etc.) except for the HTTP Post command which gives error "12032- The Win32 internet function needs to redo request."

And it doesn't make any difference if I specify proxy:port or not. Any advice appreciated.

What could the problem be?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted August 21, 2001 5:11 PM


Hi,
My guess is that the proxy is using an authorization scheme that the control does not automatically handle.
If you can find out what the messages received by the control from the proxy look like, that could help a great deal in figuring out what is going on.
You could do this using a sniffer utility. Another possibility would be to use our WebAsp control (from the Web Enterprise Tool) to try the Post, and create a trace log using its Trace Method. Unfortunately, the Web Control does not have this Trace capability.
-ken

K M Drake
Dart Tech Support
alan01

From: Dallas, TX USA
Posts: 8
Member Since: 08/11/01
posted August 21, 2001 6:02 PM

Could I download and install the 30-day-trial version of the Web Enterprise Tool to get the WebAsp control and use its Trace method to diagnose the problem? In other words, does the Trace method work in the 30-day-trial version?

And, can the Web Enterprise Tool co-exist on my computer with my other Power TCP Tools that I licensed (and not interfere with them or their supporting files)???
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted August 22, 2001 8:39 AM


Hi,
Yes, trials are only different from licensed tools in that you get the trial message every so often (before it expires).
Yes, it can co-exist.
-ken

K M Drake
Dart Tech Support
alan01

From: Dallas, TX USA
Posts: 8
Member Since: 08/11/01
posted August 24, 2001 8:46 AM

Hi, Ken.

I took your suggestion. I downloaded the trial version of the Web Enterprise Tool and wrote a program using its WebASP control so I could use the Trace method to see what's happening. A result that I had not anticipated was this: Whereas the Web control's GET worked and the POST did not, neither the WebASP control's GET nor POST worked.

Anyhow, with the WebASP control, the trace revealed the following stuff was received after sending a GET or a POST.

HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ) Via:1.1 JOPLIN01
Proxy-Authenticate: NTLM
Proxy-Authenticate: Kerberos
Proxy-Authenticate: Negotiate
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html

1. Any idea what this indicates and how it can be overcome?

2. Why did the Web control's GET work but not the WebASP control's GET?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted August 24, 2001 4:05 PM


Hi,
Yes, it means the proxy is using Microsoft's NTLM Authentication scheme, which we do not natively support. Which means you would have to add the appropriate headers yourself, including doing the base-64 encoding which is required.
Here is a page that describes the scheme:
http://www.innovation.ch/java/ntlm.html

The Web control uses Microsoft's Wininet, which is why it is able to pass. But then why does the Web Get work but not the Post? I'm not sure. It would be nice to see the messages exchanged between IE and the proxy, as this would demonstrate a successful traversal that could be imitated.
-ken

K M Drake
Dart Tech Support
 
alan01

From: Dallas, TX USA
Posts: 8
Member Since: 08/11/01
posted August 24, 2001 5:08 PM

Before I ask this, please know that I know practically nothing about ISA Server, and I am hundreds of miles from the customer site at which I have the problem we've been discussing in this thread. Furthermore, the person who is the administrator of ISA Server there is not on site either, and I have very little access to him through phone, email, or smoke signals, or whatever. The little contact that I have had with him revealed that he doesn't know much about it anyway.

But....I noticed that one item of information that gets sent in both the GET and the POST commands is "User-Agent," and in the case of using the WebASP control where the Trace method id available, I can see that its value is "Power TCP Web Enterprise Tool."

Do you know if, or does it seem plausible to you that, ISA Server can be and needs to be configured to accept that "User-Agent?" (I'm grasping at straws before having to refund what my customer paid me for my product that uses Dart controls.)

If so, what would be that name of the "User-Agent" for the Web control (the control I actually licensed)? Perhaps "Power TCP Web Tool?"

For what it's worth, ISA Server is Microsoft's latest proxy server software in the succession of it proxy products, MS ProxyServer 1.0 and MS ProxyServer 2.0. So one might expect that you will run into this a lot in the future.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted August 27, 2001 10:39 AM


Hi Alan,
That seems unlikely, but it is possible. This header is generally used for statistics purposes, but can be used for tailoring responses to certain clients.
The Web Tool's header is:
User-Agent: Dart Communications PowerTCP
-ken

beskra
BESKRA@LPGUYS.COM

From: Palos Hills, IL USA
Posts: 5
Member Since: 01/21/02
posted January 22, 2002 8:50 PM

Hi Alan,

I am having the same problem you were having a few months ago. I also have a client several hundred miles away, and I am experiencing the same issues. They are using Microsoft Proxy 2. However, when posting data, they keep getting the error "12032 - The WIN32 Internet Function needs to redo the request". Did you ever get a resolution to this problem? a work around? I have worked with my clients IT Dept. for almost a week now and we are just stuck! Any help would be appreciated. My e-mail is beskra@lpguys.com and my phone number is (708) 974-2838.

Thanks,

Brian.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX