I have several ASP scripts on my web server that I was running using VBS.
They were all running fine, then a little while ago I uninstalled Backup
Exec on that server and all the scripts now fail with the following error:

Line 8, Char 1
Can't create object 'WinHttp.WinHttpRequest.5'
Code: 800A01AD

The relevant line of code in the script is:
Set objWinHttp = CreateObject("WinHttp.WinHttpRequest.5")

It seems that the uninstall of BE hosed the installation of WinHttp. How
can I fix it?

Thanks!

Re: Need help with broken scripts by tlviewer

tlviewer
Sat Oct 09 13:23:38 CDT 2004


"Bill Puetz" <bpuetz@anatek.com> wrote in message =
news:uriJheirEHA.1964@TK2MSFTNGP12.phx.gbl...
> I have several ASP scripts on my web server that I was running using =
VBS.=20
> They were all running fine, then a little while ago I uninstalled =
Backup=20
> Exec on that server and all the scripts now fail with the following =
error:
>=20
> Line 8, Char 1
> Can't create object 'WinHttp.WinHttpRequest.5'
> Code: 800A01AD
>=20
> The relevant line of code in the script is:
> Set objWinHttp =3D CreateObject("WinHttp.WinHttpRequest.5")
>=20
> It seems that the uninstall of BE hosed the installation of WinHttp. =
How=20
> can I fix it?
>=20
> Thanks!
>=20
>=20

If this file=20
C:\WINNT\System32\winhttp.dll

is still on your system, do a re-register
/run,
regsvr32 C:\WINNT\System32\winhttp.dll

hth,
tlviewer


Re: Need help with broken scripts by Bill

Bill
Sat Oct 09 13:46:04 CDT 2004

Thanks for your help. This is on Server 2003, where WInHttp runs as a Side
By Side assembly, so it is actually in a Windows folder like this:

c:/Windows/WinSxS/x86_Microsoft.Windows.WinHTTP_6595b64144ccf1df_5.1.0.0_x-ww_E0651936

Would the same principle of re-registering the dll apply?

Bill


"tlviewer" <tlviewerSHRUB@yahooCHENEY.com> wrote in message
news:%23DqGm0irEHA.3868@TK2MSFTNGP15.phx.gbl...

If this file
C:\WINNT\System32\winhttp.dll

is still on your system, do a re-register
/run,
regsvr32 C:\WINNT\System32\winhttp.dll

hth,
tlviewer