Thursday, November 1, 2007

Resolving -2147467259 (0x80004005)

I was having a problem. Every time I tried to load an ASP page under IIS in Windows XP, I got the following, obtuse error message:

-2147467259 (0x80004005)

If I ran an iisreset, I would get the following error once, and then the numerical error would resume:

The remote procedure call failed and did not execute.

I used filemon to watch the network traffic, but the closest I came to anything useful was a Buffer Overflow on the ASP page, even when it was nothing more than a Response.Write.

I did some digging and found a reference to this being a problem after installing PHP under Windows. This piqued my interest, because I'd just installed PHP. I tried to unistal it, but got an error that there was a problem with the installer.


Finally I stumbled across a solution that has restored my ability to run ASP pages locally.

I ran the following commands from the command line:

regsvr32 C:\WINDOWS\system32\vbscript.dll
regsvr32 c:\WINDOWS\system32\inetsrv\asp.dll

Does the PHP install damage the registration of these DLLs? I don't know. I do know things are working and I can move on with my day.


Anonymous said...

Dude I could kiss you!!!!!!!!

Thanks ... that worked like a charm :)

Unknown said...

Thank you very very very much. Fixed!!!