Crystal in Conversion from 2010 to 2012

I converted an ASP.net C# from 2010 to 2012..  When I run the program, the reports look fine, but if I try to open the report to edit them they look all garbled (see attached.)

Any idea how to ungarble them?

opening Crystal report to edit it.
LVL 1
moosetrackerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
Unlike .RDL files (SSRS), Crystal rpt files are not XML so you can't edit them using text editors.
To edit .rpt files you need to open them in Crystal Report Designer or in the Crystal Reports Designer feature integrated into VS after installing CRVS.
0
mlmccCommented:
WHen you upgraded did you also upgrade the version of Crystal in use or the assemblies included with the application.

mlmcc
0
moosetrackerAuthor Commented:
IdoMillet - this is opened within Visual Studio if you look at the top of the image, it shows the tabs from several reports I opened trying to check..

mlmcc - I installed the Crystal for the 2012 report (as we all know it doesn't come prepackaged anymore), and I made sure the necessary references need for CR where the most current. I then assumed similar to upgrading from 2008 to 2010, the VS process that updates the project would do the needed upgrades to CR.. I know with a 2010 upgrade, still when I went into a report and made a change, it did state it was going to upgrade the report to the newer version, but you could read and edit the report even if something didn't quite upgrade in the reports.. So if I need to upgrade the reports after the project upgrade in a different way in 2012, how do you do that?
0
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
Since you can run the reports, export them to a Crystal report format.  That should give you "ungarbled" rpt files that you should be able to edit.
0
moosetrackerAuthor Commented:
Hmmm... I do remember something about exporting & importing CR years & years ago in a really old VS version (can't even remember why that was a pretty common thing we did)..

Thanks, I will try that, but I need some time before I can let you know if it worked.. It's at my job and I only work Tue - Friday...
0
moosetrackerAuthor Commented:
Hi -

Sorry I will need more direction.. I can not find how to export or import and any surfing seems to think I am just asking to export the report to PDF or Excel or something..

I tried just creating a new project and importing from the old project to the new.. Nope.. Still Garbled..

I seem to remember way back when I did export/import in an older version of VS I had to state I was importing a Crystal report - but it seems when importing into the new project it just is selecting to "add an existing item" and you navigate to it and it is pulled.. There isn't anyway to state it is a CR so that hopefully it will try to reformat it so that it can be edited in visual studio..
0
Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
In your original question you stated: "When I run the program, the reports look fine" so you should be able to export the report to a Crystal Report format from the report preview toolbar using the export button.
0
moosetrackerAuthor Commented:
If your talking about the preview toolbar in the editor ("main Report" and "Main Report Preview".. I don't have that tab (I also looked in the project tabs under View for it.

Here is my Garbled in editor.. At the bottom.. No Tabs for switching from "Main Report" to "Main Report Preview"
Garbled in EditorHere is the report when I run the project
Report looks good
0
mlmccCommented:
Are you sure it is Crystal?

Crystal generally isn't interactive.

mlmcc
0
moosetrackerAuthor Commented:
You are right.. My face is now very red.. My Crystal report trys to emulate the Web Form as close as possible, so I wasn't thinking quite right..

Here is the real Report..
Real Report
0
moosetrackerAuthor Commented:
The report above only displays thorough dynamically creating a pdf for it and then emailing it out..
I thought I would show you another working report that is displaying directly on the web server page.. I didn't create the garbled for this report.. Trust me it is as garbled as the other and if you seen one garbled, you seen them all.

wallstreet
0
mlmccCommented:
DO you still have the 2010 version?
Can you open the report there?

mlmcc
0
moosetrackerAuthor Commented:
Yes, I did have the VS2010 and I could open it there..

Ok.. I am calling off the search.. I fixed it and I thank you all, and I still am unsure what in the world happened.. I had installed VS2012 a while back, installed CR when I did this, and then let them sit for a few months as I got pulled off to work on other projects..

After commenting on here, I questioned what would happen if I created a brand new CR in VS2012, I found I did not have CR listed under the new item "reporting" area...  Which said something was wrong, even though I had all the CR references set up..  So I went to crystal found a newer version then the one installed in either my VS2010 or VS2012 and installed it..

With that, I got both the ability to create new CR's in the project and also my garbled reports in the editor became ungarbled..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.