cancel
Showing results for 
Search instead for 
Did you mean: 

"Unable to get %1 property value" Error Message

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (1)

Answers (1)

former_member188030
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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