<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>reporting-services &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/reporting-services/</link>
	<description>Feed of posts on WordPress.com tagged "reporting-services"</description>
	<pubDate>Fri, 27 Nov 2009 20:17:22 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Building Subreport in Reporting Services]]></title>
<link>http://shahfaisalmuhammed.wordpress.com/2009/11/20/building-subreport-in-reporting-services/</link>
<pubDate>Fri, 20 Nov 2009 11:22:08 +0000</pubDate>
<dc:creator>Shahfaisal Muhammed</dc:creator>
<guid>http://shahfaisalmuhammed.wordpress.com/2009/11/20/building-subreport-in-reporting-services/</guid>
<description><![CDATA[Today I am going to talk about(or rather write about) building Subrpeorts in SQL Server Reporting Se]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Today I am going to talk about(or rather write about) building Subrpeorts in SQL Server Reporting Services (SSRS).</p>
<p>First, let&#8217;s create two simple reports -</p>
<p>1. EmployeeSummary report &#8211; Parent report.<br />
2. EmployeeDetails report &#8211; Subreport.</p>
<p>NOTE: If you are well familiar with creating reports you can jump right to the <span style="text-decoration:underline;"><strong>Building Subreport</strong></span> section below.</p>
<p>Start Business Intelligence Development Studio, go to file menu, select new and then select Project. The <strong>New Project</strong> dialog box appears, select the <strong>Report Server Project</strong> template and type a relevant name as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled119.jpg"><img class="aligncenter size-full wp-image-416" title="untitled1" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled119.jpg" alt="" width="1024" height="768" /></a></p>
<p>The first step in creating a report is to add a <strong>Data Source</strong> to connect to the database. Right-click <strong>Shared Data Sources</strong> and select <strong>Add New Data Source</strong>. Give a relevant name to the Data Source and click the edit button to define a new Connection as shown below. Click OK twice to create a new data source.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled27.jpg"><img class="aligncenter size-full wp-image-417" title="untitled2" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled27.jpg" alt="" width="1024" height="768" /></a></p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled34.jpg"><img class="aligncenter size-full wp-image-418" title="untitled3" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled34.jpg" alt="" width="1024" height="768" /></a></p>
<p>Right-click the <strong>Reports</strong> folder and go to <strong>Add</strong> menu and select <strong>New Item&#8230;</strong></p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled44.jpg"><img class="aligncenter size-full wp-image-419" title="untitled4" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled44.jpg" alt="" width="1024" height="768" /></a></p>
<p>The <strong>Add New Item</strong> dialog box appears, select the <strong>Report</strong> template and type a proper name(in this case it is EmployeeSummary) for the report as shown below and click ok. This will be a Summary report that shows all the Employees and the number of hours they worked for a given month.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled55.jpg"><img class="aligncenter size-full wp-image-420" title="untitled5" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled55.jpg" alt="" width="683" height="411" /></a></p>
<p>Now click on the <strong>Dataset</strong> drop down box and select <strong>New Dataset</strong> as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled63.jpg"><img class="aligncenter size-full wp-image-421" title="untitled6" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled63.jpg" alt="" width="1024" height="768" /></a></p>
<p>The Dataset dialog box appear, type a relevant name for the dataset and type a query to cater the report as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled73.jpg"><img class="aligncenter size-full wp-image-422" title="untitled7" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled73.jpg" alt="" width="466" height="380" /></a></p>
<p>Now click on the <strong>Layout</strong> tab, drag <strong>Table</strong> from the Toolbox and drop it on to the body of the report as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled84.jpg"><img class="aligncenter size-full wp-image-423" title="untitled8" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled84.jpg" alt="" width="1024" height="768" /></a></p>
<p>GO to <strong>View</strong> menu and click <strong>Datasets</strong> to get the <strong>Datasets</strong> window. Now drag and drop the required fields from the <strong>Dataset</strong> into the layout as shown below. Please e sure to drop the fields in the detial section. Also, do some basic formatting such as adjusting the column width, header color etc to make the report look pretty <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled94.jpg"><img class="aligncenter size-full wp-image-426" title="untitled9" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled94.jpg" alt="" width="1023" height="799" /></a></p>
<p>Now click the <strong>Preview</strong> tab to look at the new report we just created. This will server as our main report or summary report. Now we will create a subreport which will server as a detail report. Please note that this is just sample data created for demo purpose.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled104.jpg"><img class="aligncenter size-full wp-image-427" title="untitled10" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled104.jpg" alt="" width="1024" height="744" /></a></p>
<p>Now let&#8217;s create another report which will be our subreport. Right-click the <strong>Reports</strong> folder and go to <strong>Add</strong> menu and select <strong>New Item&#8230;</strong><br />
The <strong>Add New Item</strong> dialog box appears, select the <strong>Report</strong> template and type a proper name(in this case it is EmployeeDetails) for the report. This will be a detail report that shows all the Employees, the Practice Area they belong to, whether permanent employee or a contractor and utilization in percentage. Your screen should look similar to the one shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled1110.jpg"><img class="aligncenter size-full wp-image-428" title="untitled11" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled1110.jpg" alt="" width="1024" height="768" /></a></p>
<p>Similar to how we did for the first report, we will need to create a new <strong>Dataset</strong>, type the query for the report data as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled123.jpg"><img class="aligncenter size-full wp-image-429" title="untitled12" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled123.jpg" alt="" width="1024" height="768" /></a></p>
<p>Again, as we did for the first report, click on the <strong>Layout</strong> tab, drag <strong>Table</strong> from the Toolbox and drop it on to the body of the report, drag and drop the required fields from the <strong>Dataset</strong> into the layout as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled133.jpg"><img class="aligncenter size-full wp-image-430" title="untitled13" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled133.jpg" alt="" width="1024" height="768" /></a></p>
<p>Click the prview tab to view the data as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled143.jpg"><img class="aligncenter size-full wp-image-431" title="untitled14" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled143.jpg" alt="" width="1024" height="768" /></a></p>
<p>Now let&#8217;s create a parameter in the subreport on EmployeeNumber. In most of the cases, you will likely have a parameter on subreport and you will pass the parameter from the parent report to the subrpeort. To be more specific, when you place the subreport in the main report, you can select the report parameter and a value to pass from the parent report to the report parameter in the subreport.</p>
<p>Go back to the layout tab, select <strong>Report</strong> then select <strong>Report Parameters</strong> as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled154.jpg"><img class="aligncenter size-full wp-image-432" title="untitled15" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled154.jpg" alt="" width="1024" height="768" /></a></p>
<p>The <strong>Report Parameters</strong> dialog box appears. Click <strong>Add</strong> and create a parameter as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled163.jpg"><img class="aligncenter size-full wp-image-433" title="untitled16" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled163.jpg" alt="" width="673" height="520" /></a></p>
<p>Click on the <strong>Data</strong> tab and add a WHERE clause to the query as shown below. Please note the parameter we just created in the WHERE clause. Now let&#8217;s get to the meet and potatoes of this post -</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled173.jpg"><img class="aligncenter size-full wp-image-434" title="untitled17" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled173.jpg" alt="" width="1024" height="768" /></a></p>
<p><span style="text-decoration:underline;"><strong>Building Subreport</strong></span><br />
In the main report(parent report), add a column where you want your subreport to be displayed. I will add it right after the <strong>EmployeeNumebr</strong> Column in this example.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled181.jpg"><img class="aligncenter size-full wp-image-435" title="untitled18" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled181.jpg" alt="" width="1024" height="768" /></a></p>
<p>From the <strong>Toolbox</strong>, drag <strong>Subreport</strong> and drop it onto the detail section of the new column we just created. Please see the screen shot below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled191.jpg"><img class="aligncenter size-full wp-image-436" title="untitled19" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled191.jpg" alt="" width="1024" height="768" /></a></p>
<p>Righ-click on the cell where you dropped the Subreport, in the <strong>Subreport</strong> dropdown box, select <strong>EmployeeDetails</strong> as the subreport as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled20.jpg"><img class="aligncenter size-full wp-image-437" title="untitled20" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled20.jpg" alt="" width="452" height="339" /></a></p>
<p>Now go to the <strong>Visibility</strong> tab and select the options as shown below. This will ensure that the subrpeort can be toggled using the <strong>EmployeeNumber</strong> column.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled211.jpg"><img class="aligncenter size-full wp-image-438" title="untitled21" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled211.jpg" alt="" width="452" height="339" /></a></p>
<p>Go to <strong>Parameter</strong> tab and set the options below to pass the parameter from the main report to the subreport.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled221.jpg"><img class="aligncenter size-full wp-image-439" title="untitled22" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled221.jpg" alt="" width="555" height="445" /></a></p>
<p>Save the report and click <strong>Preview</strong> to look at the final report as shown below.</p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled232.jpg"><img class="aligncenter size-full wp-image-445" title="untitled23" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled232.jpg" alt="" width="1024" height="639" /></a></p>
<p><a href="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled242.jpg"><img class="aligncenter size-full wp-image-446" title="untitled24" src="http://shahfaisalmuhammed.wordpress.com/files/2009/11/untitled242.jpg" alt="" width="1024" height="710" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Instalando o Reporting Services 2005 - Windows 2003 Server]]></title>
<link>http://sqlfromhell.wordpress.com/2009/11/09/ssrs-2/</link>
<pubDate>Tue, 10 Nov 2009 00:35:02 +0000</pubDate>
<dc:creator>Paulo R. Pereira</dc:creator>
<guid>http://sqlfromhell.wordpress.com/2009/11/09/ssrs-2/</guid>
<description><![CDATA[E ai pessoas! Cumprido minha promessa do artigo sobre a instalação do SSRS 2005 no Windows Seven e V]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>E ai pessoas!</p>
<p>Cumprido minha promessa do artigo sobre a <a href="http://sqlfromhell.wordpress.com/2009/10/24/ssrs/">instalação do SSRS 2005 no Windows Seven e Vista</a>, vou mostrar como se realiza a instalação do SSRS 2005 em um servidor, no caso o Windows Server 2003 e 2003 R2.</p>
<p>Esta instalação é parecida com a instalação do SSRS no Windows XP, assim como no Vista é semelhante ao do Windows Server 2008.</p>
<p>Primeiro, lembremos do maldito “Warning” (IIS Feature Requirement) que nos persegue na instalação do SQL Server 2005. Por causa deste &#8220;Warning&#8221;, o serviço do SQL Server Reporting Services (SSRS) não instala. Então vamos resolver este pequeno problema!</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_1.png" alt="" /></p>
<p><em><strong>Para a felicidade de alguns que trabalham com versões mais atuais, isso não ocorre no SQL Server 2008 e 2008 R2, que têm o SSRS como um serviço independente do IIS.</strong></em></p>
<p>Cancele a instalação do SQL Server 2005 e vamos para o &#8220;Painel de Controle\Adicionar e Remover Programas&#8221;:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_2.png" alt="" /></p>
<p>No terceiro item do menu da esquerda, temos a opção de Adicionar/Remover Componentes do Windows:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_3.png" alt="" /></p>
<p>Nesta opção, teremos o item de “Servidor de Aplicações” ou “Application Server”, habilite este item e mantendo ele selecionado, clique no botão “Detalhes” ou “Details&#8230;”:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_4.png" alt="" /></p>
<p>Agora temos alguns configurações relacionadas ao nosso servidor de aplicações, visto que o SSRS é uma Aplicação Web (ASP.NET), precisaremos dos seguintes itens selecionados:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_5.png" alt="" /></p>
<p>No caso do IIS, a instalação padrão dele já supri nossas necessidades.</p>
<p>Depois recomeçamos a instalação do SQL Server e os “Warning”s que bloqueiam a instalação do SSRS não estão mais lá. (Só uma observação sobre minha instalação, é que outro “Warning” aparece, pois a VM tem a mínima configuração necessária para instalar o SQL Server.) Muitos dos outros “Warnings” são resolvidos pela atualização do Windows. (No exemplo, estou utilizando uma instalação do Windows 2003 R2 SP2, com todas as atualizações até Agosto de 2009)</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_6.png" alt="" /></p>
<p>Pronto, agora é só selecionar o “Reporting Services” e prosseguir com a instalação:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_7.png" alt="" /></p>
<p>Lembrei de outra configuração na instalação do SQL Server que se refere ao SSRS, é sobre as opções de como ele será instalado, no caso a instalação “Default”, já suprirá as configurações de um servidor convencional. (Caso precise de uma configuração diferente, estou elaborando um artigo sobre a gerenciamento e configurações do SSRS 2005/2008. Mas na urgência, dê uma olhada na biblioteca de SQL Server 2005, <a href="http://msdn.microsoft.com/pt-br/library/bb545450(en-us).aspx" target="_blank">no site do MSDN</a>)</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_8.png" alt="" /></p>
<p>E por fim a tela que muitos sonham encontrar, quando começam a instalação do SQL Server 2005.</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/11/ssrs02_9.png" alt="" /></p>
<p>Então pessoal, creio que com estes dois artigos vocês já estarão bem informados sobre como instalar o SSRS 2005, mas qualquer dúvida fiquem a vontade em perguntar! Tenham uma ótima semana!</p>
<p><strong>Artigos relacionados:</strong></p>
<p><a href="http://sqlfromhell.wordpress.com/2009/10/24/ssrs/" target="_blank">Instalando o SQL Server Reporting Server (Windows Vista, Seven e 2008)</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Что случилось с Reporting Services?]]></title>
<link>http://skazhena.wordpress.com/2009/11/05/whats-wrong-with-reporting-services/</link>
<pubDate>Thu, 05 Nov 2009 11:06:12 +0000</pubDate>
<dc:creator>skazhena</dc:creator>
<guid>http://skazhena.wordpress.com/2009/11/05/whats-wrong-with-reporting-services/</guid>
<description><![CDATA[Продолжаю работать по спасению портала из-под завалов. На этот раз в поле зрения попал SSPS (SQL Ser]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Продолжаю работать по спасению портала из-под завалов. На этот раз в поле зрения попал SSPS (SQL Server 2005 Reporting Services),  в моем случае 2005 и на MOSS 2007.</p>
<p>При обращении к отчетам пользователь видит следующую ошибку: <em> </em></p>
<p style="padding-left:60px;"><em><span style="color:#888888;">Непредвиденная ошибка при соединении с сервером отчетов. Убедитесь в том, что сервер отчетов доступен и настроен для работы в режиме интеграции с SharePoint.</span></em></p>
<p>Проблему нужно решить <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  и срочно! Попытки реанимировать службу на ненастроенном веб-сервере привели к неудаче, также не поднимался сервис на сервере индексирования. Было принято решение установить функционал на втором веб-сервере. Ну что ж: всё когда-то случается в первый раз.</p>
<p><!--more--></p>
<p>Поиски руководств привели меня на <a href="http://weblogs.asp.net/akjoshi/archive/2008/06/06/Installing-and-configuring-sql-server-2005-reporting-services.aspx" target="_blank">эту статью</a> (англ.), где подробно описывается процесс установки SSPS со ссылками на доки Microsoft, и <a href="http://blah.winsmarts.com/2007-12-SharePoint_and_SQL_Server_Reporting_Services_-_Installation_and_Setup.aspx" target="_blank">эту запись</a> &#8211; установка в режиме интеграции с SharePoint, и ещё <a href="http://blogs.msdn.com/sharepoint/archive/2007/02/19/microsoft-sql-server-2005-sp2-reporting-services-integration-with-wss-3-0-and-moss-2007.aspx" target="_blank">хорошее руководство</a>.</p>
<p>1. Устанавливаем ReportingServices SharePoint Add-in на все интерфейсные сервера. Сделано.</p>
<p>2. Устанавливаем на сервере назначение Microsoft SQL Server 2005. Арррр! Не сделано. При первой попытке установки (выбирался лишь компонент ReportingServices) инсталлятор выдал ошибку и закончил установку преждевременно. В логах событий:</p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-31" title="Warning 5603" src="http://skazhena.wordpress.com/files/2009/11/scr01.jpg" alt="scr01" width="403" height="447" /></p>
<p>Пришлось снести SQL и установить заново, выбрав все компоненты для установки &#8211; это помогло.</p>
<p>3.  Теперь настраиваем сервис. Открываем конфигуратор сервиса отчетов, и что видим? Да ничего не видим. Нет пункта интеграции с SharePoint; в админке портала при попытке подключиться к данному серверу отчетов получаем ошибку: &#8220;Ошибка поставщика WMI сервера отчетов: Not found&#8221;.  Решение быстро нагуглилось: необходимо установить SP2 на SQL.</p>
<p>Очередная настройка интеграции с SharePoint через его админку: управление параметрами интеграции &#8211; ок, предоставить доступ к базе данных &#8211; ок, установить значения по умолчанию сервера &#8211; не ок. Ошибка <span style="color:#333399;">(при удаленном обращении к админке)</span>: <em>Непредвиденная ошибка при соединении с сервером отчетов. Убедитесь в том, что сервер отчетов доступен и настроен для работы в режиме интеграции с SharePoint; </em><span style="color:#333399;">(при обращении к настройке с самого сервера)</span><em> Непредвиденная ошибка при соединении с сервером отчетов. Убедитесь в том, что сервер отчетов доступен и настроен для работы в режиме интеграции с SharePoint. &#8211;&#62; Server was unable to process request. &#8212;&#62; The request failed with HTTP status 401: Unauthorized.</em></p>
<p>Определающим моментов являлось то, что все портальные пулы использовали SSL; не в первый раз я использовала <a href="http://support.microsoft.com/kb/896861" target="_blank">KB896861</a> ( способ 1, даже без перезагрузки сервера).<em> </em>Ого! Открываются настройки по умолчанию. D-oh! (c) Снова ошибка, и какая:</p>
<p style="padding-left:30px;"><em><span style="color:#ff0000;">System.Web.Services.Protocols.SoapException: Произошла внутренняя ошибка на сервере отчетов. Дополнительные подробности см. в журнале ошибок. &#8212;&#62; Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: Произошла внутренняя ошибка на сервере отчетов. Дополнительные подробности см. в журнале ошибок. &#8212;&#62; System.ArgumentException: Value does not fall within the expected range. at Microsoft.ReportingServices.SharePoint.Server.Utility.GetSPItemMetaDataAndContent(String path, UserContext userContext, Boolean returnContent, Guid&#38; id, ISecurableObject&#38; secObj, SharePointImpersonatedWeb&#38; wrapper, Byte[]&#38; content, String&#38; mimeType) at Microsoft.ReportingServices.SharePoint.Server.SharePointAuthorizationExtension.InternalCheckAccess(UserContext userContext, String itemPath, SPBasePermissions requiredRights) at Microsoft.ReportingServices.SharePoint.Server.SharePointAuthorizationExtension.CheckAccess(UserContext userContext, String path, CatalogOperation requiredOperation) at Microsoft.ReportingServices.Library.GetSystemPropertiesAction.PerformActionNow() at Microsoft.ReportingServices.Library.RSSoapAction`1.Execute() &#8212; End of inner exception stack trace &#8212; at Microsoft.ReportingServices.Library.RSSoapAction`1.Execute() at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetSystemProperties(Property[] Properties, Property[]&#38; Values) &#8212; End of inner exception stack trace &#8212; at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetSystemProperties(Property[] Properties, Property[]&#38; Values) at Microsoft.ReportingServices.WebServer.ReportingServiceSPImpl.GetSystemProperties(Property[] Properties, Property[]&#38; Values) at Microsoft.ReportingServices.WebServer.ReportingService2006.GetSystemProperties(Property[] Properties, Property[]&#38; Values)</span></em></p>
<p><span style="color:#000000;">Решение находится быстро, если правильно искать. Я нашла 2 источника: <a href="http://msdn.microsoft.com/en-us/library/ee384252.aspx" target="_blank">материал MS</a> по устранению ошибок интеграции Reporting Services и SharePoint (п.4.1.8, материал по MS SQL 2008) и <a href="http://blogs.msdn.com/calton/archive/2009/05/09/how-to-fix-the-error-value-does-not-fall-within-expected-range-from-srs-integration-with-sharepoint.aspx" target="_blank">запись блога</a>.</span></p>
<p><span style="color:#000000;">Причина ошибки крылась в том, что был перенесён центр администрирования на другой сервер и сохранилась запись в сопоставлениях альтернативного доступа новый центр администрирования &#60;-&#62; старый центр администрирования. Эта запись была удалена, служба Reporting Services перезапущена. Сервис отчетов теперь работает.</span></p>
<p><span style="color:#000000;"><img class="aligncenter size-full wp-image-59" title="jumpingpumpkin_draft7" src="http://skazhena.wordpress.com/files/2009/11/jumpingpumpkin_draft7.gif" alt="jumpingpumpkin_draft7" width="41" height="57" /> </span></p>
<p><span style="color:#000000;"> </span></p>
<p><em> </em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SharePoint Permissions for Reports]]></title>
<link>http://bangasser.wordpress.com/2009/10/31/sharepoint-permissions-for-reports/</link>
<pubDate>Sat, 31 Oct 2009 06:42:28 +0000</pubDate>
<dc:creator>bangasser</dc:creator>
<guid>http://bangasser.wordpress.com/2009/10/31/sharepoint-permissions-for-reports/</guid>
<description><![CDATA[We are running MOSS 2007 with integrated reporting services.  I was frustrated that I had to give us]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>We are running MOSS 2007 with integrated reporting services.  I was frustrated that I had to give users a lot of permissions to run a report.  In fact they could easily delete reports.  After a whole bunch of trial and error I found I could create a SharePoint custom permissions level with these settings that lets users view reports and create subscriptions but not delete reports:</p>
<p>List Permissions:<br />
Edit Items<br />
View Items<br />
Open Items<br />
Create Alerts<br />
View Application Pages</p>
<p>Site Permissions:<br />
View Pages<br />
Use Remote Interfaces<br />
Use Client Integration Features<br />
Open</p>
<p>&#160;</p>
<p>Here&#8217;s a great Microsoft post with more information:<br />
<a href="http://msdn.microsoft.com/en-us/library/bb326286(SQL.90).aspx">http://msdn.microsoft.com/en-us/library/bb326286(SQL.90).aspx</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[El Datawarehouse dentro del enfoque de la Inteligencia de Negocios]]></title>
<link>http://privmario.wordpress.com/2009/10/29/el-datawarehouse-dentro-del-enfoque-de-la-inteligencia-de-negocios/</link>
<pubDate>Thu, 29 Oct 2009 19:47:28 +0000</pubDate>
<dc:creator>Mario Mendez</dc:creator>
<guid>http://privmario.wordpress.com/2009/10/29/el-datawarehouse-dentro-del-enfoque-de-la-inteligencia-de-negocios/</guid>
<description><![CDATA[esquema básico de BI El desafío inicial de los almacenes de datos o datawarehouse era contar con la ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="attachment_328" class="wp-caption alignright" style="width: 310px"><img class="size-full wp-image-328" title="BI esquematico" src="http://privmario.wordpress.com/files/2009/10/bi-esquematico.jpg" alt="BI esquematico" width="300" height="162" /><p class="wp-caption-text">esquema básico de BI</p></div>
<p>El desafío inicial de los almacenes de datos o <em>datawarehouse</em> era contar con la capacidad suficiente de almacenamiento como para albergar la totalidad de operaciones de una organización. Con el tiempo y el abaratamiento de los servidores y hardware dedicado (discos duros tradicionales o de estado sólido, <em>storage</em>, etc.) el siguiente gran desafío era integrar los distintos sistemas para alimentar el <em>datawarehouse</em> corporativo, batalla que se está ganando exitosamente. Pero un tema primordial y que ahora tiene mayor relevancia es saber qué hacer con todo este bagaje de datos; como explotar u obtener conocimiento aprovechable de ellos.</p>
<p><!--more-->La propuesta de la disciplina de Inteligencia de Negocios propone dos técnicas principales no excluyentes, que son la generación de Indicadores de Gestión (para conformar Cuadros de Mando, por ejemplo) y el análisis mediante la Minería de Datos (<em>Datamining</em>). Sin embargo nunca se aplican estas técnicas directamente sobre el datawarehouse, sino que se utilizan datamarts que ofician de vistas parciales, donde se concentran la información necesaria para responder cierta gama acotada de preguntas. En este sentido un error muy común es sobrecargar los datamarts con un sinnúmero de datos, a veces pocos relacionados, a efectos de poder plantear la mayor cantidad de consultas posibles, muchas veces sin saber a ciencia cierta cuáles serán. Esto generalmente desemboca en monstruosas infraestructuras OLAP casi inmanejables, cuya esfuerzo principal de los responsables consiste en tratar de optimizar los cubos para que respondan las consultas en tiempos dentro de los límites razonables, muchas veces infructuosamente. Este desacierto de plantear un cubo gigante que “haga todo” parte muchas veces del error conceptual de asimilar al OLAP como parte integral del datawarehouse.</p>
<p>En un enfoque moderno se limita el <em>datawarehouse</em> al almacén de bases de datos (relacionales o documentales), consistiendo solo en un repositorio de datos, sin fines operacionales ni de análisis por sí mismo. Los datamarts se obtienen como vistas parciales de estos datos, o consisten directamente en cubos de sistemas OLAP, como mencioné anteriormente relativamente pequeños y diseñados previamente bajo requerimientos específicos. En algunos casos en los que no interesa guardar los datos operativos, a veces el <em>datawarehouse</em> propiamente dicho no existe, y se encuentra formado virtualmente por el conjunto de <em>datamarts</em> que se utilizan y contienen la totalidad de la información distribuida entre ellos. La finalidad de esto es obtener un excelente rendimiento de los sistemas, basados en lograr la eficiencia desde el punto de vista de los recursos de hardware utilizados y rapidez de respuesta.</p>
<p>Un tema que a veces atenta contra esta eficiencia es la capacidad de análisis en los cubos por taladreo (<em>drilldown</em>), o sea obtener apertura en detalle de ciertos resultados. Para conseguir una navegación en profundidad rica, y no ralentizar los cubos con un exceso de detalle incorporado que puede atentar en los tiempos de respuesta; una técnica que da muy buenos resultados en productos de la línea de MS Sql Server es combinar las consultas en cubos con informes en <a title="SSRS 2008" href="http://msdn.microsoft.com/es-es/library/ms159106.aspx" target="_blank">Reporting Services</a>. Esto es que a partir de cierto nivel de detalle en las consultas a los cubos, los informes naveguen directamente a las bases de datos que alimentan los cubos para conseguir una apertura imposible de obtener de los agregados de los mismos. Para un usuario que esté utilizando el sistema de informes de Reporting Services es completamente transparente este salto, el que se produce naturalmente al enlazar un informe de jerarquía inferior con origen de consulta dirigido a las bases de datos, con las celdas de detalle de un informe alimentado con una consulta OLAP. El rendimiento se encuentra asegurado desde que el detalle del reporte de jerarquía inferior ya tiene un filtro inicial dado por los parámetros de navegación que limita el volumen de resultados a procesar.</p>
<p>Todo ello permite obtener resultados rápidos y simplicidad de uso por parte de los usuarios finales, facilitando su tarea primordial que es el análisis de datos para evaluar decisiones; en entornos de sistemas relativamente económicos con un balance de rendimiento optimizado.</p>
<p style="text-align:right;">(<em><a href="http://wp.me/pC9MF-5h" target="_self">tiny</a></em>)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Instalando o Reporting Services 2005 - Windows 7 e Vista]]></title>
<link>http://sqlfromhell.wordpress.com/2009/10/24/ssrs/</link>
<pubDate>Sat, 24 Oct 2009 22:34:59 +0000</pubDate>
<dc:creator>Paulo R. Pereira</dc:creator>
<guid>http://sqlfromhell.wordpress.com/2009/10/24/ssrs/</guid>
<description><![CDATA[Um dos principais problemas que encontro na instalação do SQL Server 2005 é a dependência do IIS par]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Um dos principais problemas que encontro na instalação do SQL Server 2005 é a dependência do IIS para instalação do SQL Server Reporting Services (SSRS), conhecido como serviço de relatórios do SQL Server.</p>
<p>Quando se trata de um servidor Windows Server 2003/2008 ou até mesmo um computador Windows Vista ou Seven, a simples instalação do IIS é somente um dos passos para permitir a instalação do SQL Server Reporting Services. Muitas vezes o pessoal de infra-estrutura opta por instalar o IIS completo para habilitar o SSRS ou por instalar o SQL Server 2005 sem o SSRS, assim nunca realizando de uma forma ideal.</p>
<p>Para instalação do SSRS 2005 estarei utilizando um Windows Seven, mas etapas são idênticas para o Windows Vista.</p>
<p><strong>Problema:</strong></p>
<p>Nos primeiros passos da instalação do SQL Server 2005, as seguintes mensagens estarão presentes, caso o IIS não esteja corretamente instalado e configurado para se integrar com o SSRS:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_1.jpg" alt="" /></p>
<p>Estas mensagens são alertas sobre as dificuldades de encontrar o serviço IIS e o suporte ao ASP.Net 2.0, levando à impossibilidade de instalar o SSRS 2005, visto que o SSRS é uma aplicação web (ASP.Net) dependente do serviço de webserver (IIS) do Windows.</p>
<p>Em seguida, também se deparará com a opção do “Reporting Services” desabilitada:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_2.jpg" alt="" /></p>
<p><strong>Solução:</strong></p>
<p>Para adequar o Windows ao SSRS, utilizaremos no Painel de Controle a opção “Programas”:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_3.jpg" alt="" /></p>
<p>Nesta opção há uma sub-opção de &#8220;habilitar ou desabilitar funcionalidades do Windows&#8221; (Turn Windows features on or off).</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_4.jpg" alt="" /></p>
<p>Nesta sub-opção haverá várias funcionalidades do sistema operacional para habilitar ou desabilitar, mas as que utilizaremos serão as funcionalidades relacionadas ao Internet Information Services (IIS).</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_5.jpg" alt="" /></p>
<p>Expandindo o IIS, IIS 6 Management Compatibility (Compatibilidade de gerenciamento do IIS 6), habilitemos as opções “compatibilidade WMI do IIS 6” e “IIS Metabase e compatibilidade com configuração do IIS 6”.</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_6.jpg" alt="" /></p>
<p>Uma das funcionalidades opcionais, que podem ser úteis para realizar a manutenção do IIS, é o “console de gerenciamento do IIS”, que também poderá ser habilitada:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_7.jpg" alt="" /></p>
<p>Esta ferramenta de gerenciamento IIS poderá ser acessada pelo caminho:</p>
<p><strong>%windir%\system32\inetsrv\InetMgr.exe </strong></p>
<p>Após habilitadas as configurações do IIS, será necessário habilitar as funcionalidades “.Net Extensibility”, “ASP.NET”, “ISAPI Extensions” e “ISAPI Filters”, conforme abaixo:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_8.jpg" alt="" /></p>
<p>E algumas (quase todas) configurações relacionadas às HTTP Features:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_9.jpg" alt="" /></p>
<p>Por fim, habilitemos a funcionalidade de Seguraça de Windows Authentication:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_10.jpg" alt="" /></p>
<p>E só resta aplicar as alterações. Recomendo realizar o restart do Windows após serem aplicadas destas alterações.</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_11.jpg" alt="" /></p>
<p>Agora na instalação do SQL Server 2005 não haverá mais alertas sobre o ASP.Net e o IIS.</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_12.jpg" alt="" /></p>
<p>Assim como será permitida a instalação do Reporting Services:</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_13.jpg" alt="" /></p>
<p>Mais uma consideração sobre a instalação é a possibilidade de instalar o SRSS 2005 sem a dependência do SQL Server Database Services, permitindo configurar o SSRS integrado a outro servidor (após a instalação do serviço &#8216;não configurado&#8217;), uma ótima solução para ambientes onde o servidor de aplicações web ou relatórios utiliza de um hardware exclusivo para tal funcionalidade.</p>
<p><img src="http://sqlfromhell.wordpress.com/files/2009/09/ssrs2005_14.jpg" alt="" /> </p>
<p>Espero que este artigo auxilie na instalação do SSRS! Mas se tiverem alguma dúvida ou comentários relacionados, fiquem a vontade em comentar!</p>
<p>Como a minha VM do Windows Server 2008 não quis ajudar, vou demorar ainda um pouco para escrever sobre a instalação do SSRS 2005 em um servidor.</p>
<p><strong>Artigos relacionados:</strong></p>
<p><a href="http://sqlfromhell.wordpress.com/2009/11/09/ssrs/" target="_blank">Instalando o SQL Server Reporting Server (Windows XP, 2003 e 2003 R2)</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SQL Server Reporting Services Disaster Recovery Case Study]]></title>
<link>http://dennyglee.com/2009/10/23/sql-server-reporting-services-disaster-recovery-case-study/</link>
<pubDate>Fri, 23 Oct 2009 13:56:56 +0000</pubDate>
<dc:creator>dennyglee</dc:creator>
<guid>http://dennyglee.com/2009/10/23/sql-server-reporting-services-disaster-recovery-case-study/</guid>
<description><![CDATA[There are many ways to perform disaster recovery with Microsoft SQL Server Reporting Services (SSRS)]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>There are many ways to perform disaster recovery with Microsoft SQL Server  Reporting Services (SSRS). Based upon customer experience and internal testing,  this technical note provides guidance around best practices to design and manage  robust end-to-end disaster recovery (DR). This DR method will involve both  automatic and manual failover in the form of content switches, SQL Server  failover clustering, and database mirroring. This case study focuses on the  lessons learned from CareGroup Healthcare System.</p>
<p>.</p>
<p>To read more, please go to <a href="http://sqlcat.com/technicalnotes/archive/2009/10/23/sql-server-reporting-services-disaster-recovery-case-study.aspx">SQL Server Reporting Services Disaster Recovery Case Study</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SQL Saturday #21 Orlando Presentation Materials]]></title>
<link>http://webbtechsolutions.com/2009/10/19/sql-saturday-21-orlando-presentation-materials/</link>
<pubDate>Mon, 19 Oct 2009 16:57:48 +0000</pubDate>
<dc:creator>Joe</dc:creator>
<guid>http://webbtechsolutions.com/2009/10/19/sql-saturday-21-orlando-presentation-materials/</guid>
<description><![CDATA[I&#8217;m back in the office now after having a great time in Orlando this past weekend for SQLSatur]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;m back in the office now after having a great time in Orlando this past weekend for SQLSaturday #21 in sunny Orlando, Florida! Andy Warren (<a href="http://twitter.com/sqlandy" target="_blank">twitter</a>), Jack Corbett (<a href="http://twitter.com/unclebiguns" target="_blank">twitter</a>) and everyone else who had a hand in putting it together did a great job. Their hard work definitely paid off.</p>
<p>The technical content at these kind of events is great! An excellent job was done by all of the speakers that I saw.</p>
<p>But for me the best part of the event is getting to catch up with friends that I only get to see a couple of times a year, meeting Twitter-friends for the first time, and walking around talking with other SQL Server enthusiasts.</p>
<p>With this event, I enjoyed meeting <span class="fn">Twitter-friends Jorge Segarra (<a href="http://twitter.com/sqlchicken" target="_blank">twitter</a>), Kendal Van Dyke (<a href="http://twitter.com/sqldba" target="_blank">twitter</a>), and Pam Shaw (<a href="http://twitter.com/pamshaw" target="_blank">twitter</a>), among others for the first time. It was also good to catch up again with Andy Leonard (<a href="http://twitter.com/andyleonard" target="_blank">twitter</a>), Buck Woody (<a href="http://twitter.com/buckwoody" target="_blank">twitter</a>), Kevin Kline (<a href="http://twitter.com/kekline" target="_blank">twitter</a>), </span><span class="fn">Jonathan Kehayias (<a href="http://twitter.com/sqlsarg" target="_blank">twitter</a>), </span><span class="fn">and so many others. I know I&#8217;m leaving many people out, but not intentionally. It&#8217;s just that there is so many people to talk with during the event.</span></p>
<p>Anyway, as promised in my sessions, here are the materials I used. I hope you find them useful and thanks for coming!</p>
<ul>
<li>SQL Server Locking &#38; Blocking Made Simple (<a href="http://joedba.wordpress.com/files/2009/10/jw_locking_blocking_made_simple.pdf">presentation</a>)</li>
<li>Creating Data-Driven Subscriptions in Reporting Services (<a href="http://joedba.wordpress.com/files/2009/10/jw_data_driven_subscriptions.pdf">presentation</a>)</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[T-SQL SUM is giving null result but 0 expected]]></title>
<link>http://stefanscheller.wordpress.com/2009/10/16/t-sql-sum-is-giving-null-result-but-0-expected/</link>
<pubDate>Fri, 16 Oct 2009 18:24:26 +0000</pubDate>
<dc:creator>Stefan Scheller</dc:creator>
<guid>http://stefanscheller.wordpress.com/2009/10/16/t-sql-sum-is-giving-null-result-but-0-expected/</guid>
<description><![CDATA[This is a personal reminder that we can easily write SELECT isnull(sum(columnToCalculate), 0) FROM]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is a personal reminder that we can easily write</p>
<p>SELECT</p>
<p>isnull(sum(columnToCalculate), 0)</p>
<p>FROM&#8230;</p>
<p>to get the number zero instead of nothing.<br />This tactic reduces code in the layers above.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[]]></title>
<link>http://centavin.wordpress.com/2009/10/15/37/</link>
<pubDate>Thu, 15 Oct 2009 22:24:28 +0000</pubDate>
<dc:creator>centavin</dc:creator>
<guid>http://centavin.wordpress.com/2009/10/15/37/</guid>
<description><![CDATA[Hola muy pronto encontraras información  de las categorías expuestas en este blog  , espero sea de t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="line-height:14.25pt;"><span style="font-family:Georgia,serif;font-size:10pt;">Hola muy pronto encontraras información  de las categorías expuestas en este blog  , espero sea de tu agrado.</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SQL Server Reporting Services parameters, path and default values]]></title>
<link>http://kapgemini.wordpress.com/2009/10/14/sql-server-reporting-services-parameters-path-and-default-values/</link>
<pubDate>Wed, 14 Oct 2009 18:34:10 +0000</pubDate>
<dc:creator>Kapil</dc:creator>
<guid>http://kapgemini.wordpress.com/2009/10/14/sql-server-reporting-services-parameters-path-and-default-values/</guid>
<description><![CDATA[SQL Server Reporting Services stores a lot of metadata about the reports in a rich set of tables in ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>SQL Server Reporting Services stores a lot of metadata about the reports in a rich set of tables in the ReportServer database. For this solution, we will take advantage of the dbo.Catalog table where the report characteristics are stored in a column named Content. The data is in XML format, but it is stored as image data type.</p>
<p><code><br />
--Find all the reports, and thier parameters and thier default values<br />
;WITH XMLNAMESPACES (<br />
DEFAULT 'http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition',<br />
'http://schemas.microsoft.com/SQLServer/reporting/reportdesigner' AS rd --ReportDefinition<br />
)<br />
SELECT<br />
   NAME<br />
   , PATH<br />
   , x.value ('@Name', 'VARCHAR(100)') AS ReportParameterName<br />
   , x.value ('DataType[1]', 'VARCHAR(100)') AS DataType<br />
   , x.value ('AllowBlank[1]', 'VARCHAR(50)') AS AllowBlank<br />
   , x.value ('Prompt[1]', 'VARCHAR(100)') AS Prompt<br />
   , x.value ('Hidden[1]', 'VARCHAR(100)') AS Hidden<br />
   , x.value ('data(DefaultValue/Values/Value)[1]', 'VARCHAR(100)') AS Value<br />
FROM (<br />
   SELECT  PATH<br />
           , NAME<br />
           , CAST(CAST(content AS VARBINARY(MAX)) AS XML) AS ReportXML<br />
   FROM ReportServer.dbo.Catalog<br />
   WHERE CONTENT IS NOT NULL AND TYPE = 2<br />
   ) A<br />
CROSS APPLY ReportXML.nodes('/Report/ReportParameters/ReportParameter') R(x)<br />
--WHERE NAME = 'Sales_Report'<br />
--Use the where clause above to look for a specific report<br />
ORDER BY NAME<br />
</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[10 Common SSRS Challenges]]></title>
<link>http://rduclos.wordpress.com/2009/10/14/10-common-ssrs-challenges/</link>
<pubDate>Wed, 14 Oct 2009 14:30:19 +0000</pubDate>
<dc:creator>rduclos</dc:creator>
<guid>http://rduclos.wordpress.com/2009/10/14/10-common-ssrs-challenges/</guid>
<description><![CDATA[Check out my Article on Simple-Talk.com: http://www.simple-talk.com/sql/reporting-services/ten-commo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Check out my Article on Simple-Talk.com: <a href="http://www.simple-talk.com/sql/reporting-services/ten-common-sql-server-reporting-services-challenges-and-solutions/">http://www.simple-talk.com/sql/reporting-services/ten-common-sql-server-reporting-services-challenges-and-solutions/</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Localization in Reporting services]]></title>
<link>http://letslearnsqlserver.wordpress.com/2009/10/12/localization-in-reporting-services/</link>
<pubDate>Mon, 12 Oct 2009 12:38:24 +0000</pubDate>
<dc:creator>ghiath09</dc:creator>
<guid>http://letslearnsqlserver.wordpress.com/2009/10/12/localization-in-reporting-services/</guid>
<description><![CDATA[Reporting services does not support resource files that can be used for localization. Check this on:]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Reporting services does not support resource files that can be used for localization. Check this on: <a title="http://www.codeproject.com/useritems/RDLC_Localization.asp" href="http://www.codeproject.com/useritems/RDLC_Localization.asp" target="_blank">http://www.codeproject.com/useritems/RDLC_Localization.asp</a> and <a title="http://www.codeproject.com/useritems/RDLC_Localization.asp" href="http://www.codeproject.com/useritems/RDLC_Localization.asp" target="_blank">http://www.codeproject.com/useritems/RDLC_Localization.asp</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TF30225: Error uploading report : Work Item with Tasks]]></title>
<link>http://pedrosodemoraes.wordpress.com/2009/10/07/tf30225-error-uploading-report-work-item-with-tasks/</link>
<pubDate>Wed, 07 Oct 2009 20:12:54 +0000</pubDate>
<dc:creator>pedrosodemoraes</dc:creator>
<guid>http://pedrosodemoraes.wordpress.com/2009/10/07/tf30225-error-uploading-report-work-item-with-tasks/</guid>
<description><![CDATA[Um problema do TFS com o qual me deparei hoje. O usuário com todas as permissões setadas pelo TFS Ad]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Um problema do TFS com o qual me deparei hoje.</p>
<p>O usuário com todas as permissões setadas pelo TFS Administration Tool (<a title="TFS Administration Tool" href="http://tfsadmin.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24283" target="_blank">http://tfsadmin.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24283</a>) não conseguia criar um novo team project.</p>
<p>Para resolver isso, tivemos que acessar o report server em http://localhost/reports e na configuração do TFSReportsDS e TFSOLAPReportsDS configurar o connection setting.</p>
<p>Usamos a configuração &#8220;Credentials stored securely in the report server&#8221;. Feita essa configuração o usuário voltou a criar os Team Projects normalmente.</p>
<p>Maiores informações nesse <a title="MSDN" href="http://social.msdn.microsoft.com/forums/en-US/tfsreporting/thread/ec27e3de-1df6-4ed2-8296-9e42f10f8488/" target="_blank">link</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Alternating Background Colors in Reporting Services]]></title>
<link>http://webbtechsolutions.com/2009/10/06/alternating-background-colors-in-reporting-services/</link>
<pubDate>Tue, 06 Oct 2009 15:09:00 +0000</pubDate>
<dc:creator>Joe</dc:creator>
<guid>http://webbtechsolutions.com/2009/10/06/alternating-background-colors-in-reporting-services/</guid>
<description><![CDATA[In most Microsoft SQL Server Reporting Services (SSRS) implementations, there are dozens, if not hun]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><a href="http://www.flickr.com/photos/alstonfamily/2238851942/" target="_blank"><img class="aligncenter" style="border:0 none;max-width:800px;" src="http://joedba.files.wordpress.com/2009/10/hard_to_read_report.jpg?w=500&#038;h=372" alt="" width="500" height="372" /></a></p>
<p>In most Microsoft SQL Server Reporting Services (SSRS) implementations, there are dozens, if not hundreds, of reports available for viewing. These reports provide glimpses into the sea of data that the organization collects. From these reports hopefully trends can be discovered and better decisions can be made. At least that&#8217;s the goal.</p>
<h3>Don&#8217;t neglect presentation</h3>
<p>There are many attributes of a good report. Broadly speaking the report must be based on accurate data, it must be delivered in a timely fashion, and it must be presented in a way that is easily consumed and interpreted by the users.</p>
<p>Unfortunately, many report developers focus exclusively on the first two elements &#8211; making sure the data is right and that the report doesn&#8217;t take too long to run. Those are important, of course, even essential. But often the presentation of the report is relegated to an afterthought. Data is slathered on a report form for the user to do with what he pleases.</p>
<h3>Using alternating background colors</h3>
<p>The topic of report presentation best practices is a broad one, far too broad to cover in just one post. Perhaps, I&#8217;ll tackle some of these issues in a series of posts in the coming months. In the meantime, there are minor and easily implemented improvements that can be added to reports that will make them immensely more readable.</p>
<p>For example, consider a report based on a table data region with row after row of information. Let&#8217;s say it&#8217;s an employee phone list report as shown below.</p>
<p><img style="border:0 none;max-width:800px;" src="http://joedba.files.wordpress.com/2009/10/ssrs_alternating_bgcolor2-2008-08-19_thumb.jpg?w=447&#038;h=237" alt="" width="447" height="237" /></p>
<p>To make the report a little easier to read horizontally, we&#8217;d like to change the background color of every other row. To do so, let&#8217;s highlight the detail row of the data table in the layout tab.</p>
<p><img style="border:0 none;max-width:800px;" src="http://joedba.files.wordpress.com/2009/10/ssrs_alternating_bgcolor3-2008-08-19_thumb.jpg?w=447&#038;h=145" alt="" width="447" height="145" /></p>
<p>In the properties window, find the BackgroundColor property for the highlighted row and choose &#60;Expression&#8230;&#62;. Add the following conditional formatting statement in the Edit Expression window.</p>
<p><img style="border:0 none;max-width:800px;" src="http://joedba.files.wordpress.com/2009/10/ssrs_alternating_bgcolor4-2008-08-19_thumb.jpg?w=357&#038;h=281" alt="" width="357" height="281" /></p>
<p>Click Ok, and preview the report.</p>
<p><img style="border:0 none;max-width:800px;" src="http://joedba.files.wordpress.com/2009/10/ssrs_alternating_bgcolor1-2008-08-19_thumb.jpg?w=447&#038;h=239" alt="" width="447" height="239" /></p>
<p>And there you go, a report that alternates the background color for each row. This makes it much easier to read.</p>
<p>But a word of caution: give some consideration to what the users will do with this report. If it&#8217;s likely to be printed, the alternating background color will consume additional toner or ink making the report more expense to print. In that case, consider using a single underline between each row.</p>
<p>What tips do you have for make reports easier to read?</p>
<p>Joe</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Integración de SQL Server Reporting Services con Sharepoint Server 2007]]></title>
<link>http://hduddt.wordpress.com/2009/10/01/integracion-de-sql-server-reporting-services-con-sharepoint-server-2007/</link>
<pubDate>Thu, 01 Oct 2009 15:00:47 +0000</pubDate>
<dc:creator>Daniel Hompanera</dc:creator>
<guid>http://hduddt.wordpress.com/2009/10/01/integracion-de-sql-server-reporting-services-con-sharepoint-server-2007/</guid>
<description><![CDATA[Comenzamos nuestra andadura en este blog con una historia que me ha valido algún que otro quebradero]]></description>
<content:encoded><![CDATA[Comenzamos nuestra andadura en este blog con una historia que me ha valido algún que otro quebradero]]></content:encoded>
</item>
<item>
<title><![CDATA[Reporting Services resources]]></title>
<link>http://webbtechsolutions.com/2009/09/29/reporting-services-resources/</link>
<pubDate>Tue, 29 Sep 2009 12:38:38 +0000</pubDate>
<dc:creator>Joe</dc:creator>
<guid>http://webbtechsolutions.com/2009/09/29/reporting-services-resources/</guid>
<description><![CDATA[Thanks to everyone who attended my SQL Server Reporting Services class in Nashville over the last co]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><a href="http://www.flickr.com/photos/30691679@N07/2910519025/" target="_blank"><img class="aligncenter size-full wp-image-399" style="border:0 none;" title="binoculars-2009-09-28" src="http://joedba.wordpress.com/files/2009/09/binoculars-2009-09-28.jpg" alt="binoculars-2009-09-28" width="400" height="268" /></a></p>
<p>Thanks to everyone who attended my SQL Server Reporting Services class in Nashville over the last couple of weeks. As promised, here is a list of online resources that may prove useful to you as you continue to work with Reporting Services.</p>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/ms170246.aspx">Reporting Services Tutorials</a></li>
<li><a href="http://www.codeplex.com/MSFTRSProdSamples">Reporting Services Samples on Codeplex</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/ms159162.aspx">Reporting Services Developer Info Center</a></li>
<li><a href="http://www.simple-talk.com/sql/learn-sql-server/beginning-sql-server-2005-reporting-services-part-1/">Beginning SQL Server 2005 Reporting Services Simple-Talk article series by Steve Joubert</a></li>
<li><a href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=82&#38;SiteID=1">Microsoft MSDN Reporting Services Forum</a></li>
<li><a href="http://technet.microsoft.com/en-us/sqlserver/bb331776.aspx">TechNet SQL Server TechCenter</a></li>
<li><a href="http://www.msbicentral.com/">MSBI Central</a></li>
</ul>
<p>Additionally, the following links, though not wholly dedicated to Reporting Services, frequently have good Reporting Services articles and content.</p>
<ul>
<li><a href="http://www.sqlpass.org/">Professional Association for SQL Server</a></li>
<li><a href="http://www.sqlblog.com/">SQL Blog</a></li>
<li><a href="http://www.sqlservercentral.com/">SQL Server Central</a></li>
<li><a href="http://www.sql-server-performance.com/">SQL Server Performance</a></li>
<li><a href="http://forums.microsoft.com/msdn/default.aspx?ForumGroupID=19&#38;SiteID=1">Microsoft MSDN SQL Server Forums</a></li>
<li><a href="http://www.sqldownunder.com/">SQL Down Under</a></li>
<li><a href="http://www.sqlteam.com/">SQLTeam</a></li>
</ul>
<p>And finally, the following book has been well received by its readers according to Amazon.</p>
<ul>
<li><a href="http://www.amazon.com/Microsoft-Server-2005-Reporting-Services/dp/0072262397/ref=pd_bbs_sr_1?ie=UTF8&#38;s=books&#38;qid=1216850255&#38;sr=1-1">Microsoft SQL Server 2005 Reporting Services 2005 by Brian Larson</a></li>
</ul>
<p>This list is far from comprehensive. So if you have some links that you&#8217;ve found worthwhile, please share them in the comments below.</p>
<p><span style="text-decoration:underline;"><em><strong>Update:</strong></em></span><em> After I published this list, I was reminded of another great Reporting Services resource entitled <a href="http://www.ssw.com.au/ssw/Standards/Rules/RulesToBetterSQLReportingServices.aspx" target="_blank">Rules to Better SQL Reporting Services.</a> It discusses some best practices for report design to give your users a better experience. It&#8217;s definitely worth the read. </em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Interacticely sorting columns in SQL Server 2005 Reporting Services]]></title>
<link>http://webbtechsolutions.com/2009/09/17/interacticely-sorting-columns-in-sql-server-2005-reporting-services/</link>
<pubDate>Thu, 17 Sep 2009 11:35:40 +0000</pubDate>
<dc:creator>Joe</dc:creator>
<guid>http://webbtechsolutions.com/2009/09/17/interacticely-sorting-columns-in-sql-server-2005-reporting-services/</guid>
<description><![CDATA[Business Intelligence Developers Studio (aka BIDS) for Microsoft SQL Server 2005 Reporting Services ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:left;">Business Intelligence Developers Studio (aka BIDS) for Microsoft SQL Server 2005 Reporting Services makes creating engaging and dynamic reports nearly trivial in some respects. You can easily create drill-down and drill-through reports with just a few mouse clicks.</p>
<p style="text-align:left;">A drill-down report allows your users to see more or less detail information by clicking on a row of data and having the report expand or collapse supporting detail rows. Drill-through reports take the user from one report to another supporting report via a mouse click. For example, by clicking on a Product Number in a Sales Order, the user will be taken to the Product Information report for that product.</p>
<h3 style="text-align:left;">Interactive Sorting</h3>
<p style="text-align:left;">You can also create reports that provide interactive sorting. On a report that uses a table data region, users can click on a column heading and have the report auto-magically sort by that column. Let&#8217;s walk through a graphical example to demonstrate.  Here&#8217;s an example of a Contact Phone List report created in BIDS. It lists contacts from the sample Adventureworks database using a table data region.</p>
<p style="text-align:left;"><img class="aligncenter" src="http://joedba.files.wordpress.com/2009/09/interactivesort1-2008-07-25_thumb.jpg?w=391&#038;h=246" alt="" width="391" height="246" /></p>
<p style="text-align:left;">We want to allow users to sort the list by the First Name or the Last Name column. In the Layout view, click the table First Name header cell to select it, then right click to open a context-sensitive menu, and choose Properties as shown in the following illustration.</p>
<p style="text-align:left;"><img class="aligncenter" src="http://joedba.files.wordpress.com/2009/09/interactivesort2-2008-07-25_thumb.jpg?w=342&#038;h=246" alt="" width="342" height="246" /></p>
<p style="text-align:left;">
<p style="text-align:left;">This opens the Textbox Properties window as shown below. Notice the 6th tab is called Interactive Sort. Check the &#8220;Add an interactive sort action to this textbox&#8221; option. Then click the down arrow in the Sort Expression combobox. Choose the field on which you like to sort when the user clicks this textbox. In our case this this Fields!FirstName.Value expression.</p>
<p style="text-align:left;"><img class="aligncenter" src="http://joedba.files.wordpress.com/2009/09/interactivesort3-2008-07-25_thumb.jpg?w=313&#038;h=281" alt="" width="313" height="281" /></p>
<p style="text-align:left;">Repeat this process for each of the columns in the table data region that your users may want to sort by. In this example, I&#8217;ll enable interactive sorting all three columns, however in practice there&#8217;s probably little reason someone would want to sort by the Phone column.  Once completed, preview the report. The report is still sorted in the default order. But you&#8217;ll notice the little arrows beside each column header.</p>
<p style="text-align:left;"><img class="aligncenter" src="http://joedba.files.wordpress.com/2009/09/interactivesort4-2008-07-25_thumb.jpg?w=313&#038;h=246" alt="" width="313" height="246" /></p>
<p style="text-align:left;">By clicking on the little arrow beside the column header text, our users can change the sort order of the report. Clicking the same arrow for a second time reverses the sort order.</p>
<p style="text-align:left;"><img class="aligncenter" src="http://joedba.files.wordpress.com/2009/09/interactivesort5-2008-07-25_thumb.jpg?w=340&#038;h=246" alt="" width="340" height="246" /></p>
<p style="text-align:left;">And there you have it. With only a few mouse clicks, we&#8217;ve enriched the experience our users have while viewing this report. Of course, this technique only works when the report is rendered in formats that support interactivity. When being viewed as a TIFF, for example, the user will not be able alter its presentation.</p>
<p style="text-align:left;">Got other techniques for providing a greater level of interactivity in your reports? I&#8217;d love to hear about them so feel free to share in the comments section below.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Hack Reporting Services 2005 y la división por cero]]></title>
<link>http://datapayasadas.wordpress.com/2009/09/15/hack-reporting-services-2005-y-la-division-por-cero/</link>
<pubDate>Tue, 15 Sep 2009 12:14:15 +0000</pubDate>
<dc:creator>pabloide86</dc:creator>
<guid>http://datapayasadas.wordpress.com/2009/09/15/hack-reporting-services-2005-y-la-division-por-cero/</guid>
<description><![CDATA[Buenas amigos&#8230; me he encontrado con este problemita de la división por cero en Reporting Servi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Buenas amigos&#8230; me he encontrado con este problemita de la división por cero en Reporting Services 2005.</p>
<p>Lo primero que pensé fue en hacer algo como esto:</p>
<pre class="brush: sql;">=IIF(Fields!Numerador.Value &#60;&#62; 0, (Fields!Numerador.Value) / (Fields!Denominador.Value), 0)</pre>
<p>Pero resulta que el IIF <strong>siempre</strong> ejecuta tanto la expresión de la parte verdadera como la expresión de la parte falsa y por eso siempre va a devolver #Error.</p>
<p>Ahora bien, una pequeña chanchada que podemos hacer para evitar ésto es:</p>
<pre class="brush: sql;">=IIF(Fields!Numerador.Value &#60;&#62;  0, (Fields!Numerador.Value) / (IIF(Fields!Denominador.Value &#60;&#62; 0, Fields!Denominador.Value  0, 1), 0)</pre>
<p>Qué fue lo que hicimos? Simplemente engañamos al IIF cuando el denominador es 0. Cuando eso ocurre de todas formas el primer IIF va a devolver 0 pero ya la expresion (Fields!Numerador.Value) / (Fields!Denominador.Value) no va a dar #Error ya que estaríamos dividiendo por 1 y no por 0.</p>
<p>No es lo mejor ni lo mas óptimo, pero remitiendome a las palabras de mi amigo Carlos A.:<br />
&#8220;Primero que funcione, despues que funcione bien, y por último que funcione como uno quiere.&#8221;</p>
<p>Salutes!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Parámetros Multivalor con Reporting Services 2005 y ASP.NET ReportViewer]]></title>
<link>http://datapayasadas.wordpress.com/2009/09/11/parametros-multivalor-con-reporting-services-2005-y-asp-net-reportviewer/</link>
<pubDate>Fri, 11 Sep 2009 18:21:53 +0000</pubDate>
<dc:creator>pabloide86</dc:creator>
<guid>http://datapayasadas.wordpress.com/2009/09/11/parametros-multivalor-con-reporting-services-2005-y-asp-net-reportviewer/</guid>
<description><![CDATA[Buenasss como les va? Esta vez me trae por aquí este tema de los reportes. Resulta que me han pedido]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Buenasss como les va? Esta vez me trae por aquí este tema de los reportes. Resulta que me han pedido que haga un reporte donde pueda filtrar los valores a mostrar en el reporte pero desde el Report Viewer en una página Aspx&#8230;</p>
<p>Empecemos por el reporte. Supongamos que tenemos un reporte que debe mostrar un listado de proyectos y quiero elegir cuales mostrar y cuales no. </p>
<p><!--more--></p>
<p>El reporte es bastante sencillo de hacer:</p>
<li>Crear un DataSource para conectarse a la base de datos</li>
<li>Crear un DataSet con una consulta que tenga la siguiente forma:</li>
<pre class="brush: sql;">
SELECT ID, Nombre, Descripcion FROM Proyectos WHERE ID IN(@IdProyectos)
</pre>
<p>@IdProyectos es un parámetro del reporte que admite múltiples valores.</p>
<p>Finalmente le damos el estilo visual al reporte, agregando una tabla con los campos del DataSet.</p>
<p>Hasta aquí es bastante sencillo.</p>
<p>Luego, en nuestra página ASPX agregamos un ListBox, un botón (para cargar el reporte) y el ReportViewer.</p>
<p>Luego, para pasarle los valores al reporte:</p>
<pre class="brush: csharp;">

BindingList parametrosReporte = new BindingList();&lt;/code&gt;

ReportParameter idProyectos = new ReportParameter(&quot;IdProyectos&quot;);

for (int i = 0; i &lt; listProyectos.Items.Count; i++)
{
        idProyectos.Values.Add(listProyectos.Items[i].Value;
}

parametrosReporte.Add(idProyectos);
</pre>
<p>Con esto creamos un parámetro de reporte y lo agregamos a la colección. Luego tenemos que asignar estos parámetros al ReportViewer que insertamos en la página. Para ello podemos usar el siguiente código:</p>
<pre class="brush: csharp;">
try
{
        ReportViewer1.ServerReport.SetParameters(parametrosReporte);
}
catch
{
        //Manejamos la excepción
}
</pre>
<p>Y listo. Espero que les sea de utilidad!!!</p>
<p>Saludos</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
