I created a report Data Provider class that returns a temp table and a Data Contract for the parameters (as per http://technet.microsoft.com/en-us/library/gg731917.aspx). I created a report in Visual Studio. When I test the report in VS, it works perfectly, I get data etc. However, when I run the report in AX, the dialog requesting the parameters is displayed - but the report keeps on giving me a SysDictClass object not initialised
error in the infolog.
The stack trace I get is:
Stack trace
(S)\Classes\SRSReportProviderMetadata\getDataContract - line 14
(S)\Classes\SRSReportProviderMetadata\initParameters - line 7
(S)\Classes\SRSReportProviderMetadata\new - line 20
(S)\Classes\SRSReportProviderMetadata\constructWithId - line 16
(S)\Classes\SRSReportProviderMetadata\constructWithName - line 16
(S)\Classes\SrsReportProviderQueryBuilder\initialize - line 10
(S)\Jobs\
Any ideas why this might occur?