Solved

My CRViewer on my form is a blank box

Posted on 2003-10-28
11
1,007 Views
Last Modified: 2010-08-05
I am using CR 8.5 and VB 6.0.  I have been writing an application for the last 7 months.  About 3 months ago I put otgether the reporting section and all was happy.  It has worked up until today.  I sent the latest update to my boss and he said all the reports returned a gray screen.  I tested it on mine and I got the same result.  

I checked out the form where my CRviewer object resides and it was gone.  Well, not gone, the CRviewer object is still there, it is just a blank box, kinda like a picture box.  if I draw something over it, then delete that something the image remains, like when a window is busy and doesn't refresh.  

Where did my CRViewer go?  I haven't touched any references or components related to Crystal reports in a long time.  I readded the crviewer.dll component to the project, but still get the same blank box.  I even made a new project, but the CRViewer is a blank box there too.

Has anyone seen this before?  I checked out the CR web site, but couldn't find anythig in the knowledge base.  Any suggestions would be appreciated.

/<evin
0
Comment
Question by:kkonkle
[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
  • 5
  • 4
  • 2
11 Comments
 
LVL 7

Expert Comment

by:ladylinet
ID: 9635876
Looks like some dlls are missing, or permissions.

Lady Linet
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9636029
Have you made changes to the database?  If so you may want to verify the reports still work from Crystal

Open each report
Click DATABASE --> VERIFY DATABASE
If it says the database has changed Click YES
You may need to manually map fields
Preview the report then save it.

Have passwords changed?

Look at
http://support.crystaldecisions.com/library/kbase/articles/c2008905.asp

mlmcc
0
 

Author Comment

by:kkonkle
ID: 9636134
It isn't the reports themselves, one of my reports doesn't even tie to a database, it is just a bunch of parameter fields that I fill in at run time, and that one just displays a blank, gray screen.  The problem is with the crviewer object.  Here is a screen shot of my Visual Basic development environment.

http://www.sammonssecurities.com/kevin/CRViewer.jpg

See those lines around the edge of the form, that is the outline of my crviewer object.  If I remember correctly it used to look like something on the form during development, but it doesn't work any more.  Do I need to reinstall Crystal Reports?  Are my dll's corrupted or something?

/<evin
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 
LVL 7

Expert Comment

by:ladylinet
ID: 9637745
Can you still call Crystal Report alone properly? Try creating simple report that just reads author table from publisher database. That can help in determining problem..
 
Lady Linet
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9638940
You could uninstall CR then reinstall it.

mlmcc
0
 

Author Comment

by:kkonkle
ID: 9641453
Yeah, I was planning on trying this at some point, I just hoped there would be something else I could do before it came to that.  I will try it this morning and let you now if it worked out or not.

/<evin
0
 

Author Comment

by:kkonkle
ID: 9642026
I've uninstalled and reinstalled CR 8.5 twice now.  I removed everything from my VB project that referred to CR, uninstalled CR, renamed any folders it used that were left over, rebooted the machine, and reinstalled the program.  

Sadly, I still get the same non-functional CRViewer control on my VB form.  I really thought reinstalling would fix the issue, but now that it hasn't I am a little worried.  Does anyone have any other suggestions?  Please, ask any questions you need to if you are still unclear about what is happening here.

/<evin
0
 

Author Comment

by:kkonkle
ID: 9642164
On other piece of information that might be useful:

I am able to print the report, and export the report and the correct report is displayed, it is only when I try to preview the report with the CRViewer that I get a blank screen.

/<evin
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 200 total points
ID: 9647173
This may sound silly but which edition of Crystal do you have?

mlmcc
0
 

Author Comment

by:kkonkle
ID: 9704072
I was using CR 8.5 professional.  I tried talking with CR support but apparently that version isn't licensed to be ditributed to people.  We went ahead and bought version 9 Developer and once I upgraded to that everything was happy again.  Thank you for your help and suggestions.

/<evin
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9705664
That is wh I finally asked that question.  Generally I ask that up front but for some reason I forgot.

Glad you got it solved.

mlmcc
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

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. …
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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