<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Addicted2AX / Addicted2SQL - Reporting Services</title>
    <link>http://addicted2ax.de/</link>
    <description>My daily struggle with Dynamics AX &amp; SQL Server</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <pubDate>Wed, 22 Feb 2012 07:29:03 GMT</pubDate>

    <image>
        <url>http://addicted2ax.de/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Addicted2AX / Addicted2SQL - Reporting Services - My daily struggle with Dynamics AX &amp; SQL Server</title>
        <link>http://addicted2ax.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Creating SSRS-Reports in Dynamics AX 2012 – What’s no longer possible in AX-reports (Part III) </title>
    <link>http://addicted2ax.de/index.php?/archives/21-Creating-SSRS-Reports-in-Dynamics-AX-2012-Whats-no-longer-possible-in-AX-reports-Part-III.html</link>
            <category>Dynamics AX 2012</category>
            <category>Reporting Services</category>
    
    <comments>http://addicted2ax.de/index.php?/archives/21-Creating-SSRS-Reports-in-Dynamics-AX-2012-Whats-no-longer-possible-in-AX-reports-Part-III.html#comments</comments>
    <wfw:comment>http://addicted2ax.de/wfwcomment.php?cid=21</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://addicted2ax.de/rss.php?version=2.0&amp;type=comments&amp;cid=21</wfw:commentRss>
    

    <author>nospam@example.com (Addicted2AX)</author>
    <content:encoded>
    This is the third and last part of “What’s no longer possible in AX-reports”.  Let’s start with some updates of topics I presented in Part I &amp;amp; II.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Update: Setting an element in a fixed position at the bottom of the report&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
As mentioned in Part I this bug was topic of a change request. Some days ago we became answer by Microsoft support. The change request was rejected. Reason: It’s a known issue of Reporting Services. &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Update:  254 column limit in SalesInvoiceTmp (maybe every temporary table filled by a RDP class)&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
This bug seems to be a bigger one. The bug is confirmed. But why it occurs is still subject of an investigation by Microsoft support-technicians. Here it seems we will have a good chance that this bug will be fixed when it is finally found. &lt;br /&gt;
&lt;br /&gt;
And here a new one:&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Differences of displayed data in SSRS Reports in Visual Studio and Dynamics AX&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
I mentioned in a tweet before. But I think it is too important. So I raise this topic again. Data displayed in a SSRS report started in Visual Studio und a SSRS report started from Dynamics AX 2012 client may show different data. &lt;br /&gt;
The differences could be: &lt;br /&gt;
- numbers of rows displayed&lt;br /&gt;
- (sub)sets of rows displayed&lt;br /&gt;
&lt;br /&gt;
Reasons are that on the one hand Visual Studio does not use the Reporting Engine of Reporting Services but its own. On the other hand each report, which is called via Dynamics AX 2012 client, gets its own unique id, which allows Dynamics AX to identify different reports which were called at the same time / while another report still was processed. This is of significant importance to show only the own data in a report and not data of different reports. If a report is started inside Visual Studio this unique id is ignored and datasets of different reports may be displayed in one report.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
Report Services itself are well known and part of SQL Server since version 2000 (as add on) and on a regular basis since version 2005. Of cause there were some issues when using Reporting Services for typical SQL Server tasks. But in general most time it was fun working with Reporting Services and SQL Server as main data source.&lt;br /&gt;
&lt;br /&gt;
Working with Reporting Services and Dynamics AX 2012 one the other hand could be a little bit (ore some bit more) frustrating. Why? Quite simple! The field of operation is a different one: E.g. Designing a sales invoice with fixed positions of report elements was never subject of my work when working directly with SQL Server data but it is a common need when designing an invoice-template for Dynamics AX.&lt;br /&gt;
And that is exactly problem: The “old” Dynamics AX MorphX reporting engine was designed to fit  this and most of the other typical Dynamics AX tasks like generation Invoices or other bills and receipts. &lt;br /&gt;
&lt;br /&gt;
SQL Server Reporting Services (as delivered together with SQL Server) is designed to fit most of typical tasks like processing and displaying mass data in a clear and structured way. &lt;br /&gt;
Reporting Services delivered with Dynamics AX 2012 is still (let’s say over 80 percent) SQL Server Reporting Services. Lots of the old MorphX report features are missing. In the end this might cause some extra work when building a report which tries to fit the Dynamics AX users’ needs when generating an SSRS-report in Dynamics AX 2012. &lt;br /&gt;
&lt;br /&gt;
My hope is that Microsoft realizes that for many common tasks in Dynamics AX 2012 Reporting Services in its current version is not adequate and a massive increase of functionality and different, more accurate behavior (e.g. when placing report elements) is needed.&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 21 Feb 2012 20:20:26 +0100</pubDate>
    <guid isPermaLink="false">http://addicted2ax.de/index.php?/archives/21-guid.html</guid>
    <category>bugs</category>
<category>dynamics ax 2012</category>
<category>problems</category>
<category>reporting services</category>
<category>restrictions</category>
<category>ssrs</category>

</item>
<item>
    <title>Dynamics AX 2012 error when running SSRS-reports just after deleting a table field from report's temporary table</title>
    <link>http://addicted2ax.de/index.php?/archives/19-Dynamics-AX-2012-error-when-running-SSRS-reports-just-after-deleting-a-table-field-from-reports-temporary-table.html</link>
            <category>Dynamics AX 2012</category>
            <category>Reporting Services</category>
    
    <comments>http://addicted2ax.de/index.php?/archives/19-Dynamics-AX-2012-error-when-running-SSRS-reports-just-after-deleting-a-table-field-from-reports-temporary-table.html#comments</comments>
    <wfw:comment>http://addicted2ax.de/wfwcomment.php?cid=19</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://addicted2ax.de/rss.php?version=2.0&amp;type=comments&amp;cid=19</wfw:commentRss>
    

    <author>nospam@example.com (Addicted2AX)</author>
    <content:encoded>
    When designing reports I sometimes faced a strange problem. After testing a new SSRS-report successfully  I am always checking the SSRS-report’s temporary tables for table fields which were created by me during design-process but which are not used at the end (e.g. because of design-changes).&lt;br /&gt;
&lt;br /&gt;
If I find one or more of this obsolete table fields I just delete the fields because they are no longer needed for the report. In a second step I refresh the datasets of the SSRS-report in Visual Studio. (Without refreshing the datasets the report would run into an error because of the missing table fields.) As last step I deploy the SSRS-report again.&lt;br /&gt;
&lt;br /&gt;
When testing the report just after refreshing the datasets and redeploying the SSRS-report in most times there is no problem. SSRS-report just executes as expected because the deleted table-fields are not needed by the report.&lt;br /&gt;
&lt;br /&gt;
But sometimes I get a strange error message like this (sorry, only available in German language):&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:18 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;300&quot; height=&quot;347&quot;  src=&quot;http://addicted2ax.de/uploads/2012-01-19/TableFieldNotFound.gif&quot; title=&quot;TableFieldNotFound.gif&quot; alt=&quot;&amp;quot;Table-field not found&amp;quot;-error&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
The error-message says that Dynamics AX was not able to run report because “PurchOrderCollectLetterIndic”-field in “PurchPurchaseOrderHeader”-table is missing.&lt;br /&gt;
&lt;br /&gt;
Indeed I just had deleted the mentioned field from the mentioned table.  (FYI: The table holds the data for Header of a Purchase Order.) I also just refreshed the datasets in Visual Studio and redeployed the report. But the SSRS report failed.&lt;br /&gt;
&lt;br /&gt;
We tried (mostly) everything: Restarting the client. Restarting IIS. Even restarting AOS. But nothing helped. The only solution was to wait some hours because magically the error disappeared after some time.&lt;br /&gt;
&lt;br /&gt;
Long story short: We missed the obvious…&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;…. Restarting SQL Server Reporting Services!!!!&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Restarting Reporting Services just costs you some seconds. The worst effect which is caused by an restart is that for about one minute reports are not available or just a little bit delayed.&lt;br /&gt;
&lt;br /&gt;
Now the question is why restarting Reporting Services solves the problem? The solution is simple:&lt;br /&gt;
Reporting Services caches report-data for some time and does not recognize the change in table-data. After some time of not running a SSRS-report Reporting Services shuts down most of its application pool. When requesting a new report, SSRS restarts its application pool. When doing this it loads the report data completely new and recognizes the change in table data. The result is that SSRS Report now runs perfectly fine.&lt;br /&gt;
&lt;br /&gt;
Conclusion: If you face an error regarding SSRS reports in Dynamics AX 2012 which could be caused by refreshing-problems first restart SQL Server Reporting Services before you restart AOS or something other which may affect other users&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 19 Jan 2012 20:45:16 +0100</pubDate>
    <guid isPermaLink="false">http://addicted2ax.de/index.php?/archives/19-guid.html</guid>
    <category>error</category>
<category>refresh-error</category>
<category>reporting services</category>
<category>restarting ssrs service</category>
<category>ssrs</category>

</item>
<item>
    <title>Creating SSRS-Reports in Dynamics AX 2012 – What’s no longer possible in AX-reports (Part II) </title>
    <link>http://addicted2ax.de/index.php?/archives/18-Creating-SSRS-Reports-in-Dynamics-AX-2012-Whats-no-longer-possible-in-AX-reports-Part-II.html</link>
            <category>Dynamics AX 2012</category>
            <category>Reporting Services</category>
    
    <comments>http://addicted2ax.de/index.php?/archives/18-Creating-SSRS-Reports-in-Dynamics-AX-2012-Whats-no-longer-possible-in-AX-reports-Part-II.html#comments</comments>
    <wfw:comment>http://addicted2ax.de/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://addicted2ax.de/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>nospam@example.com (Addicted2AX)</author>
    <content:encoded>
    This is the second part of “What’s no longer possible in AX-reports”.  After finishing writing the first part I thought, that I just present some nasty, but not so important restrictions. Unfortunately Microsoft support just confirmed a restriction which could affect report design in a very bad way:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;254 column limit in SalesInvoiceTmp (maybe every temporary table filled by a RDP class):&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
Some days before Christmas I was still designing Sales Invoice-report: After adding 20 new columns to SalesInvoiceTmp-table and implementing these columns in Sales Invoice-report no report-data were shown in the report any longer.  Only label-data were displayed in the report. The behavior was the same when running report in Visual Studio or direct in Dynamics AX. First I thought that this behavior was caused by a programming-mistake by me but I found no reason why X++-code should have caused this. Then I checked SalesInvoiceTmp-table while running the report. SalesInvoiceTmp-table was filled correctly and all needed data were available. Because I had no clue what may have caused this I deleted the before added 20 new columns. Result: Sales Invoice-report worked correctly.&lt;br /&gt;
I started adding the columns one by one and after reaching 255 columns in SalesInvoiceTmp-table report just showed label-data again. After deleting one column report just worked fine. &lt;br /&gt;
&lt;br /&gt;
I opened a support case at Microsoft support and just yesterday support confirmed that this behavior is caused by SalesInvoiceTmp-table with more than 254 columns. Support directly opened a change request because this restriction seems to be by design.&lt;br /&gt;
&lt;br /&gt;
If one asks why I need more than 254 columns in SalesInvoiceTmp: Default SalesInvoiceTmp has about 200 columns when delivered with Dynamics AX, because there is just one dataset for header- and detail-data. In the end a programmer just can add approximately 50 columns for customization. 50 columns sound much, but if a client has just some special wishes to be implemented in Sales Invoice-report you may need all of these 50 columns and maybe some more.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;SalesInvoiceTmp-table &amp;amp; default AOS settings:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
Default maximum buffer-size in AOS settings is 24KB. Recommendation by Microsoft is not to raise this size. When starting customizing Sales Invoice report I had to add start some columns. But after adding some columns with an overall size below 1000 Bytes an error-message appeared, that maximum size of SalesInvoiceTmp-table was reached and columns need to be deleted. &lt;br /&gt;
&lt;br /&gt;
The answer of Microsoft was fast and simple: Raise maximum buffer-size in AOS settings to 48 KB. This is the only solution to solve this problem and the only possible solution when additional columns need to be added. Because SalesInvoiceTmp-table with about 200 columns by default is very big and so it reaches the 24KB limit very fast.&lt;br /&gt;
&lt;br /&gt;
Till now we found no negative impacts of raising the buffer-size. But according to Microsoft support another raise above 48KB may cause problems.&lt;br /&gt;
&lt;br /&gt;
So the big question is: Why is Sales Invoice report just using SalesInvoiceTmp-table as its only dataset if this solution causes that much trouble? The question gets even more interesting when you check the other reports: Most of them have two datasets. One for header-data and another one for detail –data.&lt;br /&gt;
It took me some time to discover the reason, which is simple but also shows another problem of SSRS reporting engine:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Paper-size limits space for report-elements:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
When starting redesigning Sales Invoice report I have just deleted the default report because it had a very ugly layout. I was setting paper-size to DIN A4 paper which has a height of 297 millimeters. When starting design there was plenty of space but later in the design-process and after adding more and more design-elements (which were printed one by another as unique elements printed only on the first page, continuing with reoccurring elements for invoice details in the middle section of the report and ending with unique elements only printed on last page) space went short.&lt;br /&gt;
&lt;br /&gt;
So I reexamined the default Sales Invoice report. The solution used in default report is simple: One big table with only one column is used as a container-element. The table has some rows. In every row one report-element is embedded, mostly tables. With this solution it is also possible to print the elements one by another.&lt;br /&gt;
&lt;br /&gt;
The reason why a table is used as container-element is that the table which is used as container element can be bigger than the paper size. When printing the report the paper size which was set in the report properties is used correctly and report-layout is not negatively affected by not wanted page breaks. &lt;br /&gt;
The downside of this solution is also the explanation why only one dataset is used: You have to assign a dataset to the table used as container element. But for the elements inside this table you cannot assign other datasets than that one used in the container element table. &lt;br /&gt;
&lt;br /&gt;
This is the reason why Sales Invoice report just as one dataset. To my mind this is a very bad limitation, which makes report designers work a lot of harder. &lt;br /&gt;
&lt;br /&gt;
Enough for today. It seems that a third part of “What’s no longer possible in AX-reports” is needed. &lt;img src=&quot;http://addicted2ax.de/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 04 Jan 2012 20:57:38 +0100</pubDate>
    <guid isPermaLink="false">http://addicted2ax.de/index.php?/archives/18-guid.html</guid>
    <category>bugs</category>
<category>dynamics ax 2012</category>
<category>problems</category>
<category>reporting services</category>
<category>restrictions</category>
<category>ssrs</category>

</item>
<item>
    <title>Creating SSRS-Reports in Dynamics AX 2012 – What’s no longer possible in AX-reports (Part I) </title>
    <link>http://addicted2ax.de/index.php?/archives/17-Creating-SSRS-Reports-in-Dynamics-AX-2012-Whats-no-longer-possible-in-AX-reports-Part-I.html</link>
            <category>Dynamics AX 2012</category>
            <category>Reporting Services</category>
    
    <comments>http://addicted2ax.de/index.php?/archives/17-Creating-SSRS-Reports-in-Dynamics-AX-2012-Whats-no-longer-possible-in-AX-reports-Part-I.html#comments</comments>
    <wfw:comment>http://addicted2ax.de/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://addicted2ax.de/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>nospam@example.com (Addicted2AX)</author>
    <content:encoded>
    After developing SSRS-reports in Dynamics AX 2012 for at least six month here are the first impressions what is possible – and more important – what is no longer possible with the new SSRS reporting engine in Dynamics AX:&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Header/Footer:&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
There is only one header, one body and one footer available per report. It is no longer possible to use a second header or footer (like Prolog/Epilog or Programmable Section) in a report.&lt;br /&gt;
This means it is no longer possible to use a secondary footer for an invoice summary with single positions one below the other. To make it worse: Hiding header or footer on a page only means that the content of the header and footer is not displayed.  But: The space which would be consumed by the non-hidden header/footer (by setting the height) cannot be used in report and is displayed as a white space in the report.&lt;br /&gt;
&lt;br /&gt;
If header/footer is only displayed on the first or last page of report the size should be set as small as possible to prevent waste of space on the pages where header/footer are not displayed.&lt;br /&gt;
Note:  Behavior of header/footer vary between running report in Visual Studio or in Dynamics AX 2012 because in Visual Studio a hidden header/footer by Property “Show on first/last page” is not displayed at all and wastes no space.&lt;br /&gt;
&lt;u&gt;&lt;br /&gt;
&lt;strong&gt;Missing property “LabelTabLeader” (for automatic setting of colons after labels):&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
The property “LabelTabLeader” was an AX-standard till Dynamics AX 2009 to set dots and colons automatically after a label like this: “….:”. In SSRS reporting engine for Dynamics AX 2012 this property is no longer available. Even &quot;better&quot;: According to Best Practices for designing SSRS reports colons are no longer officially supported.&lt;br /&gt;
&lt;br /&gt;
Workaround suggested by Microsoft Support: Set colons manually with an expression like =&quot;:&quot; after every label. Problem: Every default report has to be changed.&lt;br /&gt;
We asked for a change request at Microsoft’s SSRS/AX 2012-Team, because we do not have the time to edit every used default report manually. According to Microsoft support re-implementing the “LabelTabLeader”-property is not a simple job and still discussed at Microsoft.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Setting an element in a fixed position at the bottom of the report:&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
As mentioned above: There is only one report-footer available and because of technical restrictions you cannot size it as big as sometimes needed for example for an invoice summary where the single positions are one below the other. Common requirement is that the invoice summary is based on the bottom of the summary independently of the used space above the summary.&lt;br /&gt;
With Dynamics AX 2009 it was rather simple to achieve this requirement: You just used a programmable section only on the last page. &lt;br /&gt;
Because there is no second footer available we tried several other things to fix the sales summary at the bottom of the invoice-report but outside the footer. But we always failed. &lt;br /&gt;
Microsoft Support confirmed that there is no option in SSRS reporting engine available to fix an element on a specific space on report if it is not possible to place the element in header or footer.&lt;br /&gt;
This issue is also topic of a change request, which is also still discussed at Microsoft.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Paper Size of default Dynamics AX 2012 reports: &lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
According to Microsoft Best Practices an AX 2012 report has to be designed in a way which allows the report to be printed in US letter and also in DIN A4.&lt;br /&gt;
Unfortunately most of the default reports are designed in a way which uses US letter paper size in its complete width without proper margins. Because the width of DIN A4 is 210mm and the width of US letter is 216mm a lot of white pages are printed in DIN A4.&lt;br /&gt;
This means that a lot of the default reports have to be redesigned to be used proper by users outside USA.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Update 06.02.2012:&lt;/u&gt;&lt;br /&gt;
Starr informed me that my statement, that all the reports are optimized for US Letter is wrong. He checked some more reports which were not optimized for DIN A4 or US Letter at all. Indeed he is right: I have checked some of more reports and some paper-sizes I discovered were not neither US Letter nor DIN A4. It seems that when many columns needed to be displayed width was set to fit all columns even the report was not really printable anymore.&lt;br /&gt;
&lt;br /&gt;
He also asked what we do to make the reports printable: Our solution is simple but also time-intensive: Together with our client we identified the most important reports which need to be printed and all these reports will be redesigned. Not because of the wring paper-sizes but also because of the “beautiful” design of the standard-reports.&lt;br /&gt;
&lt;br /&gt;
This was the first part of “What’s no longer possible in AX-reports”. Part 2 will follow soon and there are still some more nasty restrictions of SSRS for Dynamics AX 2012 which were unknown in Morph X-reports for Dynamics AX 2009 and prior.  &lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 27 Dec 2011 20:20:42 +0100</pubDate>
    <guid isPermaLink="false">http://addicted2ax.de/index.php?/archives/17-guid.html</guid>
    <category>bugs</category>
<category>dynamics ax 2012</category>
<category>problems</category>
<category>reporting services</category>
<category>restrictions</category>
<category>ssrs</category>

</item>
<item>
    <title>Problems with SSRS &amp; pdf-export after subsequent installation of fonts</title>
    <link>http://addicted2ax.de/index.php?/archives/14-Problems-with-SSRS-pdf-export-after-subsequent-installation-of-fonts.html</link>
            <category>Installation </category>
            <category>Installation </category>
            <category>Reporting Services</category>
            <category>Reporting Services</category>
    
    <comments>http://addicted2ax.de/index.php?/archives/14-Problems-with-SSRS-pdf-export-after-subsequent-installation-of-fonts.html#comments</comments>
    <wfw:comment>http://addicted2ax.de/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://addicted2ax.de/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>nospam@example.com (Addicted2AX)</author>
    <content:encoded>
    Today I had to do a subsequent installation of some fonts that were not available on SSRS server after initial installation. &lt;br /&gt;
&lt;br /&gt;
Even though the new fonts were available in Notepad and also worked fine with it, I had some trouble to make the fonts work with reporting services and in reports exported into a pdf-document.&lt;br /&gt;
&lt;br /&gt;
After checking the pdf-document report-layout was totally broken. The reason for that problem was simple: Not the subsequently installed and in the report used font was utilized but another (randomly chosen?) windows font, although the newly installed font was correctly embedded into the pdf-document.&lt;br /&gt;
&lt;br /&gt;
I have restarted the SSRS-services but the problem continued.&lt;br /&gt;
Long story short: I had to reboot the complete Server. After the reboot the problem was gone.&lt;br /&gt;
&lt;br /&gt;
Maybe an obvious solution but the problem was that a lot of consultants and developer worked on that server, so it was bigger trouble to reboot it contemporary.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 19 Oct 2011 19:13:09 +0200</pubDate>
    <guid isPermaLink="false">http://addicted2ax.de/index.php?/archives/14-guid.html</guid>
    <category>fonts</category>
<category>pdf-export</category>
<category>reports</category>
<category>ssrs</category>

</item>
<item>
    <title>Blank, last page in SSRS-Report</title>
    <link>http://addicted2ax.de/index.php?/archives/11-Blank,-last-page-in-SSRS-Report.html</link>
            <category>Reporting Services</category>
            <category>Reporting Services</category>
    
    <comments>http://addicted2ax.de/index.php?/archives/11-Blank,-last-page-in-SSRS-Report.html#comments</comments>
    <wfw:comment>http://addicted2ax.de/wfwcomment.php?cid=11</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://addicted2ax.de/rss.php?version=2.0&amp;type=comments&amp;cid=11</wfw:commentRss>
    

    <author>nospam@example.com (Addicted2AX)</author>
    <content:encoded>
    Ok, it took some time but here is a new entry. A short one. &lt;br /&gt;
&lt;br /&gt;
You may face this problem sooner or later, when creating a SSRS-report with  SQL Server 2008. It can happen with both plain Reporting Services and SSRS with Dynamics AX 2012.&lt;br /&gt;
&lt;br /&gt;
After creating a report all looks fine, till you reach the end of the report.  Although the last page with report-data has plenty of space left, there is a last completely empty  - meaning white page – at the end of the report. &lt;br /&gt;
&lt;br /&gt;
With Reporting Services for SQL Server 2005 you did not face this kind of problem, because white spaces are removed automatically. This is not a bug just a changed behavior. &lt;br /&gt;
&lt;br /&gt;
But how to solve this problem with SQL Server 2008?&lt;br /&gt;
Quite simple: Just select the properties of the report. Look for the &lt;strong&gt;&lt;em&gt;ConsumeContainerWhitespace&lt;/em&gt;&lt;/strong&gt;-property. If the value is &lt;em&gt;&lt;strong&gt;FALSE&lt;/strong&gt;&lt;/em&gt; change it to &lt;em&gt;&lt;strong&gt;TRUE&lt;/strong&gt;&lt;/em&gt; and your problem with a last white page in SSRS-reports should be history. &lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:17 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;411&quot; height=&quot;328&quot;  src=&quot;http://addicted2ax.de/uploads/2011-09-19/WhiteSpace.jpg&quot; title=&quot;&amp;quot;ConsumeContainerWhitespace&amp;quot;-Property&quot; alt=&quot;&amp;quot;ConsumeContainerWhitespace&amp;quot;-Property&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Tipp: If you have the problem that there is a page with report-data, followed by  a blank one, followed by a page with report data, a blank one and so on, the problem is different but as easy to solve.  Just make sure that &lt;strong&gt;&lt;em&gt;Body Width&lt;/em&gt;&lt;/strong&gt; of the report + &lt;em&gt;&lt;strong&gt;Left margin&lt;/strong&gt;&lt;/em&gt; + &lt;em&gt;&lt;strong&gt;Right margin&lt;/strong&gt;&lt;/em&gt; are together smaller than the &lt;em&gt;&lt;strong&gt;Page Width&lt;/strong&gt;&lt;/em&gt;.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon, 19 Sep 2011 19:53:22 +0200</pubDate>
    <guid isPermaLink="false">http://addicted2ax.de/index.php?/archives/11-guid.html</guid>
    <category>blank page</category>
<category>ConsumeContainerWhitespace</category>
<category>Dynamics AX 2012</category>
<category>SQL Server 2008</category>
<category>SSRS</category>

</item>
<item>
    <title>Dynamic Filters in SSRS Reports</title>
    <link>http://addicted2ax.de/index.php?/archives/9-Dynamic-Filters-in-SSRS-Reports.html</link>
            <category>Reporting Services</category>
    
    <comments>http://addicted2ax.de/index.php?/archives/9-Dynamic-Filters-in-SSRS-Reports.html#comments</comments>
    <wfw:comment>http://addicted2ax.de/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://addicted2ax.de/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>nospam@example.com (Addicted2AX)</author>
    <content:encoded>
    Today I spend 2 hours to fix a problem which took me some time to understand.&lt;br /&gt;
After creating and deploying a SSRS Report for Dynamics AX 2012 with two datasets (one &lt;strong&gt;Report Data Provider&lt;/strong&gt; which is the main-dataset and one AX-Query which queries the standard-currency of the company) I was not able to set the correct parameters in the dialog of that specific SSRS-Report.&lt;br /&gt;
Creating parameters for Standard-Reports in Dynamics AX 2009 is quite simple: If the user should have the ability to limit the report-data you set ranges in the AX-query. The result is that the dialog-box of the report now has parameters which can be set by the user.&lt;br /&gt;
&lt;br /&gt;
First the good news: This is how it works with SSRS-Reports in Dynamics AX 2012, too. It is still as simple as in Dynamics AX 2009 if you use only one query. You just set the Ranges and it works.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:8 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;395&quot; height=&quot;326&quot;  src=&quot;http://addicted2ax.de/uploads/2011-08-03/Query_Ranges.jpg&quot; title=&quot;Setting Ranges in Dynamics AX 2012 Queries&quot; alt=&quot;Setting Ranges in Dynamics AX 2012 Queries&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
If you have to work with more than one query it is maybe getting a little bit tricky. My problem was that not the parameters of the main-query were shown but the parameters of the second query (which is needed to set up the standard-currency).&lt;br /&gt;
&lt;br /&gt;
I checked the queries and found no problems. I asked a colleague who is quite familiar with Dynamics AX 4.0 and 2009. As he saw how SSRS Reports are handled by Dynamics AX 2012 he just rolled his eyes and was clueless, too.&lt;br /&gt;
Finally another developer gave me decisive tip: Set &lt;strong&gt;Dynamics Filters&lt;/strong&gt; option to &lt;em&gt;True&lt;/em&gt; for the dataset(s) which parameters should be shown in dialog box and set it to &lt;em&gt;False&lt;/em&gt; in the other datasets.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:7 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;891&quot; height=&quot;339&quot;  src=&quot;http://addicted2ax.de/uploads/2011-08-03/DynamicFilter.jpg&quot; title=&quot;Setting Dynamic Filter in SSRS Reports for Dynamics AX 2012 in Visual Studio 2012&quot; alt=&quot;Setting Dynamic Filter in SSRS Reports for Dynamics AX 2012 in Visual Studio 2012&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Sounds simple? Yes it is… theoretically. It took me another two hours to &quot;convince&quot; Dynamics AX 2012 to deploy and use the updated report-data when running the report in Dynamics AX client. &lt;br /&gt;
&lt;br /&gt;
There seem to be some bigger problems with updating the data in AOT even with RTM of Dynamics AX 2012. Plus: The list of known bugs in RTM-version is long. Too long for my taste. I am looking forward to install Service Pack 1. &lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 03 Aug 2011 22:02:58 +0200</pubDate>
    <guid isPermaLink="false">http://addicted2ax.de/index.php?/archives/9-guid.html</guid>
    <category>dynamic filters</category>
<category>dynamics ax 2012</category>
<category>ssrs</category>

</item>

</channel>
</rss>