Solved

Runtime Error 20997.

Posted on 2004-04-26
7
2,383 Views
Last Modified: 2007-12-19
Hi All,

I have a report which contains 4 subreports. When i try to open the report i get "Runtime Error 20997".This happens only for a particular record. The reports are TTX based. I am using CRPEAUTO object to preview the report.

Thanks in Advance.

Regards.
0
Comment
Question by:Pentech
  • 2
  • 2
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 10928331
The Crystal Knowledge base doesn't have much help.  All are older versions and most are using the OCX rather than the CRPE method.

What version of Crystal?

Is there anything special about the record in question?

mlmcc
0
 
LVL 42

Expert Comment

by:frodoman
ID: 10928334
OLE2 files may need to be registered. To register OLE2 files go to Start | Run, and enter:  C:\windows\system\ole2.reg

If registration was successful the following message will appear: Information in C:\windows\system\ole2.reg was successfully entered into the registry.


0
 

Author Comment

by:Pentech
ID: 10935434
I am using Crystal Reports 7.0

The OLE2.REG file mentioned is not present on my machine. Any info on where to get the file ?

0
 
LVL 100

Accepted Solution

by:
mlmcc earned 63 total points
ID: 10935459
0
 
LVL 42

Assisted Solution

by:frodoman
frodoman earned 62 total points
ID: 10937880
mlmcc's second link explains the same thing I told you.  I'm not even certain this is relevant in your case but it's the only information I could find.

Since you said it happens on a certain record I'm assuming it's not chart-related.

Can you identify the record when this happens?  Is there anything different about this record?  Do the records involve standard data fields or are you returning OLE Objects?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now