Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5844167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:15:16+00:00 2026-05-22T12:15:16+00:00

I have a VB6 program running on Windows Server 2003 (32 bit) that uses

  • 0

I have a VB6 program running on Windows Server 2003 (32 bit) that uses the Microsoft ServerXMLHTTP object to make a HTTP connection to a web service using NTLM authentication. To get the authentication to work I have to configure the winhttp proxy to put the destination server in the proxy bypass list by running

proxycfg -p proxy-server dest-web-server

in a command prompt.

Having done this each call to the web service results in 3 HTTP calls to the web server as the ServerXMLHTTP object first tries anonymous access, followed by 2 calls to make the NTLM authentication happen. This is all normal and expected.

After migrating the program to Windows Server 2008 (64 bit), and using the equivalent proxy setting in a command prompt

netsh winhttp set proxy proxy-server="proxy-server" bypass-list="dest-web-server"

the NTLM authentication no longer works. The web server logs show that the ServerXMLHTTP object is only making one anonymous HTTP connection and returning a 401 response, and never attempting NTLM authentication.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:15:17+00:00Added an answer on May 22, 2026 at 12:15 pm

    The key to the solution is that the program moved from a 32 bit server to a 64 bit server. There are separate winhttp settings for 32 bit programs and 64 bit programs.

    To get authentication happening again I needed to open the 32 bit command prompt “c:\windows\SysWOW64\cmd.exe” and run the netsh proxy settings utility from there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a VB6 program that someone recently helped me convert to VB.NET In
I have a relatively simple select statement in a VB6 program that I have
I have a COM Callable Wrapper that I'm using from a VB6 program, but
I have a VB6 dll that is trying to create a COM object using
We have a legacy VB6 application that uses Crystal Reports XI to generate printed
I have a C# application that uses the SerialPort object to establish a connection
I have a VB6 program which uses comctrl32.ocx to display a progress bar. I've
I have created a manifest file for a VB6 application that is running on
We have a program written in VB6 that in the past connected to Oracle
We have a legacy vb6 program using Active Reports 2. We have been running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.