Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Runtime Error 20997.

Posted on 2004-04-26
7
Medium Priority
?
2,435 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 101

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 101

Accepted Solution

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

Assisted Solution

by:frodoman
frodoman earned 248 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

609 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