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

  • SEARCH
  • Home
  • 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 498745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:54:53+00:00 2026-05-13T05:54:53+00:00

Basically I think this is a bug in Windows Server 2008, but I am

  • 0

Basically I think this is a bug in Windows Server 2008, but I am not a COM ninja so it seems equally likely that I’m just doing something dumb. The question is: bug or programmer error?

We use WinHttpRequest (the ActiveX component of WinHttp) to read http:// and https://. The ProgID we are using to look up the component is WinHttp.WinHttpRequest.5.1.

Our application worked fine on XP and Windows Server 2003. Under Windows Server 2008 we would get an error (0x800029C4A "Error loading type library/DLL") loading the type library. Re-registering winhttp fixes the issue. The question is, why?

After numerous deadends, I found the following in the registry.

Windows 2008 Server SP2 as installed:

Name=HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{662901FC-6951-4854-9EB2-D9A2570F2B2E}\5.1\0\win32=%SystemRoot%\system32\winhttp.dll
Type=REG_SZ
Data=%SystemRoot%\system32\winhttp.dll

After calling regsvr32 %SystemRoot%\System32\WinHttp.dll, this key changes value:

Name=HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{662901FC-6951-4854-9EB2-D9A2570F2B2E}\5.1\0\win32
Type=REG_SZ
Data=C:\Windows\system32\winhttp.dll

My understanding is that keys of type REG_EXPAND_SZ expand system paths like %SystemRoot% but REG_SZ do not. So either the type should be REG_EXPAND_SZ, or the expanded path should be used. Re-registering WinHttp fixes the path and thus fixes WinHttpRequest. (As far as I can tell, XP used C:\Windows\System32\winhttp.dll and Server 2003 used a SxS install that works for me>0

So I think this is a bug, and I filed a bug with Microsoft (or at least as much as I could do from the swamp that is connect.microsoft.com.) But here’s the part I don’t get: since Windows Server 2008 and Vista are very similar, it seems likely that this issue is present in Vista also. WinHttpRequest has got to be a commonly used object. The masses should be screaming, but after lots of googling I found only one thread where people encountered this problem.

Re-registering winhttp fixes the issue, so that’s what we’re doing. I’m posting this because a) I just can’t believe that it is best practice to re-register this commonly-used component and b) if it is a bug, maybe this will help somebody else.

-Rob

  • 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-13T05:54:53+00:00Added an answer on May 13, 2026 at 5:54 am

    Yes, this turns out to be a bug in manifest of W2K8, but not necessarily the manifest for Vista. Microsoft seems to be aware of this issue and Microsoft should be able to fix this in next release. Current work around for WinHTTP as well as ServerXmlHttp is to manually register the COM component.

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

Sidebar

Ask A Question

Stats

  • Questions 258k
  • Answers 258k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer See the document referenced by CodeByMoonlight in an answer to… May 13, 2026 at 10:57 am
  • Editorial Team
    Editorial Team added an answer The td would span if there where another tr inside… May 13, 2026 at 10:57 am
  • Editorial Team
    Editorial Team added an answer I was getting confused by this as well. You want… May 13, 2026 at 10:57 am

Related Questions

basically i upgraded ubuntu to juanty, and with it came python2.6 so i decided
I was tracking down a bug in a small .NET app written here at
I am trying to query the windows desktop search API using SQL. I have
I have a pointer to a given class. Lets say, for example, the pointer
I need to define a runtime environment for my development. The first idea is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.