Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ASP error 0x800401F9

19 views
Skip to first unread message

Thomas Rogers

unread,
Oct 18, 2002, 2:22:49 PM10/18/02
to
I can create WinHTTP objects just fine in VB apps, and VBS scripts, but not
in an ASP page.

Line 97 of my ASP has the following code:


Set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5").


And IIS throws the following error ASP:

Error Type:
Server object, ASP 0177 (0x800401F9)
Error in the DLL
<redacted>.asp, line 97


Lastly, my IUSR_<machinename> account has been mapped to the Admins group
jus to make sure it isn't a permissions problem. I have tried reg and unreg
of the WINHTTP5.dll, and even specifically granting execute perms to
c:\WINNT\System32 for the IUSR account, and granted said account registry
perms on the CLSID, etc.

Oh, and my IIS server is Win2K, SP2. I have installed MDAC 2.7.

Regards,
Tom Rogers


Stephen Sulzer (Microsoft)

unread,
Oct 18, 2002, 4:23:44 PM10/18/02
to
Tom,

This is a bug in WinHTTP 5.0. Loading winhttp5.dll into the process will
fail if more than 63 thread-local storage (TLS) slots have already been
allocated. There isn't much you can do to work around this bug, other than
to try to get WinHTTP 5.0 loaded as early as possible by your IIS server,
before other components are used.

This bug is fixed in WinHTTP 5.1, which is available with Windows 2000
Service Pack 3.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winhttp/htt
p/differences_between_winhttp_5_1_and_winhttp_5_0.asp


Regards,

Stephen Sulzer
Microsoft Corporation


This posting is provided "AS IS" with no warranties, and confers no rights.

"Thomas Rogers" <tho...@tjrtech.com> wrote in message
news:Ozm2rMtdCHA.2588@tkmsftngp12...

0 new messages