PRB: Server Object Error: Invalid Class StringID: Q197966
|
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
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.
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.
This behavior is by design.
Keywords : kbCtrl kbVisID600 kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 6, 1999