IIS 7 - can't start classic COM objects?

Frontier

Member
Joined
Feb 28, 2008
Messages
7
Hi there :)

My IIS7 is now running almost flawlessly on my x64 server. The "only" little issue left, is a real bugger. I can't seem to initiate any of the "older" classic ASP objects which I have registered using regsvr32. No matter the object or ASP file, I get this error:

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object


Has anyone experienced this?

Sincerely,
Klaus J.
 
I downloaded the dependy walker, and it turned out that gpsvc.dll was missing. File retrieved and put into c:\windows\system32\ - then the error in Dependency Walker went away.

gpsvc.dll couldn't be registered using regsvr32, it said "dllregisterserver entry point not found" - but my Vista workstation returns the same error on the same file (which has always been there).

I have given both "network service" and "IIS users" read/execute permissions to the DLL file. However, I still get the same ASP error :(
 
BSchwarz said:
It has to be a problem with running in 64bit mode. Try stetting IIS to run in 32bit mode. The second link shows how to do that.

And you are exactly right - that truly worked :)

To those with the same problem - the syntax is wrong on the M$ homepage. From C:\inetpub\AdminScripts\, the command which needs to be run, is:

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true
(all in one long line)

Also, you might wanna restart IIS (W3SVC service) after doing this...

File missing...
Also - running Dependency Walker, I found out that gpsvc.dll was missing from the System32 folder. I haven't removed it, and the Win2K8 install isn't even 1 month old. I checked my Vista box, which does have the file. So I copied the from my Vista x86 box (shame on me) - and now even Dependency Walker doesn't complain about missing files...

And guess what - it works! Thanks a lot, BSchwarz, I'm amazed of your skills. I wonder what kind of job (and wage) you have on a daily basis...
 
One "little" problem (whight might not be the right place to ask, since this is a Windows forum).

When I allow 32-bit applications to run, I get this error in my Exchange OWA (web access):
HTTP Error 500.0 - Internal Server Error
Calling LoadLibraryEx on ISAPI filter "C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll" failed
 
Maybe I should rephrase my question: is there a way to keep one application pool in x64, and another application pool in x86 "mode"?
 
Should be able to. Open IIS manager and select app pools. Right click the app pool and select advanced properties. Second option down is to run in 32 bit mode.
 
Back
Top