Hi,
I've designed a Report. (WPF, Client Side rendering)
Only these 2 Assemblys are referrenced in the project.
InfragisticsWPF4.Controls.Reports.v12.1
InfragisticsWPF4.Reports.v12.1
The referrenced Libriaries are in a folder in the project and the referrences in the Solution are poiting to the Libraries in the Project Folder, not the Libraries in the Install Path of NetAdvantage.
I've deleted the license File before comitting.
The Build Server (FinalBuilder) has no problem with Building (I don't get the Exception with the license)
When I start my Application on the Machine with NetAdvantage 2012 installed everything works fine.
When I start my Application on a Machine without NetAdvantage the ReportViewer Window appears an throws an Exception.
Infragistics.Controls.Reports.ReportViewerException: An unknown error occurred while processing the report. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.Reports.Engine.ServiceModelMefDiscoverer.Initialize(IServiceModelManager serviceModel) at Infragistics.Reports.Engine.ServiceModelBuilder.Setup(IServiceModelConfiguration configuration) at Infragistics.Controls.Reports.ReportProcessorLocalAdapter..ctor(ReportSource reportSource, Assembly reportAssembly, IEnumerable`1 externalDataSources) at Infragistics.Controls.Reports.RenderingEngineFactory.CreateLocalEngine(ReportSource reportSource, Assembly reportAssembly, IEnumerable`1 externalDataSources) at Infragistics.Controls.Reports.ProcessingSessionStateMachine.CreateProcessor(IRenderingEngineFactory renderingEngineFactory, IEnumerable`1 externalDataSources, Report reportDefinition, Assembly reportAssembly) --- End of inner exception stack trace --- at Infragistics.Controls.Reports.ProcessingSessionStateMachine.CreateProcessor(IRenderingEngineFactory renderingEngineFactory, IEnumerable`1 externalDataSources, Report reportDefinition, Assembly reportAssembly) at Infragistics.Controls.Reports.ViewerStateMachine.RenderHelper(RenderParameters renderParameters, Report reportDefinition, Assembly reportAssembly)
Any Suggestions ?
Hi Jeff,
Thanks for the feedback. We will include this in the documentation. Sorry for the inconvenience.
Best,
Leo
This info REALLY needs to be included in the documentation. I looked through docs for a list of assembiles needed for distribution - couldn't find it. (If it's there and I missed it - I apologize up front, but I can tell you it's not findable by someone who tried.) Thank goodness I found this thread through a google search of my error!
Constructive criticism only... no rant intended.
AYS,
Jeff
BTW: Adding report viewer to WPF project does not reference 3 of these assemblies - so there is no obvious clue that they are missing.
it works. I made a mistake.
InfragisticsWPF4.DataVisualization.v12.1.dll vs. InfragisticsWPF4.Reports.Controls.DataVisualization.v12.1.dll
I tried your suggestion. But I still get the same error message.
I referrenced all the libraries you mention above in the project app folder.
When you install you app in a machine without NetAdvantage Reporting, are you including all the following assemblies in the app folder?
InfragisticsWPF4.Reports.v12.1.dll
InfragisticsWPF4.Reports.Pdf.v12.1.dll
InfragisticsWPF4.Reports.Excel.v12.1.dll
InfragisticsWPF4.Reports.Client.v12.1.dll
InfragisticsWPF4.Controls.Reports.v12.1.dll
InfragisticsWPF4.Models.Data.v12.1.dll
InfragisticsWPF4.Models.Presentation.v12.1.dll
InfragisticsWPF4.Reports.Controls.Common.v12.1.dll
InfragisticsWPF4.Reports.Controls.Charts.XamDataChart.v12.1.dll
InfragisticsWPF4.Reports.Controls.DataVisualization.v12.1.dll
Hope it helps.