Help and Support

PRB: Server.CreateObject Fails When You Use an MSWC or IISSample Component

Article ID:249290
Last Review:October 26, 2007
Revision:2.2
This article was previously published under Q249290
On This Page

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.

Back to the top

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.

Back to the top

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:

http://mspress.microsoft.com/books/1398.htm (http://mspress.microsoft.com/books/1398.htm)
The IIS Resource Kit components are also available from the following MSDN Subscription Web page:

http://msdn2.microsoft.com/en-us/subscriptions/default.aspx (http://msdn2.microsoft.com/en-us/subscriptions/default.aspx)
If the IIS Resource Kit is installed and you receive the "Server.CreateObject Failed" error message, perform the following steps:
1.Start Registry Editor (Regedt32.exe).
2. 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.
3.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.
4. Click Start, click Run, and then type the following:
Regsvr32 <pathtodll>\<dllname.dll>.
5.Click Start, click Run, and then type the following:
Regsvr32 <<I>DLLName.dll</I>>
					

6. Run the ASP page.

Back to the top

MORE INFORMATION

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:

Class NameComponentDLL or associated fileSupport
IISSample.Asp2HtmAsp2HtmMsjava.dll, Asp2htm.classNot officially supported by Microsoft
Baxtab.baxtabBackstabBackstab.dllSupported
No Class SpecifiedCalendarCalendar.incSupported
AMHTML.ApplicationCollaborationNoneSupported
IISSample.ContentRotatorContent RotatorControt.dllNot officially supported by Microsoft
MSWC.CountersCountersCounters.dllSupported
IISSample.htmlTblHTML TableMsjava.dll, Htmltbl.class, Context.classNot officially supported by Microsoft
Mcs.loadbalancerLoad BalancerLoadbal.dllSupported
IISSample.PageCounterPage CounterPagecnt.dllNot officially supported by Microsoft
IISSample.PermissionCheckerPermission CheckerPermchk.dllNot officially supported by Microsoft
IISSample.RegistryAccessRegistry AccessReg.dllNot officially supported by Microsoft
MSWC.StatusStatusStatus.dllSupported
IISSample.SummaryInfosSummary InfoSuminfo.dllNot officially supported by Microsoft
MSWC.ToolsToolsTools.dllSupported
IISSample.TracerTracerTracer.dllSupported

Back to the top

REFERENCES

For more information about MSDN Subscription downloads for the IIS Resource Kit, go to the following Web site:

http://msdn.microsoft.com/subscriptions/index/Index/CD/UniversalUS/BackOffice/Development/English/2186.asp (http://msdn.microsoft.com/subscriptions/index/Index/CD/UniversalUS/BackOffice/Development/English/2186.asp)

Back to the top


APPLIES TO
Microsoft Visual InterDev 6.0 Standard Edition
Microsoft Internet Information Server 4.0

Back to the top

Keywords: 
kbprb kbregistry kbscript KB249290

Back to the top

Article Translations

 

Other Support Options

  • Contact Microsoft
    Phone Numbers, Support Options and Pricing, Online Help, and more.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.