on 10-30-2012 4:17 PM
We have some custom code that we use to display Crystal Reports in either Web or Windows applications. In part of our code, when we set the ReportSource of the CrystalReportsViewer (CrystalDecisions.Windows.Forms) to a Report (CrystalDecisions.Enterprise.Desktop) object, we get the following error:
System.NotImplementedException was caught
Message=Unable to get %1 property value
Source=CrystalEnterprise14.FW_UserInfo.1
StackTrace:
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetAvailableExportFormats()
at CrystalDecisions.ReportSource.EromReportSourceBase.GetAvailableExportFormats(ExportRequestContextreqContext)
at CrystalDecisions.Windows.Forms.ViewerDocument.GetAvailableExportFormats()
at CrystalDecisions.Windows.Forms.PageView.CreateReportDocument(String rptURI)
at CrystalDecisions.Windows.Forms.PageView.CreateNewReportDocument(StringpageName)
at CrystalDecisions.Windows.Forms.CrystalReportViewer.CreateReportSource(ObjectreportSource)
at CrystalDecisions.Windows.Forms.CrystalReportViewer.set_ReportSource(Objectvalue)
at SDBOELibrary.SDBOEViewerWin.DisplayViewer(Int32 SourceType, BooleanblnSetParameters) in
H:\Xxxxxxxxx\Xxxxxxxx\Xxxxxxxxxxxxxxx\Xxxxxxxxxxxx\SDBOELibrary\view_win.vb:line 342
The code is in Visual Studio 2010 using the 4.0 Framework and we are using the SAP BI Platform 4.0 .NET SDK SP4. The Crystal Report itself was originally developed in CR11R2, but was opened and saved in CR2011 SP4 before being copied to our BOE report server.
Has anyone out these encountered this error?
Thanks,
Jim
I have just recently gotten this error message as well when trying to get the locale. We found that this was caused because the locale setting had not been set. Once we changed the setting to US we do get the value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi James,
You may want to try a web application, as windows applications are not supported with Enterprise SDK.
Also, try suing Report Application Server (RAS) or Page server to access and open the report in your code instead of Desktop.Report. See if it reproduces the issue.
Samples are here:
http://www.sdn.sap.com/irj/boc/samples
- Bhushan
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bhushan,
Thank you for the reply. The interesting thing is we have been using this custom DLL for both Windows and Web applications for about 5 years now. When we upgraded to the latest version of the CrystalDecisions.xxxxxx.xxxx DLLs (14.0.2000.0 and 14.0.3500.0) is when the problem arose. The DLL has functionality for using RAS which works with no issues.
Thanks,
Jim
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
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.