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

asked on

What do i need to do to open a DotNet Crystal Report developed in a Visual Studio 2017 environment in a Visual Studio 2019 Community edition environment.

This problem is a Crystal Report Problem. And the environment is CrystalReport  for DotNet running in c# environment


I had Visual Studio 2017 installed at a time and did my Crystal

Reports in that environment.


My CrystalReport.rpt and The form that drives it are part of my report project.


To open an existing report for further modification I simply double click the .rpt

file and it opens for modification..


I have now upgraded my Visual Studio to 2019 Community edition


Each time i now double click a .rpt file it opens as a set of characters which have no meaning.(See  below The characters). And this is true for ALL my reports.


User generated image


When I run the report  I still get the regular out put . For instance for  above the report header is shown below


User generated image


What do i need to do to open a  DotNet Crystal Report developed in a Visual Studio 2017 environment in a Visual Studio 2019 Community edition environment.


Any help will be appreciated 


Thanks





Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

which SP for CR are you at? Install the latest version of CR Developer Edition. Have a look at https://www.tektutorialshub.com/crystal-reports/download-crystal-reports-for-visual-studio-2019/
Avatar of Olukayode Oluwole

ASKER

I have downloaded and installed CrystalReport 13  SP30  which appears to be latest release.
Now my reports open BUT during execution they all cancel at the same  point of passing the
dataset to CrystalReport.  (See Screen Below)

User generated image
Is there a particular adjustment i need to do to my report as they all stop running at this point ? 

Thanks

Olukay
Looks like the datasource is not what is expected by the report.
Were you running a very old version before updating to SP30?
What is the Inner exception?
from within the CR designer, can you "verify database" to be sure your definitions are still in there?


Can not really remember the version i was running. But it is compatible
with VS2017   I think  is was SP25

Having said that I have now run Verify Database with the error below


User generated image

So what do you suggest to fix this problem

Olukay
Not sure why its not working.

I attached the AppConfig File modified
User generated image
The Exception and inner Exception

User generated image
User generated image
The Exception Unhandled and the Inner Exception are is the same error box.
I just could not print them together.

What am i Doing wrong

Regards

Olukay
in your solution, do you just have a single project or do you have more then 1? maybe your report is in a class module! The adjustments to the app.config needs to be done in the executable project.
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
Just removed all instances of CR and reinstalled. Thanks
ASKER CERTIFIED SOLUTION
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
I have installed the latest CR but can not see it my tool box

What should i do to see it

Thanks

Olukay