Windows Server 2008 Forum

Login or register to remove this ad.

Go Back   Windows Server 2008 Forum > Windows 2008 Features Help and Discussions > Internet Information Services (IIS)

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



Reply
 
LinkBack Thread Tools Display Modes
Old 03-03-2008, 12:34 AM   #1
Member
 
Join Date: Feb 2008
Posts: 7
Rep Power: 0
Frontier is on a distinguished road
Default IIS 7 - can't start classic COM objects?

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.
Frontier is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2008, 04:15 PM   #2
Administrator
 
BSchwarz's Avatar
 
Join Date: Feb 2008
Location: Joliet, IL, U.S.
Posts: 215
Blog Entries: 15
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via Yahoo to BSchwarz
Default Re: IIS 7 - can't start classic COM objects?

Maybe this page will help:

Active Server Pages returns VBScript runtime error '800a01ad'

Also it's possible you'll have to run the server in 32bit mode.

This should help if that indeed is the problem. Written for Windows 2003, but should work with Windows 2008 and IIS7.

Microsoft Corporation
BSchwarz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-04-2008, 03:57 AM   #3
Member
 
Join Date: Feb 2008
Posts: 7
Rep Power: 0
Frontier is on a distinguished road
Default Re: IIS 7 - can't start classic COM objects?

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
Frontier is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-04-2008, 03:35 PM   #4
Administrator
 
BSchwarz's Avatar
 
Join Date: Feb 2008
Location: Joliet, IL, U.S.
Posts: 215
Blog Entries: 15
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via Yahoo to BSchwarz
Default Re: IIS 7 - can't start classic COM objects?

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.
BSchwarz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-05-2008, 12:58 AM   #5
Member
 
Join Date: Feb 2008
Posts: 7
Rep Power: 0
Frontier is on a distinguished road
Default Re: IIS 7 - can't start classic COM objects?

Quote:
Originally Posted by BSchwarz View Post
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...

Last edited by Frontier; 03-05-2008 at 01:43 AM. Reason: edited for better understanding / avoiding syntax errors)
Frontier is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-05-2008, 04:11 PM   #6
Administrator
 
BSchwarz's Avatar
 
Join Date: Feb 2008
Location: Joliet, IL, U.S.
Posts: 215
Blog Entries: 15
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via Yahoo to BSchwarz
Default Re: IIS 7 - can't start classic COM objects?

Your welcome.
BSchwarz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-10-2008, 02:38 AM   #7
Member
 
Join Date: Feb 2008
Posts: 7
Rep Power: 0
Frontier is on a distinguished road
Default Re: IIS 7 - can't start classic COM objects?

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
Frontier is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-10-2008, 04:47 AM   #8
Member
 
Join Date: Feb 2008
Posts: 7
Rep Power: 0
Frontier is on a distinguished road
Default Re: IIS 7 - can't start classic COM objects?

Maybe I should rephrase my question: is there a way to keep one application pool in x64, and another application pool in x86 "mode"?
Frontier is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-10-2008, 05:32 PM   #9
Administrator
 
BSchwarz's Avatar
 
Join Date: Feb 2008
Location: Joliet, IL, U.S.
Posts: 215
Blog Entries: 15
Rep Power: 10
BSchwarz has disabled reputation
Send a message via AIM to BSchwarz Send a message via Yahoo to BSchwarz
Default Re: IIS 7 - can't start classic COM objects?

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.
BSchwarz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
classic, iis, objects, start



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -6. The time now is 08:01 AM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2008 Windows Server 2008 Forum and Robert Schwarz. All rights reserved.
Windows Server 2008 Forum is an independent web site and is not affiliated with Microsoft Corporation.