Hey Everyone,
DEVELOPING ENVIRONMENT
Windows 7 Professional
Visual Studio 2013 Community.
Crystal Reports XI R2
(updated to) SAP Crystal Reports, developer version for Microsoft Visual Studio
ASP.NET Website using .NET Framework 2.0
Note: The website above is also deployed to a Windows Server 2008 server.
ORIGINAL PROBLEM
I have Crystal Reports XI R2 and Visual Studio 2013 Community. I have an ASP.NET 2.0 website. The website allows the user to set some choices, pick a report, click print and the report is shown on an ASPX page using a Crystal Reports Viewer. All is good. Actually, no. All is NOT good. The viewer shows a black vertical line (a border of sorts) on all reports that have a chart. I have done everything in my power to remove that line to no avail. I have changed every possible property on the viewer and the line remains. The viewer has no borders, of course, but the line is there. If I open the actual report in Crystal Reports XI R2, it displays correctly without the line. I have tested the site on both Chrome and Internet Explorer (with and without compatibility mode) and the line is present in both. Below is an image I cropped from my website. Note the line on the right.
Image may be NSFW.
Clik here to view.
UPDATE NIGHTMARE - More Problems
I concluded that I had to upgrade to the latest version of Crystal Reports to solve the problem. So I went ahead and uninstalled XI R2 and installed
SAP Crystal Reports, developer version for Microsoft Visual Studio, and things aren't going so well. The viewer no longer displays the line above, but I have other issues:
1. If I open and re-save the reports using the developer version of Crystal Reports, they stop working and I get the error "The paramter is incorrect". In other words, I'm not changing the code or the reports at all. All I do is open the report in Crystal Reports Developer edition, select Save As, save the report under a different name and run the web site (after updating the report name in code, of course) and I see the error. I'm not sure if this is due to the fact that I have the Community Edition of Visual Studio. This post
Does Developer Version for Visual Studio support the new Visual Studio 2013 Community Edition? seems to imply no one really knows whether Crystal Reports works with Visual Studio Community of not.
2. I have my own navigation (next, prev) buttons. When the user clicks them, I call "myViewer.ShowNthPage(pageNumber)". In the past this worked just fine. Now, when I click next, there is slight pause, the views appears empty, then there's a flash, then the next page is displayed. The code above has worked since the beginning of time and so I'm thinking this might be caused by something other than the code. Any ideas?
3. Assuming I don't open the reports and save them again, and after taking about 4 minutes to compile, the reports do show up on Chrome (with the pause mentioned above between pages). However, in Internet Explorer, the viewer is blank. and it doesn't appear UNTIL I click the Next Page button. Again, there's nothing crazy with the code - it's just myViewer.ShowLastPage() and myViewer.ShowNthPage(pageNumber) so I'm kinda confused here.
WHAT SHOULD I DO?
So at this point, I'm torn and I'm not sure what the best course of action for me should be. Should I uninstall Crystal Reports Developer and re-install XI R2? If so, any advice on removing that line? Or should I install buy Crystal Reports 2013? If so, how would developing from Visual Studio work?
Thanks