Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: "Catastrophic Failure" Error Running Samples.xls Macro


View products that this article applies to.

This article was previously published under Q228633

↑ Back to the top


Symptoms

When you run the Microsoft Visual Basic for Applications sample macro, RetrieveISAMdata() in the Sample.xls workbook that ships with Microsoft Excel and Microsoft Office, the following error message appears:
Run-time error '2147418113(8000ffff)':

Catastrophic failure
If you click Debug, the macro stops on the statement
.Open strConn
				
for the object:
With conn
				

↑ Back to the top


Cause

This problem occurs when you run the RetrieveISAMdata() sample under the following conditions:
  • You run Microsoft Excel on Windows Terminal Server.

    -and-
  • You are using Microsoft Data Access Components (MDAC) version 2.1, which ships with Office 2000.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

When you install either Microsoft Excel or Microsoft Office, the Setup program installs the sample workbook to the following folder:
C:\Program Files\Microsoft Office\Samples
NOTE: This location may be different depending on where you installed the Office program.

If you are running Microsoft Excel on Microsoft Windows Terminal Server, and you open the Samples.xls workbook, the error message appears when you click the ADO-ActiveX Data Objects worksheet, click Goto Retrieve ISAM Data Example Sample Code and then run the RetrieveISAMdata() sample macro.

↑ Back to the top


Keywords: KB228633, kbprogramming, kbpending, kberrmsg, kbbug

↑ Back to the top

Article Info
Article ID : 228633
Revision : 5
Created on : 10/10/2006
Published on : 10/10/2006
Exists online : False
Views : 239