Search code examples
iisiis-7asp-classicwindows-vista

IIS 7 'Server.CreateObject failed'


I've installed IIS7 on my workstation and enabled IIS6 compatibility so I can test classic asp pages (for some old projects here at work).

Some pages work, but others don't.

I receive:

Serverobject error 'ASP 0177 : 800401f3'

Server.CreateObject failed

/master.central.be/master_connection.asp, line 55

800401f3

On that line i've got:

Set dicTalenLabels = Server.CreateObject("Scripting.Dictionary")

Anybody got some ideas what todo to fix this?

Edit:

As suggested by Michael Pryor, i've ran a vbscript with similar code and it was succesful. So it probably has something todo with permissions. Currently trying to figure out which files exactly...

Do I need to add IUSR to scrrun.dll? When trying, I do not have permission, although i'm a adminstrator.


Solution

  • Edited: He's running 32 bit vista, so it's definitely not a 64 bit issues.

    Make a test.vbs file and put this in it

    Dim o: Set o = CreateObject("Scripting.Dictionary")

    Then run it like so

    cscript.exe test.vbs

    Does it give you the same error?

    If it does, then the regsvr32 is failing or something is wrong with the registry keys it would normally put in the registry.

    If it doesn't fail, it's likely that the user you have running your asp page (by default it is IUSR_machinename) doesn't have permissions on either ther registry keys it needs, or the actual .dll