Microsoft KB Archive/258932

= PRB: Server Object Error &quot;ASP 0177:800401f3&quot; Occurs When You Browse to a WebClass Application =

Article ID: 258932

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Server 3.0
 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Professional Edition

-



This article was previously published under Q258932



SYMPTOMS
When you browse to your WebClass application (Internet Information Server application), you receive the following error message in your browser:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject failed

YourWebClass.asp, line 8

Invalid class string

where line 8 contains the following code: Set Application(&quot;~WC~WebClassManager&quot;) = Server.CreateObject(&quot;WebClassRuntime.WebClassManager&quot;)



CAUSE
The WebClass Runtime file (Mswcrun.dll) does not exist on your Web server, or WebClass Runtime is not registered. WebClass Runtime is one of the system files required for your WebClass applications to function properly.



RESOLUTION
Verify that WebClass Runtime exists on your Web server. If it does not exist, use the Package and Deployment Wizard to create a standard setup package. Run the setup package on your Web server to install and register the necessary system files, which includes WebClass Runtime.

If WebClass Runtime does exist on your Web server, you must register it. To do so, type the following at a command prompt:

regsvr32 &quot;C:\Program Files\Common Files\Designer\mswcrun.dll&quot;

NOTE: The authenticating user (IUSR_machinename if using anonymous access) needs to have Read and Execute NTFS permissions on Mswcrun.dll.



STATUS
This behavior is by design.

