PRB: Server.CreateObject Fails When You Use an MSWC or IISSample Component (249290)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
- Microsoft Internet Information Server 4.0
This article was previously published under Q249290 SYMPTOMS
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.
CAUSE
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.
RESOLUTION
To resolve this issue, install the IIS Resource Kit components. The DLL automatically registers when the IIS Resource Kit components are installed.
You can purchase the current IIS Resource Kit components at the following Web address:
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.
REFERENCES
For more information about MSDN Subscription downloads for the IIS Resource Kit, go to the following Web site:
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbprb kbRegistry kbScript KB249290 |
---|
|