PRB: Server.CreateObject Returns HTTP 500.100 or ASP 0177 Error (0x8007007E) (273744)



The information in this article applies to:

  • Microsoft Active Server Pages

This article was previously published under Q273744

SYMPTOMS

When you attempt to instantiate an object in Active Server Pages (ASP), you may receive one of the following errors on your Web browser:
HTTP 500.100 - Internal Server Error - ASP error Internet Information Services

-or-

Server object, ASP 0177 (0x8007007E) /test/ils3/ilslist.asp, line 22

-or-

8007007e - The specified module could not be found.

The line and page that are specified vary from the preceding sample error message. However, the line that is noted in the error message will likely have the following syntax:
Set objHostName = Server.CreateObject("HostName.ConvertHostName")
				

CAUSE

This error occurs when you attempt to use the Server.CreateObject method to instantiate an object that is not registered on the local system.

RESOLUTION

To resolve the error, use Regsvr32.exe to register the object that you want to instantiate from your Active Server Pages.

For example, to resolve the sample error that is shown in the "Symptoms" section, type the following commands at a command prompt to register an object called Hostname.dll that is located in the C:\ils folder on the local system:

c:
cd \ils
c:\winnt\system32\regsvr32.exe c:\ils\hostname.dll

If you are successful, a dialog box displays the following message:

DLLRegisterServer in hostname.dll succeeded.

To ensure that the newly registered module is loaded in memory, restart the Web services.

Modification Type:MajorLast Reviewed:5/8/2001
Keywords:kbDSupport kbprb KB273744