“Server.CreateObject Failed" ASP Error Using Rule Set File

ID: Q188289


The information in this article applies to:


SYMPTOMS

Active Server Pages (ASP) content containing a Rule Set File that queries information from a Site Server Search or an Index Server data source may generate the following error message:

Server object Error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
<file path of Rule Set File (.prf) and line number>
Invalid Class String


CAUSE

The error is generated from the line in your .prf file that establishes the connection to the ActiveX Data Objects (ADO) source (for example, ADODB.Connection.1.5).

Rule Manager generates the Rule Set File with hard-coded ADO 1.5 version checks. If your computer is running ADO 2.0 or later and it has not been upgraded from ADO version 1.5, registry entries needed by ADO 2.0 to handle this version check will be missing.


RESOLUTION

To resolve this problem, apply the latest Site Server 3.0 service pack.

To work around this problem, you can fix the code that was previously generated by Rule Manger by finding the ADODB lines in the .prf file that have "1.5" appended to them and remove the "1.5." For example, change the line that reads "ADODB.Connection.1.5" to "ADODB.Connection."


STATUS

Microsoft has confirmed this to be a problem in Site Server version 3.0. This problem has been corrected in the latest U.S. service pack for Microsoft Site Server version 3.0. For Information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K


MORE INFORMATION

If you have upgraded from ADO version 1.5 to ADO version 2.0, you should not experience this problem. Because ADO 1.5 ships in Internet Information Server (IIS) 4.0 (required by Site Server 3.0), the only way Site Server users will encounter this problem is if they installed ADO 2.0 on their computer before running the IIS 4.0 installation. The 1.5 version of ADO will not copy over the 2.0 version.

ADO version 2.0 ships in Visual InterDev version 6.0.

Additional query words: prodsms sp


Keywords          : prodsitesrv3 SS3Sp1Public Ss3Sp1fix 
Version           : WINNT:3.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: July 15, 1999