Microsoft KB Archive/197966

= PRB: Server Object Error: Invalid Class String =

Article ID: 197966

Article Last Modified on 4/21/2001

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q197966



SYMPTOMS
When running an Active Server Pages (ASP) page in a project created using Visual InterDev 6.0, which has a data command added to the data environment, the following error occurs:

Server Object Error asp0177:800401F3

Server.CreateObject failed

/global.asa, line xx

invalid class string



CAUSE
The line that is referenced in the error message is this line in the Global.asa file:   Set DE = Server.CreateObject("DERuntime.DERuntime") When you add a data command to your project, this line gets uncommented in the Application_onStart event handler in the Global.asa file. This line is creating a DE object, which is a special object that exposes an object model for executing commands and managing their results. In order for your Active Server Pages (ASP) pages to run correctly, this object has to be installed on the Web server. This object is located within the DLL Msderun.dll, which gets installed with Visual InterDev. This error occurs when a web application created using Visual InterDev 6 is deployed to a Web server that does not have the server components installed on it.



RESOLUTION
Install Visual InterDev Server Components on the Web server. This can be installed independently from the Vid_ss folder on disk 2 of the Visual Studio Enterprise CDs, or as a part of the Visual Studio install.



STATUS
This behavior is by design.

Keywords: kberrmsg kbprb kbctrl KB197966

-

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

© Microsoft Corporation. All rights reserved.