Link to home
Start Free TrialLog in
Avatar of Olukayode Oluwole
Olukayode OluwoleFlag for Canada

asked on

How do i get Crystal Report Viewer on my form

I am trying to drag  CrystalReportViewer to my form and i got the following error

User generated image
This my first time of using Crystal Report  within Visual Studio

Is there some setting or references  i should set withing visual studio which i have not done
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

I think I had the same issue in the past and solved it by installing CrystalDecisions.Windows.Forms from Manage NuGet Packages
Looks like the crystal viewer component didn't install properly. Do a repair of visual studio and that should fix it.
Avatar of Olukayode Oluwole

ASKER

Tried both and still getting the same error.

Does anyone have teamviewer so that i could be helped online realtime

Thanks

Olukay
which version (2013,2015,2017,2019) and edition (express, community, pro, enterprise) of Visual Studio do you have?

which version of CR have you installed?
What I have installed is

CrystalReports 13.0.5.891

Visual Studio 15.9.16

See attached screen  taken from the applications

User generated image
User generated image
Grateful for your review and help

Olukay
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Base on the instructions in the link sent  i need to first install KB2999226
I could not find it for version 10 so i guess  it is not necessary

1. I Downloaded  Crystal Reports SP25  and installed with Admin privilege

2. I am now supposed remove in my references all Crystal Report  references

I have 6 projects and examined the references under  ALL of them

I noticed when i did a right click on references i saw some CrystalDecision entries
when i did a  click on the references i did not see any crystaldecision entries

Am I in the right place to remove and add these references

I could only delete existing cytsaldecision entries  see attachment  and
there is no entry  to be added

Am I in the correct place

If so am I to  delete those crystaldecision entries. Is that  the correct thing to do

and how do i add  new entries when there is no single crystaldecision entry  to check

see  the 2 screens  below:

User generated image
User generated image

Thanks for your help so far

olukay
Thanks for bearing with me.

I eventually got crystal reports working in my application.

I will now proceed to getting my old reports to work

using your method of pushing the data to  Crystal

Olukay