When you run Active Server Pages (ASP) or an HTML page using an IISSample or MSWC component, the following error message may occur:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed.
This error message occurs when the Internet Information Server (IIS) Resource Kit components are not installed or when the DLL associated with the component is not registered correctly.
To resolve this issue, install the IIS Resource Kit components. The DLL automatically registers when the IIS Resource Kit components are installed.
The IIS Resource Kit components are also available from the following MSDN Subscription Web page:
If the IIS Resource Kit is installed and you receive the "Server.CreateObject Failed" error message, perform the following steps:
- Start Registry Editor (Regedt32.exe).
- Click Edit, and then click Find and search to locate the ProgID of the object you are trying to create (For example, "MSWC.Tools" for Tools). The ProgID is located in the following registry key:
HKEY_CLASSES_ROOT\CLSID\{64D9163F-BA0F-11D0-979C-00A0C908612D}\PROGID.
- Open the InprocServer32 folder located in the registry key
HKEY_CLASSES_ROOT\CLSID\{64D9163F-BA0F-11D0-979C-00A0C908612D},
and locate the path and name of the DLL that is listed as the default value. - Click Start, click Run, and then type the following:
Regsvr32 <pathtodll>\<dllname.dll>.
- Click Start, click Run, and then type the following:
Regsvr32 <<I>DLLName.dll</I>>
- Run the ASP page.
Steps to Reproduce the Behavior
The following code example generates the "Server.CreateObject Failed" error message when the IIS Resource Kit Component is not installed:
set MyVar= server.createobject("MSWC.Tools")
When you create the components in the following table using the
Server.CreateObject on an ASP page, the "Server.CreateObject Failed" error message occurs:
Collapse this tableExpand this table
| Class Name | Component | DLL or associated file | Support |
|---|
| IISSample.Asp2Htm | Asp2Htm | Msjava.dll, Asp2htm.class | Not officially supported by Microsoft |
| Baxtab.baxtab | Backstab | Backstab.dll | Supported |
| No Class Specified | Calendar | Calendar.inc | Supported |
| AMHTML.Application | Collaboration | None | Supported |
| IISSample.ContentRotator | Content Rotator | Controt.dll | Not officially supported by Microsoft |
| MSWC.Counters | Counters | Counters.dll | Supported |
| IISSample.htmlTbl | HTML Table | Msjava.dll, Htmltbl.class, Context.class | Not officially supported by Microsoft |
| Mcs.loadbalancer | Load Balancer | Loadbal.dll | Supported |
| IISSample.PageCounter | Page Counter | Pagecnt.dll | Not officially supported by Microsoft |
| IISSample.PermissionChecker | Permission Checker | Permchk.dll | Not officially supported by Microsoft |
| IISSample.RegistryAccess | Registry Access | Reg.dll | Not officially supported by Microsoft |
| MSWC.Status | Status | Status.dll | Supported |
| IISSample.SummaryInfos | Summary Info | Suminfo.dll | Not officially supported by Microsoft |
| MSWC.Tools | Tools | Tools.dll | Supported |
| IISSample.Tracer | Tracer | Tracer.dll | Supported |