on 06-25-2010 12:35 PM
Hello,
I'm migrating an application with CR-Reports from Visual Studio 2008 to Visual Studio 2010.
There is an CrystalReportViewer-Control in a Forms-form named AnzeigeReport and there is some code like
Dim f1 As New AnzeigeReport
...
f1.Einzelaufstellung_plus1.ExportToDisk(ExportFormatType.PortableDocFormat, strDatei & ".pdf")
f1.Einzelaufstellung_plus1.PrintOptions.PaperOrientation = PaperOrientation.Portrait
and these code causes errors on runtime:
Methode nicht gefunden: "Void CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk ...
The references of CrystalDecisions.CrystalReports.Engine, CrystalDecisions.ReportSource, CrystalDecisions.Shared and CrystalDecisions.Windows.Forms are to C:\Programme\SAP BusinessObjects\Crystal Reports 14.0\dotnet.
CrystalDecisions.Enterprise.Framework und CrystalDecisions.Enterprise.InfoStore are added by Visual Studio and are located in C:\Programme\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dotnet\iPoint
What can I do?
As workaround I try to build the form AnzeigeReport new, but there is no CrystalReportViewer-Control anymore in the toolbox.
Who can help?
Thanks
Peter
Hi Peter,
Yes we've seen this happen before. Try creating a new project and then manually add the Viewer control. I've seen this happen to me also where it's checked on but the viewer doesn't show up in the Tool bar. I've seen it also happen when updating projects from 2008 to 2010 the viewer control is in the tool bar.
I have not been able to figure why sometimes it's there and sometimes not....
All I can suggest is you re-start .NET and try importing the project again and then close it than open the project from the back up folder.
I'm also assuming all of this will go away when it goes RTM. It's a known issue so the developers are aware of the problem.
Thank you
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don,
I was able now to get the CrystalReportViewer-Control in the Toolbox, but the MissingMethodException still appears.
Is this a known issue too, that will go when it goes RTM? And I need it next week.
As an other workaround, I try to use the new WPF-Control, but I don't know, where to specify the ReportSource.
The next question is, can I use with the WPF-Viewer the same properties and methods as in forms?
Thank you very much
Peter
Hi Don,
thanks for your information.
The release is now announced for November. So we can cancel our project for a half year.
This are bad news.
Kind regards
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.