Solved

Crystal Report Viewer fails to open when added to Windows Form

Posted on 2008-09-29
8
542 Views
Last Modified: 2013-12-17
I am writing an app in C# that includes a Crystal Report.
When I attempt to add the CR viewer to a blank form from the tool bar it fails to open on the form.
I have VS 2008 with CR for Visual Studio installed as well as CR 2008.

The Crystal Report Viewer had been functioning correctly up until 3 days ago.

Any ideas as to what may be causing this and how to correct it?
0
Comment
Question by:petrosyg
[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
  • 4
  • 2
  • 2
8 Comments
 
LVL 13

Expert Comment

by:SameerJagdale
ID: 22604651
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 22605867
What CRViewer are you adding?

mlmcc
0
 

Author Comment

by:petrosyg
ID: 22609069
I was using the default version 10 viewer that comes with CR for VS 2008...thats the one that stopped working.
I then added the v 12 viewer that installs with CR 2008, but it doesnt work either.

When I add a viewer from the toolbar an instance is added to the form, but it does not actually appear on the windows form in design view or after the app is build and run.
0
The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

 
LVL 13

Expert Comment

by:SameerJagdale
ID: 22611960
wondering if you had checked the link. You may have problem, if there are multiple versions of CR Viewer control.
try uninstalling..and then use the default one supported by VS.
0
 

Author Comment

by:petrosyg
ID: 22612225
I have already tried that.
First I repaired VS...Disn't work so then I uninstalled CR 2008..Disn't work so then uninstalled VS 2008.
Then I reinstalled VS 2008 and applied the VS 2008 SP1 and SP for .NET 3.5 (which is where VS had been when it was working).
When that didn't work I reinstalled CR 2008. That didn't work and that was the point at which I removed crystal report viewer 10 and enabled CR viewer 12 on the toolbar. Still no luck.

Im going to try to try and back the app down to .NET 2.0 and see if that helps.
0
 

Author Comment

by:petrosyg
ID: 22612361
No good.
I am going to uninstall CR 2008 again, uninstall all of VS 2008, manually remove any pieces of either that the uninstaller leaves, run a registry cleaner to remove what I've missed and reinstall VS 2008.

With any luck I should be exactly where I started.
0
 

Accepted Solution

by:
petrosyg earned 0 total points
ID: 22620077
I feel like a complete bonehead for not catching this earlier.
The problem was in my applications Crystal References.
There is a setting in each reference called "Specific Version" and they were all set to True.
When I changed them all to False VS went and found the correct dll references and the Crystal Report Viewer control started working again.

Thanks to all who tried to help me. I just wish I had caught the issue before I dragged it in here.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 22620155
Good catch.  I haven't used those versions or VS so I was unaware of the option.

mlmcc
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
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, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

690 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