Solved

Runtime Error 20997.

Posted on 2004-04-26
7
2,391 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

732 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