?
Solved

My CRViewer on my form is a blank box

Posted on 2003-10-28
11
Medium Priority
?
1,011 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 101

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
Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

 
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 101

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 101

Accepted Solution

by:
mlmcc earned 600 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 101

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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

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. …
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

765 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