Microsoft KB Archive/273744

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

Article ID: 273744

Article Last Modified on 5/8/2001

-

APPLIES TO


 * Microsoft Active Server Pages 4.0

-



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(&quot;HostName.ConvertHostName&quot;)



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 &quot;Symptoms&quot; 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.

Additional query words: HTTP 500.100 ASP 0177 (0x8007007E)

Keywords: kbprb KB273744

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.