We have recently upgraded our test environment to v12.1. Was recently using V11.2
When we run our test environment locally the reports work, but when we install on a remote server we dont. All reports fail with the same error:
Infragistics.Reports.Engine.EngineException:An error occurred while processing report parameters
We even get this error if the reports do not have parameters.
Are there any known issues regarding this? If not, then what would be the main reason why we are getting this exception.
Would appreciate any help as this is becoming a major stumbling block.
Steve
Hi Steve,
Can you reproduce this problem outside your application? It would be very useful if you can send a solution reproducing the problem to diagnose what is going on.
Can you attach your app’s web.config?
Did you install the 12.1 SR?
Best,
Leo
Hi Leo
Have you had any luck in finding out when that exception gets reported?
Best regards
Sorry for the delay.
I can’t reproduce the problem. Can you please send me a solution where the problem is happening?
I saw a couple of things that you should fix in the web.config (but those don’t seem to be related with the problem you mention).
This handler
<add path="*.igrimage" verb="*" type="Infragistics.Reports.Server.ImagesHandler, InfragisticsWPF4.Reports.Server.v12.1, Version=12.1.20121.2002, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" validate="false" />
Should be changed by:
<add path="*.igrResource" verb="*" type="Infragistics.Reports.Server.ResourcesHandler, InfragisticsWPF4.Reports.Server.v12.1, Version=12.1.20121. 2002, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Also you should add the following module to the system.web.
<system.web>
…
<httpModules>
<add name="ReportProcessorServiceModule" type="Infragistics.Reports.Server.ReportProcessorServiceModule, InfragisticsWPF4.Reports.Server.v12.1, Version=12.1.20121. 2002, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
</httpModules>
</system.web>
Is the remote server a IIS6 or 7 (mode?)? Are you deploying all reporting assemblies to the server?
Many thanks Leo.
Changing the web.config fixed our issue, It also highlighted some other issues we were experiencing with library files.
Your help was very much appreciated.
Hi Leo,
I am deploying in IIS 7 under Windows Server 2008 R2.
I am happy to inform you that my issue is solved by looking into your reply on another thread that you suggested to include 5 InfragisticsWPF4.Reports.Controls.* assemblies onto the web project. Now, my reports are working perfectly in our production server.
Your suggestion was really helpful and my 10 days of effort/ headache on this issue was finally resolved.
You are great!
Thanks,
Mundhir
Hi Mundhir,
Can you please tell me which Reporting assemblies are being deployed to the IIS when you deploy your application?
Are you deploying in an IIS6 or IIS7 (mode?)?
We are working with Infrgitics Reporting 12.1 and we have no issues in our development environment the reports are rendering properly without any errors. But we publish on web we are getting following error:-
Infragistics.Reports.Engine.EngineException: An error occurred while processing report parameters.
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.Reports.Server.ReportProcessorService.ServiceModelFacade.CreateServiceModel(Uri serverUri, ReportSource reportSource, IDictionary`2 settings) at Infragistics.Reports.Server.ReportProcessorService.ServiceModelFacade..ctor(Uri serverUri, ReportSource reportSource, IDictionary`2 settings) at Infragistics.Reports.Server.ReportProcessorService.GetParametersValues(ReportSource reportSource, IDictionary`2 selectedParametersValues)
We are not passing any parameter to the report but no clue why we are getting this error? Any help would highly appreciated. Our web.config is intact as you mentioned in this thread.
Thanks in advance for your help!
Regards,