<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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/"><channel><title>Random Thoughts on Technology</title><link>http://blogs.msdn.com/emilianb/default.aspx</link><description>Emi Baragan's (mostly) technical blog</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Using DelegConfig version 2.0 (beta) tool for troubleshooting Kerberos Delegation issues </title><link>http://blogs.msdn.com/emilianb/archive/2009/12/28/using-delegconfig-version-2-0-beta-tool-for-troubleshooting-kerberos-delegation-issues.aspx</link><pubDate>Mon, 28 Dec 2009 13:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9941581</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9941581.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9941581</wfw:commentRss><description>&amp;nbsp; 
&lt;P&gt;In april 2009, I posted an &lt;A href="http://blogs.msdn.com/emilianb/archive/2009/04/16/using-delegconfig-tool-for-troubleshooting-kerberos-delegation-issues.aspx"&gt;article&lt;/A&gt; on using &lt;A href="http://blogs.iis.net/brian-murphy-booth/default.aspx"&gt;Brian Murphy Booth's&lt;/A&gt; &lt;A href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1887"&gt;DelegConfig&lt;/A&gt; tool for troubleshooting Kerberos delegation issues.&lt;/P&gt;
&lt;P&gt;Today I'll talk a bit about the version 2.0 of the tool which brings some cool new features and also supports IIS 7.0.&lt;/P&gt;
&lt;P&gt;A full list of new features and changes can be found here: &lt;A href="http://blogs.iis.net/brian-murphy-booth/archive/2009/04/22/delegconfig-v2-beta.aspx"&gt;http://blogs.iis.net/brian-murphy-booth/archive/2009/04/22/delegconfig-v2-beta.aspx&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;However, I will concentrate on the coolest new feature - The Wizard.&lt;/P&gt;
&lt;P&gt;The version 2 of the tool is set up in the same way the previous version was, which is basically configuring it as an ASP.NET Application in your IIS Server (Steps 1 - 5 from my &lt;A href="http://blogs.msdn.com/emilianb/archive/2009/04/16/using-delegconfig-tool-for-troubleshooting-kerberos-delegation-issues.aspx"&gt;previous post&lt;/A&gt; still apply). &lt;/P&gt;
&lt;P&gt;The difference is that now, using the wizard, you can analyze a front-end other than the HTTP application which ran under the same application pool as DelegConfig. For the other nodes/hops, you can follow the wizard all the way to the backend, specifying for each step the type of service, port, identity to receive in the end a nice report displaying all the recommendations but also the option to fix a few of the detected issues - SPNs, Trust for Delegation.&lt;/P&gt;
&lt;P&gt;So, on the main page you will have links to: Wizard, SetSPN page that allows you to add or remove SPNs, SetDelegation page that allows you to modify the Delegation parameters in AD for an account, Tests page which allows you to do a quick test of authentication in a double hop scenario to a SQL Server, File Server or Web Server.&lt;/P&gt;
&lt;P&gt;Accessing the Wizard, will get you started with the wizard. &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;1. After clicking NEXT on the first page, you will be asked if the current application pool, the application pool under which we configured DelegConfig, represents our front-end. I will assume my front-end is actually on another machine, using a different account, so I will choose just Next without clicking the Yes Button (see below).&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 704px; HEIGHT: 278px" src="http://blogs.msdn.com/photos/emilianb/images/9941573/original.aspx" width=704 height=278 mce_src="http://blogs.msdn.com/photos/emilianb/images/9941573/original.aspx"&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;2. Service Type of Front-End page&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;This page allows me to configure the type of service for my front-end. I will assume for this example, an HTTP application.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG style="WIDTH: 566px; HEIGHT: 264px" src="http://blogs.msdn.com/photos/emilianb/images/9941574/original.aspx" width=566 height=264 mce_src="http://blogs.msdn.com/photos/emilianb/images/9941574/original.aspx"&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;3. Host Name&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;On this page we will configure the name used for accessing the service. If my http application would be configured with Host Headers so that the URL for the application would differ from the NetBIOS name, I would of course specify the HOST Header value. If my application would be published on &lt;A href="http://contoso.internal.com/Front-End"&gt;http://contoso.internal.com/Front-End&lt;/A&gt; , the host name I would specify would be:Contoso.internal.com&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;4. Load Balanced.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;This is a new feature allowing us check for configuration of Load Ballanced or Clustered services&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;5. Kernel Mode&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;If the service I'm adding currently is an HTTP class service, this page allows me to tell the wizard if I'm using the new IIS 7.0 feature called Kernel Mode Authentication (for more information: &lt;A href="http://blogs.msdn.com/sudeepg/archive/2009/02/08/iis-7-kernel-mode-authentication.aspx"&gt;http://blogs.msdn.com/sudeepg/archive/2009/02/08/iis-7-kernel-mode-authentication.aspx&lt;/A&gt; ). &lt;/P&gt;
&lt;P&gt;For this example I will assume I'm not using IIS 7 or Kernel Authentication.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;6. Port Number or Instance Name&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;This page allows me to&amp;nbsp; configure the port used by my service or the instance name.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;7. Service Account Name&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;This is the identity of my service. The SPNs would have to exist under this account and if this service needs to delegate credentials further to another service, this account would also have to be trusted for delegation. If the identity is NETWORK SERVICE, LOCAL SYSTEM, LOCAL SERVICE, the wizard will check the host computer's machine account in Active Directory. &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;8. Trust for Delegation&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;This is the step where we tell the wizard if this is the last service in the chain or not. If this service needs to pass credentials further, we would respond "Yes" to the question: "Does the HTTP service running on emilianb07 need to delegate ("pass") credentials to another server?"&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG style="WIDTH: 729px; HEIGHT: 304px" src="http://blogs.msdn.com/photos/emilianb/images/9941575/original.aspx" width=729 height=304 mce_src="http://blogs.msdn.com/photos/emilianb/images/9941575/original.aspx"&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;9. Delegation Type&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;If we use constrained delegation, we will select "Trust this account for delegation to specified services only", otherwise we select "Trust this account for delegation to any service (Kerberos only)"&lt;/P&gt;
&lt;P mce_keep="true"&gt;What will happen now is that we will go through each step up to the 8&lt;SUP&gt;th&lt;/SUP&gt;, to configure the 2-nd tier service. At the 8&lt;SUP&gt;th&lt;/SUP&gt; Step we will be asked again if the service needs to delegate credentials further. If we answer yes, we will configure yet another service, with the same information - type, host, port, identity, etc.&amp;nbsp; This repeats until we choose "No" at the step 8. &lt;/P&gt;
&lt;P&gt;When this happens, the Next button will become "Finished" and when we click it, we will get our report.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG style="WIDTH: 1128px; HEIGHT: 855px" src="http://blogs.msdn.com/photos/emilianb/images/9941578/original.aspx" width=1128 height=855 mce_src="http://blogs.msdn.com/photos/emilianb/images/9941578/original.aspx"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;The report will have a section for each node/hop, where we will get answers to the following questions:&lt;/P&gt;
&lt;P&gt;"Is Domain Account?", "Has valid SPN?", "Has duplicate SPN?", "Trusted for Delegation?". If duplicate or missing SPNs are found we have the possibility to fix this by clicking on the "Fix this for me." button which will take us to the SetSPN.aspx page. The page will already have filled the suggested SPNs to be added so all we need to have is an account with enough privileges on AD to do the change. &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG style="WIDTH: 574px; HEIGHT: 313px" src="http://blogs.msdn.com/photos/emilianb/images/9941576/original.aspx" width=574 height=313 mce_src="http://blogs.msdn.com/photos/emilianb/images/9941576/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;The Same thing applies to the "Trust for Delegation" part, which will take us to the Set/Delegation.aspx page.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG style="WIDTH: 573px; HEIGHT: 384px" src="http://blogs.msdn.com/photos/emilianb/images/9941577/original.aspx" width=573 height=384 mce_src="http://blogs.msdn.com/photos/emilianb/images/9941577/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;An "overall Status" paragraph contains answers to the questions: "Is Domain Account?" referring to the end user, "Authentication Method?", "Impersonation Level", "Will delegation Succeed". &lt;/P&gt;
&lt;P&gt;However, if we run the delegconfig in an application pool other than the actual front-end and on a different machine, we can ignore this paragraph as it will actually check the Authentication method used for authenticating to the Tool itself rather than the actual front-end, and the impersonation level relative to the user accessing the DelegConfig tool. Therefore, the answer to the question "Will Delegation Succeed?" might not apply to the actual environment.&lt;/P&gt;
&lt;P mce_keep="true"&gt;HTH,&lt;/P&gt;
&lt;P mce_keep="true"&gt;Emi&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9941581" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/Development/default.aspx">Development</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Delegation/default.aspx">Delegation</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Kerberos/default.aspx">Kerberos</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/IIS/default.aspx">IIS</category></item><item><title>Doubled records in Excel output of a SSRS Report with expandable regions</title><link>http://blogs.msdn.com/emilianb/archive/2009/10/29/doubled-records-in-excel-output-of-a-ssrs-report-with-expandable-regions.aspx</link><pubDate>Thu, 29 Oct 2009 11:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9914640</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9914640.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9914640</wfw:commentRss><description>&lt;P&gt;Some customers have lately raised the discussion around, what they thought it was, a misbehavior of the Excel Rendering extension when dealing with expandable regions. The behavior can be described as follows.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;On Reporting Services 2008,&amp;nbsp; we are exporting to excel&amp;nbsp;a report with multiple row groups with visibility triggers on every group, the visbility being controlled by the parend group. This produces a report with&amp;nbsp;interactive functionality - Expandable regions. While in HTML, the report looks and works fine, in Excel the last group will display a duplicate record below the data record. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Exemplified on an AW report, this behavor will look like below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;HTML Rendered Version:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;IMG style="WIDTH: 302px; HEIGHT: 322px" src="http://blogs.msdn.com/photos/emilianb/images/9914645/original.aspx" width=302 height=322 mce_src="http://blogs.msdn.com/photos/emilianb/images/9914645/original.aspx"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Excel version showing doubled records:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914646/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914646/original.aspx"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;The behavior we are currently seeing – duplication of the details row is caused by the following. In order to support expandable regions in excel, we need to have rows that will be collapsed or expanded. In excel, on the last row of a grouping, we will need to have the values that will be displayed on the row visible while in collapsed state. Apart from this last row, we’ll need to have the rows visible while in expanded state. &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;The apparent difference between HTML and Excel comes from a difference in behavior related to expandable regions in Excel vs. HTML. Logically the two solutions are the same. The main problem comes from a minor fault in design of the report. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;In HTML, you rely on an empty row just before the real values, so that when collapsed, the cell on level 7 is empty. This solution doesn’t work while in Excel, because Excel will actually take the last row to put it in collapsed state and not the first. Therefore, it will appear as the data is different while they both contain the same data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;The solution would be to redesign the expandable regions and the table of the report so that you achieve the needed result.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;I will exemplify with the AdventureWorks report below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;Initially, the report’s design looks like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914647/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914647/original.aspx"&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;Even though we have multiple levels of grouping, we only have one row. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;Since in collapsed mode, on the details we need the sum of the prices and no name for the products, what&lt;U&gt;&lt;STRONG&gt; we should do&lt;/STRONG&gt;&lt;/U&gt; is make sure that we create headers for our group like below:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914648/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914648/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;This will produce:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914649/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914649/original.aspx"&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;We do this once again to add the second level and we will have:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914650/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914650/original.aspx"&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Now, if we add visibility settings accordingly, we will have expandable regions like below:&lt;/SPAN&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914652/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914652/original.aspx"&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;If collapsed, they will not show a product name (OK) but will also not show a total price (KO). For this, all we need to do is add a total to the corresponding cell in design:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914651/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914651/original.aspx"&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;Just selecting the correct field from the list will automatically add the Sum, which is exactly what we need.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;Now, our collapsed report will look like this in HTML:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/o:p&gt;&lt;/SPAN&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914653/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914653/original.aspx"&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;And finally, in Excel we have the expected result as well:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;Collapsed:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9914658/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9914658/original.aspx"&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;You can see that the problem is solved and the report contains the correct layout and data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;&lt;SPAN style="COLOR: #1f497d"&gt;Basically our problem comes from a small design issue that not only that produces this limitation, but also might produce incorrect results.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;--&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt" class=MsoListParagraph&gt;HTH&lt;/P&gt;&lt;/SPAN&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9914640" width="1" height="1"&gt;</description></item><item><title>SSRS service might not start after installing Windows Security patches and rebooting the machine</title><link>http://blogs.msdn.com/emilianb/archive/2009/08/10/ssrs-service-might-not-start-after-installing-windows-security-patches-and-rebooting-the-machine.aspx</link><pubDate>Mon, 10 Aug 2009 12:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9863050</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9863050.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9863050</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;Sometimes, if your server is under heavy load, or after installing&amp;nbsp;Windows Security patches, like &lt;A href="http://www.microsoft.com/technet/security/bulletin/ms09-004.mspx" mce_href="http://www.microsoft.com/technet/security/bulletin/ms09-004.mspx"&gt;http://www.microsoft.com/technet/security/bulletin/ms09-004.mspx&lt;/A&gt;&amp;nbsp;, you might experience issues where the SSRS service fails to start with the following information being logged in the Windows Event Logs:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;&lt;EM&gt;The SQL Server Reporting Services (MSSQLSERVER) service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.&lt;o:p&gt;&lt;/o:p&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;The main reason for which this might happen is that the maximum allowed time for a service start operation has been surpassed. By default, the timeout is set to 30 seconds, which can be a little short in some situations. Therefore, the first thing to try would be to increase the timeout period.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;As to the causes for which more time is needed for a service startup, for SQL builds lower than CU9 for SQL Server 2005 SP2 (9.0.3282), this issue might be caused by the fact that the service, before loading the assemblies, needs to verify the Certificate Revocation List from &lt;A href="http://crl.microsoft.com/" mce_href="http://crl.microsoft.com/"&gt;&lt;FONT color=#0000ff&gt;HTTP://CRL.microsoft.com&lt;/FONT&gt;&lt;/A&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;Having this in mind, the options you have for addressing similar behaviors are:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: Arial"&gt;&lt;SPAN style="mso-list: Ignore"&gt;1.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN dir=ltr&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;Adding an entry to the HOSTS file &lt;B&gt;(%Windows%\System32\Drivers\ET&lt;/B&gt;C) to direct the service to an invalid IP while trying to reach CRL.Microsoft.com. An example would be adding the following line:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -40.5pt; MARGIN: 0in 0in 0pt 112.5pt; mso-list: l1 level4 lfo2"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: Arial"&gt;&lt;SPAN style="mso-list: Ignore"&gt;127.0.0.1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN dir=ltr&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;crl.microsoft.com&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 112.5pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: Arial"&gt;&lt;SPAN style="mso-list: Ignore"&gt;2.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN dir=ltr&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;Increasing the value that corresponds to the maximum time allowed for starting a service. Changing this value will have no negative impact, but require a reboot of the machine. This solution is described in the article: &lt;A href="http://support.microsoft.com/kb/922918"&gt;http://support.microsoft.com/kb/922918&lt;/A&gt; , but in short, you must change (or create) the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control,ServicesPipeTimeout (DWORD) to specify a value sufficient to allow the service to start. This value represents the timeout in milliseconds. (An example of a valid value is 60000)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: Arial"&gt;&lt;SPAN style="mso-list: Ignore"&gt;3.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN dir=ltr&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;Installing CU9 for SQL Server 2005 SP2 - &lt;A href="http://support.microsoft.com/kb/953752" mce_href="http://support.microsoft.com/kb/953752"&gt;&lt;FONT color=#0000ff&gt;http://support.microsoft.com/kb/953752&lt;/FONT&gt;&lt;/A&gt; .&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in; mso-add-space: auto" class=MsoListParagraph&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: Arial"&gt;&lt;SPAN style="mso-list: Ignore"&gt;4.&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN dir=ltr&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;Installing SP3 for SQL Server 2005&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in; mso-add-space: auto" class=MsoListParagraph&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;- Download page : &lt;A href="http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=AE7387C3-348C-4FAA-8AE5-949FDFBE59C4&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=AE7387C3-348C-4FAA-8AE5-949FDFBE59C4&amp;amp;displaylang=en"&gt;http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=AE7387C3-348C-4FAA-8AE5-949FDFBE59C4&amp;amp;displaylang=en&lt;/A&gt; &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;- List of fixes: &lt;A href="http://support.microsoft.com/?kbid=955706" mce_href="http://support.microsoft.com/?kbid=955706"&gt;&lt;FONT color=#0000ff&gt;http://support.microsoft.com/?kbid=955706&lt;/FONT&gt;&lt;/A&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"&gt;- Readme files: &lt;A href="http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=851C39EE-6F9D-47D9-8ECC-44AC1E9DC182&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=851C39EE-6F9D-47D9-8ECC-44AC1E9DC182&amp;amp;displaylang=en"&gt;&lt;FONT color=#0000ff&gt;http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=851C39EE-6F9D-47D9-8ECC-44AC1E9DC182&amp;amp;displaylang=en&lt;/FONT&gt;&lt;/A&gt; &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-ansi-language: FR" lang=FR&gt;- Main page: &lt;A href="http://msdn.microsoft.com/en-us/sqlserver/bb895958.aspx" mce_href="http://msdn.microsoft.com/en-us/sqlserver/bb895958.aspx"&gt;&lt;FONT color=#0000ff&gt;http://msdn.microsoft.com/en-us/sqlserver/bb895958.aspx&lt;/FONT&gt;&lt;/A&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-ansi-language: FR" lang=FR&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9863050" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category></item><item><title>Copy 'n' Paste from PDF files generated from SQL Server Reporting Services</title><link>http://blogs.msdn.com/emilianb/archive/2009/08/06/copy-n-paste-from-pdf-files-generated-from-sql-server-reporting-services.aspx</link><pubDate>Thu, 06 Aug 2009 11:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9858862</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9858862.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9858862</wfw:commentRss><description>&lt;P&gt;Over the last months I've seen more and more customers inquiring about issues when trying to Copy text from PDF files exported from Reporting Services reports and Pasting it into other documents. The issue they were complaining about makes so that pasting of the text fails and instead of the expected text they only get '???????' characters. Especially, some of the users have noticed a change in behavior related to this feature after installing CU6 for SQL Server 2005 SP2; reports that supported this functionality before this package was installed, suddenly stopped working.&lt;/P&gt;
&lt;P&gt;I hope to shad some light over this subject and try to explain why some of the text can be exported this way - Copy'n'Paste, and some of the text not and why this happens.&lt;/P&gt;
&lt;P&gt;First of all I have to say that the Copy'n'Paste operation from PDF files exported from SSRS is not a supported operation. This means we don't expect this to work as the PDF rendering extension was never designed for this feature. &lt;/P&gt;
&lt;P&gt;Having said that, let's see what has changed with CU6 for SQL Server 2005 SP2. &lt;/P&gt;
&lt;P&gt;The reason for which Copy’n’Paste doesn’t work as before, after installing CU9 for SQL Server 2005 SP2 is the fact that with CU6 a new logic for dealing with complex text was implemented. After CU6, the decision whether a text is complex or not and is going to be encoded with Glyph IDs instead of ASCII, is done after a different logic than before, thus leading to more text being regarded as complex than before. &lt;BR&gt;According to this new logic, adding a carriage return line feed character is enough to see this text as complex and encode it using Glyph IDs. Encoding the text using Glyph IDs leads to not being able to copy\paste the text anymore. This new logic was added to overcome a different limitation and cannot be reverted at this point.&lt;BR&gt;Because this behavior changed first with Cumulative Update Package 6 - build 9.0.3228.0, any build prior to that should provide more copy/paste &lt;BR&gt;functionality than we currently have. I must however stress that this still doesn’t change the fact that we don’t support this.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Also, SSRS 2008 brings a lot of improvement in the PDF rendering extension and the whole rendering engine. Therefore, you might find that SSRS 2008 behaves better in these situations than SSRS 2005. Still, Copy'n'Paste is not supported even in SSRS 2008.&lt;/P&gt;
&lt;P&gt;Having had a lot of requests for this feature, the Product Group has taken this into consideration and is planning to include this functionality sometime in future releases. However we have no estimation yet on when this will happen.&lt;/P&gt;
&lt;P&gt;Finally, you will find that text that can be easily encoded in ANSI, also behaves a lot better with Copy'n'Paste than text that contains special, font-specific characters. &lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Emi&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9858862" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/PDF/default.aspx">PDF</category></item><item><title>Timeouts and Microsoft SQL Server 2005 Reporting Services</title><link>http://blogs.msdn.com/emilianb/archive/2009/05/28/timeouts-and-microsoft-sql-server-2005-reporting-services.aspx</link><pubDate>Thu, 28 May 2009 11:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9646543</guid><dc:creator>emilianb</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9646543.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9646543</wfw:commentRss><description>&lt;P&gt;When working with Microsoft SQL Server 2005 Reporting Services, there are more levels of execution\session timeout configurations. On one hand we have the ASP.NET session which we have to consider since the SSRS service is actually a ASP.NET Web Service. But then we have also an SSRS “user session”. This has nothing to do with the ASP.NET ‘s session and it’s completely different. SSRS's session contains data related to the report currently executed by a user, the data used in the report, the report state, parameter state, etc... &lt;/P&gt;
&lt;P&gt;When we encounter errors like: "ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: Execution 'n3uh3355xsgfrajxklix1m55' cannot be found" in the SSRS logs, these are related to the SSRS session.&lt;BR&gt;&lt;BR&gt;Here below are the configuration options we have in terms of timeout control.&lt;/P&gt;
&lt;P&gt;IIS\ASP.NET related:&lt;BR&gt;-&amp;nbsp;executionTimeout - &lt;A href="http://msdn.microsoft.com/en-us/library/ms824641.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms824641.aspx&lt;/A&gt;&amp;nbsp; - in web.config for ReportServer. This is the maximum amount of time that it takes to process a SOAP message using the TCP protocol.&lt;BR&gt;-&amp;nbsp;Idle Timeout option on the Performance tab in the Application Pool used by Reporting Services in IIS Manager. &lt;BR&gt;&lt;BR&gt;SSRS related:&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;RecycleTime element in &lt;A href="http://msdn.microsoft.com/en-us/library/ms157273(SQL.90).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms157273(SQL.90).aspx"&gt;RSReportServer.config&lt;/A&gt; – this specifies the recycling period for the entire Application (SSRS Web Service). The default is 720 – in minutes. &lt;BR&gt;-&amp;nbsp;DatabaseQueryTimeout element in &lt;A href="http://msdn.microsoft.com/en-us/library/ms157273(SQL.90).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms157273(SQL.90).aspx"&gt;RSReportServer.config&lt;/A&gt; – Specifies the number of seconds after which a connection to the report server database times out. This value is passed to the System.Data.SQLClient.SQLCommand.CommandTimeout property. Valid values range from 0 to maximum integer. The default is 120. Setting the value to 0 is not recommended; it specifies an unlimited wait time. This is affecting DataSet queries inside the report.&lt;BR&gt;-&amp;nbsp;The SessionTimeout and SessionAccessTimeout system properties. These are the settings controlling the SSRS user session I mentioned in the beginning. The default value for these is 10 minutes, expressed in seconds (600). One could see the SessionTimeout value in the ConfigurationInfo table in the ReportServer database. To modify these system properties’ values you could use a simple script designed for &lt;A href="http://msdn.microsoft.com/en-us/library/ms157273(SQL.90).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms157273(SQL.90).aspx"&gt;RS.EXE&lt;/A&gt; like the one below:&lt;/P&gt;
&lt;P&gt;Public Sub Main()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim props() as [Property]&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; props = new [Property] () { new [Property](), new [Property]() }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; props(0).Name = "SessionTimeout"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; props(0).Value = 3600&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; props(1).Name = "SessionAccessTimeout"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; props(1).Value = 3600&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs.SetSystemProperties(props)&lt;BR&gt;End Sub&lt;/P&gt;
&lt;P&gt;This sample will set the values to 3600 seconds which is too much in most situations. You would need to adjust these values to suit your needs.&lt;BR&gt;For more information about this subject: &lt;A href="http://blogs.msdn.com/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx"&gt;http://blogs.msdn.com/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx&lt;/A&gt; &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;Emi&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9646543" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL+BI/default.aspx">SQL BI</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/IIS/default.aspx">IIS</category></item><item><title>Slow response time for SQL Server Reporting Services after restart or after period of inactivity - why does it happen and how to fix it -</title><link>http://blogs.msdn.com/emilianb/archive/2009/04/24/slow-response-time-for-sql-server-reporting-services-after-restart-or-after-period-of-inactivity-why-does-it-happen-and-how-to-fix-it.aspx</link><pubDate>Fri, 24 Apr 2009 17:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9566790</guid><dc:creator>emilianb</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9566790.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9566790</wfw:commentRss><description>&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;FONT size=3 face=Calibri&gt;I&amp;nbsp;can think of 2 separate issues and causes. First is related to the Web Service recycling and the time needed for restarting and reloading its components\assemblies. The second could be a question of response time for a report (the first time it is executed) and could be linked to the caching mechanism. &lt;BR&gt;Below we look at the two different situations. &lt;BR&gt;&lt;BR&gt;1. Problem caused by the loading of assemblies. NET after startup (restart) of SSRS Service. &lt;BR&gt;Normally, a response time longer for the first service access SSRS after a restart of the service is normal. The behavior is observed even if the server and the service is not restarted but after a period of inactivity. This behavior can be linked to Recycle options for the IIS service. &lt;BR&gt;One possible solution would be to check that the service is not restarted unnecessarily, and if it is still restarted, forcing the loading of components before users access it. &lt;BR&gt;Full info on the topic of recycling: &lt;BR&gt;&lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/bb934330.aspx" mce_href="http://msdn.microsoft.com/en-us/library/bb934330.aspx"&gt;&lt;FONT size=3 face=Calibri&gt;http://msdn.microsoft.com/en-us/library/bb934330.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; &amp;nbsp;- Application Domains for Report Server Applications&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;The article describes the two parameters that we have to control the recycling of SSRS: RecycleTime and MaxAppDomainUnloadTime (file RSReportServer.config). &lt;BR&gt;Following a restart of the service SSRS to ensure that the assemblies and necessary components are loaded, and the service will be available to users, we can put a up a solution for a query similar to a PING to the service. &lt;BR&gt;For this task we have several options: &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;FONT size=3 face=Calibri&gt;- A script for RS.EXE (&lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms162839.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms162839.aspx"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://msdn.microsoft.com/en-us/library/ms162839.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; ) &lt;BR&gt;- Use a .NET application to access Reporting Services SOAP API. &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms153968.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms153968.aspx"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://msdn.microsoft.com/en-us/library/ms153968.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt; &amp;nbsp;- Integrated Reporting Services using SOAP API&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms155131.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms155131.aspx"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://msdn.microsoft.com/en-us/library/ms155131.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt; &amp;nbsp;- Using the SOAP API in a Windows application &lt;BR&gt;- Use a simple application to access Reporting Services URL &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms154537.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms154537.aspx"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://msdn.microsoft.com/en-us/library/ms154537.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;BR&gt;&lt;FONT size=3 face=Calibri&gt;2. Problem of execution time for a particular report, the first time. &lt;BR&gt;A different time (longer) for the first execution of a particular report is normal. executions that&amp;nbsp;follow (if the report is run with the same parameters) will take the report cache, and therefore the time performances will be improved. &lt;BR&gt;The document &lt;/FONT&gt;&lt;A href="http://technet.microsoft.com/en-gb/library/cc966418.aspx" mce_href="http://technet.microsoft.com/en-gb/library/cc966418.aspx"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://technet.microsoft.com/en-gb/library/cc966418.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt; &amp;nbsp;- Planning for Scalability and Performance with Reporting Services contains a paragraph "Report Caching and Storage" on this subject. &lt;BR&gt;We have the options: &lt;BR&gt;- Loading the cache with the help of a subscription-driven data (Data-Driven Subscription) using the NULL Delivery extension.&lt;BR&gt;Full Info: &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms155927.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms155927.aspx"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://msdn.microsoft.com/en-us/library/ms155927.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt; &amp;nbsp;- Caching a report in Reporting Services &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms155876.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms155876.aspx"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://msdn.microsoft.com/en-us/library/ms155876.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt; &amp;nbsp;- How to: preload the Cache (Report Manager) &lt;BR&gt;- In the properties of the report, set the execution in order to use a cached copy. More info: &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms159241.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms159241.aspx"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;http://msdn.microsoft.com/en-us/library/ms159241.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; &amp;nbsp;-- Set the properties of a given report&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="mso-ansi-language: EN-GB" lang=EN-GB&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;HTH,&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="mso-ansi-language: EN-GB" lang=EN-GB&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="mso-ansi-language: EN-GB" lang=EN-GB&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;Emi&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="mso-ansi-language: EN-GB" lang=EN-GB&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;---------------------------------&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;SPAN style="mso-ansi-language: EN-GB" lang=EN-GB&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;Also, check out Evan Basalik's post on SQLBlog about this: &lt;A href="http://blogs.msdn.com/sqlblog/archive/2007/11/09/reporting-services-staaaarrrrrtttt-up.aspx"&gt;http://blogs.msdn.com/sqlblog/archive/2007/11/09/reporting-services-staaaarrrrrtttt-up.aspx&lt;/A&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9566790" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL+BI/default.aspx">SQL BI</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category></item><item><title>Using DelegConfig tool for troubleshooting Kerberos Delegation issues</title><link>http://blogs.msdn.com/emilianb/archive/2009/04/16/using-delegconfig-tool-for-troubleshooting-kerberos-delegation-issues.aspx</link><pubDate>Thu, 16 Apr 2009 14:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9552814</guid><dc:creator>emilianb</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9552814.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9552814</wfw:commentRss><description>&lt;P&gt;A couple of days ago I delivered a presentation on troubleshooting Kerberos configuration issues, especially from the SQL Server's perspective. Part of this presentation I demonstrated the use of Brian Murphy-Booth's (&lt;A href="http://blogs.iis.net/brian-murphy-booth" mce_href="http://blogs.iis.net/brian-murphy-booth"&gt;http://blogs.iis.net/brian-murphy-booth&lt;/A&gt;) DelegConfig tool and demonstrated how this tool can also be used for configuring SQL Server. &lt;/P&gt;
&lt;P&gt;Since a lot of people showed interest in the use of this tool, I thought I'd share some information on its use. Here’s where you can download the tool from: &lt;A href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1434" mce_href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1434"&gt;http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1434&lt;/A&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;This tool will help you very easily check and fix the configuration of your IIS application + backend server (SQL, OLAP, etc. ) from a security stand-point in order to ensure &lt;B&gt;&lt;U&gt;Kerberos Authentication and Kerberos Delegation&lt;/U&gt;&lt;/B&gt;. It will basically check everything that needs to be checked like Active Directory properties for accounts and SPNs and will point you into the right direction for fixing the problems.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;The tool is basically simple ASP.NET application that you have to configure in IIS under the same Application Pool as the application whose config you need to check. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;Here’s how to configure it:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;1. Once you download the tool and unzip the archive you will have a folder called Kerberos (let’s say c:\Kerberos\ )on your hard drive.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;For this presentation, let’s say I want to check my ReportServer application config.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;2. Open IIS Manager, check the App Pool under which ReportServer runs and create a new &lt;B&gt;Virtual Directory&lt;/B&gt;... under the web site of my application.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;3. Follow the Wizard and Select an Alias (let’s say DelegConfig), point it to the &lt;B&gt;Kerberos&lt;/B&gt; folder and allow &lt;B&gt;Read&lt;/B&gt; and &lt;B&gt;Run Scripts&lt;/B&gt; permissions (see below) and click &lt;B&gt;Finish&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;&lt;v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"&gt;&lt;/v:path&gt;&lt;o:lock aspectratio="t" v:ext="edit"&gt;&lt;IMG style="WIDTH: 342px; HEIGHT: 265px" src="http://blogs.msdn.com/photos/emilianb/images/9552742/original.aspx" width=342 height=265 mce_src="http://blogs.msdn.com/photos/emilianb/images/9552742/original.aspx"&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552744/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552744/original.aspx"&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552745/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552745/original.aspx"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;4. Open the Properties for the newly created Virtual Directory and select the Application Identified at step 2, as App Pool for this VDIR.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;5. Open the Directory Security tab and make sure only &lt;B&gt;Integrated Windows Authentication&lt;/B&gt; is selected (disable Anonymous access if it’s enabled).&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;Now your tool is ready to be used. To use it:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;1. On a Client Machine, open IE and navigate to our DelegConfig Application (type &lt;/FONT&gt;&lt;A href="http://yourserver/DelegConfig"&gt;&lt;FONT color=#0000ff size=3&gt;http://yourserver/DelegConfig&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;2. The application will open but we’re not ready to read the results yet. In the address bar you will have the address: &lt;/FONT&gt;&lt;A href="http://yourserver/DelegConfig/Default.aspx?resolvedName"&gt;&lt;FONT color=#0000ff size=3&gt;http://yourserver/DelegConfig/Default.aspx?resolvedName&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;= &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;You will have to supply the FQDN of your server as value for resolvedName parameter like this: &lt;/FONT&gt;&lt;A href="http://yourserver/DelegConfig/Default.aspx?resolvedName=yourserver.yourdomain.com"&gt;&lt;FONT color=#0000ff size=3&gt;http://yourserver/DelegConfig/Default.aspx?resolvedName=yourserver.yourdomain.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt; . press GO.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;3. Now you’re ready to check the config of your server. Below I’ll present each section.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;3.1. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552746/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552746/original.aspx"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;Here my App Pool is running as EUROPE\emilianb.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;The tool even has a page that allows you to check, delete and add SPNs if the account with which you access the DelegConfig has enough privileges in AD. So clicking the Fix This button takes you to the page SetSPN.aspx: &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552747/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552747/original.aspx"&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;After you click YES, you will have the possibility to check SPNs for whatever account you want or to add new SPNs. For example, here below I am viewing the SPNs for one of my machine’s account:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552749/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552749/original.aspx"&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;3.2. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552750/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552750/original.aspx"&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;I’m accessing the Application with EUROPE\emilianb. (it’s a bit confusing since it’s the same account as the identity of the app pool, but I think you get the idea).&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;3.3. &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552751/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552751/original.aspx"&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3&gt;3.4. Clicking on the &lt;B&gt;Add Backend&lt;/B&gt; button will allow you to also check the configuration of your backend server. You’ll have to tell it what is the server name, the service type, the port and the identity and it will add a section for your backend server. &lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552754/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552754/original.aspx"&gt;&lt;/FONT&gt;&lt;FONT size=3&gt;&amp;nbsp;and the checklist -&amp;gt; &lt;IMG src="http://blogs.msdn.com/photos/emilianb/images/9552755/original.aspx" mce_src="http://blogs.msdn.com/photos/emilianb/images/9552755/original.aspx"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/o:p&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9552814" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Delegation/default.aspx">Delegation</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Kerberos/default.aspx">Kerberos</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/IIS/default.aspx">IIS</category></item><item><title>WMI related errors while connecting to SQL Server 2005/2008 Reporting Services</title><link>http://blogs.msdn.com/emilianb/archive/2009/03/16/wmi-related-errors-while-connecting-to-sql-server-2005-2008-reporting-services.aspx</link><pubDate>Mon, 16 Mar 2009 17:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9481576</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9481576.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9481576</wfw:commentRss><description>&lt;P&gt;Here's a quick guide describing a few checks you could make if you encounter any WMI related errors while trying to connect to your SSRS instance either with Management Studio or with the Configuration Tool.&lt;/P&gt;
&lt;P&gt;1. The most common cause for these type of issues is missing or incorrect registry keys in the SQL Server registry hive.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Solution&lt;/U&gt;&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The keys to be checked are:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;o&amp;nbsp;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Serve&lt;/STRONG&gt;r, &lt;STRONG&gt;InstalledInstances &lt;/STRONG&gt;– this has to list all installed instances and make sure there are no additional instances that were possibly removed and also no missing entries.&lt;BR&gt;&lt;STRONG&gt;o&amp;nbsp;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names&lt;/STRONG&gt; – this key has subkeys for OLAP,RS and SQL which have to list correctly the installed instances&lt;BR&gt;For example, on a machine with two RS instances, one 2005 and one 2008 named sql05 and sql08 we will have:&lt;BR&gt;&lt;STRONG&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\RS&lt;/STRONG&gt;,&lt;BR&gt;Value 0&lt;BR&gt;&amp;nbsp; Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL05&lt;BR&gt;&amp;nbsp; Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REG_SZ&lt;BR&gt;&amp;nbsp; Data:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSSQL.3&lt;/P&gt;
&lt;P&gt;Value 1&lt;BR&gt;&amp;nbsp; Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL08&lt;BR&gt;&amp;nbsp; Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REG_SZ&lt;BR&gt;&amp;nbsp; Data:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSRS10.SQL08&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In some cases, after a failed or incomplete installation of a service pack, or some other situations, some WMI DLLs might not be registered correctly.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Solution:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Open a command prompt, navigate to &lt;STRONG&gt;%Windows%\System32\wbem&lt;/STRONG&gt; and execute the command: &lt;/P&gt;
&lt;P&gt;for /f %s in (‘dir /b *.dll’) do regsvr32 /s %s&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;This will register all the dlls in the folder.&lt;BR&gt;-----------------&lt;/P&gt;
&lt;P&gt;IF the problem still persists, in order to check that a WMI query can be done against your instance, do the following test:&lt;/P&gt;
&lt;P&gt;Launch WBEMTEST.EXE with an account that has admin credentials&amp;nbsp;on the RS machine. (Start/Run.../WBEMTEST)&lt;BR&gt;Press the “Connect…” button.&lt;BR&gt;Enter namespace &lt;A href="file://%7brs_machine_name%7d/root/microsoft/sqlserver/reportserver"&gt;\\{RS_MACHINE_NAME}\root\microsoft\sqlserver\reportserver&lt;/A&gt;&lt;BR&gt;Press “Connect”&lt;BR&gt;Press the “Query…” button.&lt;BR&gt;Enter query “Select * from __namespace”.&lt;BR&gt;Press the Apply button.&lt;BR&gt;List should list all the RS instances on the remote machine.&amp;nbsp; For a default instance is should be “RS_MSSQLSERVER”.&lt;BR&gt;Close this dialog and press the “Connect…” button again.&lt;BR&gt;Append the name from the above query to the end of the namespace and the value “\vX\admin”, ie &lt;A href="file://rsmachine/root/microsoft/sqlserver/reportserver/rs_mssqlserver/v10/admin"&gt;\\rsmachine\root\microsoft\sqlserver\reportserver\rs_mssqlserver\v10\admin&lt;/A&gt;&lt;BR&gt;Press the connect button.&lt;BR&gt;Press the “Enum Classes…” button.&lt;BR&gt;Press the OK button without entering anything.&lt;BR&gt;There should be a list box and the last entry should say “MSReportServer_ConfigurationSetting”, double click on it.&lt;BR&gt;Press the “Instances…” button.&lt;BR&gt;You should get a list of instances.&amp;nbsp; Choose the one that corresponds to the instance chosen in the above namespace query.&lt;BR&gt;This should list properties and methods for the RS WMI provider.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;To get this far, the WMI services can communicate and the user has administrative privileges on the remote machine. The test has succeeded.&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Alternatively, you could use a WMI test script. A tool that could help you create the scripts is WMI Code Creator ( &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&amp;amp;DisplayLang=en&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;
&lt;P&gt;And to perform a full diagnosis of the WMI Service, you could use WMI Diagnosis Utility (&lt;A href="http://www.microsoft.com/technet/scriptcenter/topics/help/wmidiag.mspx"&gt;http://www.microsoft.com/technet/scriptcenter/topics/help/wmidiag.mspx&lt;/A&gt;)&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9481576" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/WMI/default.aspx">WMI</category></item><item><title>Creating Subscriptions Programmatically using different Local Settings (field separators)</title><link>http://blogs.msdn.com/emilianb/archive/2009/02/25/creating-subscriptions-programmatically-using-different-local-settings-field-separators.aspx</link><pubDate>Wed, 25 Feb 2009 12:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9443825</guid><dc:creator>emilianb</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9443825.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9443825</wfw:commentRss><description>&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;If you want to create subscriptions programmatically, using the SOAP API, you would call the CreateSubscription method exposed by the API, through the proxy class created against the Web Service (ReportService.asmx; ReportService2005.asmx). However, you might have problems editing in Report Manager the subscriptions created this way, if the local settings on the client machines are not on English and the schedule of the subscription is done on Monthly recurrence with a list of days specified. Because the list separator on the client machine trying to edit the subscription is different, the deserialization of the Days list will fail with an error message similar to “The Days field contains a value that is not valid” (for example in French will be: “Le champ Days contient une valeur qui n'est pas valide.").&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;There is a fix already in place for this issue, however, an easy workaround that can be implemented in the mean time is to write your own class that inherits the proxy class (ReportService) which implements System.Web.Services.Protocols.SoapHttpClientProtocol and override the GetWebRequest method to accept your client machines’ language.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Example:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;My proxy class against ReportService2005.asmx is ReportService2005.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;My new class is RSWebService:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;public&lt;/SPAN&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt; &lt;SPAN style="COLOR: blue"&gt;class&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;RSWebService&lt;/SPAN&gt;: &lt;SPAN style="COLOR: #2b91af"&gt;ReportingService2005&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: 0.5in; MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;protected&lt;/SPAN&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt; &lt;SPAN style="COLOR: blue"&gt;override&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;WebRequest&lt;/SPAN&gt; GetWebRequest( &lt;SPAN style="COLOR: #2b91af"&gt;Uri&lt;/SPAN&gt; uri )&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: 0.5in; MARGIN: 0in 0in 10pt 0.5in" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; COLOR: #2b91af; FONT-SIZE: 10pt"&gt;WebRequest&lt;/SPAN&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt; wr = &lt;SPAN style="COLOR: blue"&gt;base&lt;/SPAN&gt;.GetWebRequest( uri );&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt 0.5in" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #2b91af"&gt;WebHeaderCollection&lt;/SPAN&gt; headers = ((&lt;SPAN style="COLOR: #2b91af"&gt;HttpWebRequest&lt;/SPAN&gt;)wr).Headers;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt 0.5in" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;headers.Add(&lt;SPAN style="COLOR: #a31515"&gt;"Accept-Language:fr"&lt;/SPAN&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt 0.5in" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: blue"&gt;return&lt;/SPAN&gt; wr;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi"&gt;After that, all I have to do is use my RSWebService class to call the Reporting Services SOAP API methods instead of the ReportingService2005 class’ methods.&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9443825" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL+BI/default.aspx">SQL BI</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Development/default.aspx">Development</category></item><item><title>About integrating Reporting Services into your application (for beginners)</title><link>http://blogs.msdn.com/emilianb/archive/2009/01/27/about-integrating-reporting-services-into-your-application-for-beginners.aspx</link><pubDate>Tue, 27 Jan 2009 17:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9377526</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9377526.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9377526</wfw:commentRss><description>&lt;P&gt;In order to integrate Reporting Services into your Web Application you have the following options: using the Reporting Services SOAP API (consuming the Reporting Services web service), using the ReportViewer control and using URL Access (&lt;STRONG&gt;Integrating Reporting Services into Applications&lt;/STRONG&gt; - &lt;A href="http://technet.microsoft.com/en-us/library/ms153697(SQL.90).aspx"&gt;http://technet.microsoft.com/en-us/library/ms153697(SQL.90).aspx&lt;/A&gt; ). &lt;/P&gt;
&lt;P&gt;Also, a very good resource about the subject can be found here: &lt;STRONG&gt;Integrating Reporting Services into Your Application &lt;/STRONG&gt;- &lt;A href="http://msdn.microsoft.com/en-us/library/aa964126.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa964126.aspx&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;a) The URL Access is the simplest method because all it does is to call the report directly on the ReportViewer control installed by default on the ReportServer IIS application. The report is called from a web browser (Internet Explorer) by requesting the path to the report that is deployed on the server. This method doesn't allow us to control in any way the way the report is displayed in the ReportViewer control, because it actually uses just the browser to request the report. It's the same thing as if we would try opening in IE a connection to &lt;A href="http://servername/ReportServer"&gt;http://servername&lt;SERVERNAME&gt;/ReportServer&lt;/A&gt; and executing a report directly there. With this option, we cannot really talk about integration. At maximum, our application could contain links to those reports we need to execute and if clicked would either start a new browser with the report requested or would open the report inside an IFrame in our web application. (&lt;STRONG&gt;Using URL Access in a Web Application &lt;/STRONG&gt;- &lt;A href="http://technet.microsoft.com/en-us/library/ms153563(SQL.90).aspx"&gt;http://technet.microsoft.com/en-us/library/ms153563(SQL.90).aspx&lt;/A&gt; ) &lt;/P&gt;
&lt;P&gt;b) Consuming the web service of Reporting Services (using the SOAP API) would give you the most freedom but would also require the most amount of investment into the development of the solution. Basically, you would just call the methods exposed by the web service of Reporting Services and handle the responses in any way you choose. For example, by calling inside your application the Render method of Reporting services web service, would give you, depending on the format chosen for the Rendering (HTML, PDF, EXCEL - the format is chosen as a parameter when we call the method) the executed report that you can handle at will - you could display it inside a control, you could save it somewhere, export it, store it. You could call the methods of the SSRS web service through a proxy class, so you would have an object model available for managing reporting (&lt;STRONG&gt;Building Applications Using the Web Service and the .NET Framework &lt;/STRONG&gt;- &lt;A href="http://technet.microsoft.com/en-us/library/ms154699(SQL.90).aspx"&gt;http://technet.microsoft.com/en-us/library/ms154699(SQL.90).aspx&lt;/A&gt; &amp;nbsp;). &lt;/P&gt;
&lt;P&gt;(&lt;STRONG&gt;Using the SOAP API in a Web Application &lt;/STRONG&gt;- &lt;A href="http://technet.microsoft.com/en-us/library/ms155376(SQL.90).aspx"&gt;http://technet.microsoft.com/en-us/library/ms155376(SQL.90).aspx&lt;/A&gt; ) &lt;/P&gt;
&lt;P&gt;Actually, "&lt;EM&gt;the Reporting Services Web service is the primary interface for developing against Reporting Services. Whether you are developing code to manage your report catalog or developing code to render reports to a supported format, the Web Service exposes all the necessary methods to integrate Reporting Services into you applications. An example of one such application is Report Manager, which ships with Reporting Services; it uses the Web Service for managing the report catalog."&lt;/EM&gt; (&lt;A href="http://technet.microsoft.com/en-us/library/ms153697(SQL.90).aspx"&gt;http://technet.microsoft.com/en-us/library/ms153697(SQL.90).aspx&lt;/A&gt; ) &lt;/P&gt;
&lt;P&gt;c) Another way of integrating Reporting Services into your web application would be using the ReportViewer control inside your ASP.NET web application. You could configure programmatically the reportViewer control to display a report of your choice or even connect to different Reporting Services instances to render different reports. For example, you could use a combination of SOAP access and ReportViewer access like this: using a proxy class to access the Web service of SSRS, you could call the ListChildren methodto obtain the reports that are on the server and display them inside a list control and then, after selecting a report for rendering, you could display it in a reportViewer control. (&lt;STRONG&gt;Integrating Reporting Services Using the ReportViewer Controls &lt;/STRONG&gt;- &lt;A href="http://technet.microsoft.com/en-us/library/aa337090(SQL.90).aspx"&gt;http://technet.microsoft.com/en-us/library/aa337090(SQL.90).aspx&lt;/A&gt; ) &lt;/P&gt;
&lt;P&gt;In all these scenarios, the way Reporting Services is designed to work, involves having reports (RDL files - report definitions) deployed on the Report Server and Data Source definitions either embedded into the reports or as standalone items that can be shared by multiple reports (we could have one datasource for more reports if they use the same connection string information). &lt;/P&gt;
&lt;P&gt;A concern with this could be that the security would have to be managed separately. This should actually not be a concern if you are using Windows Integrated Security. Through role-based security mapped to Active Directory security groups, the management of security would be quite straightforward. (&lt;STRONG&gt;Managing Permissions and Security for Reporting Services&lt;/STRONG&gt; - &lt;A href="http://msdn.microsoft.com/en-us/library/ms156014(SQL.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms156014(SQL.90).aspx&lt;/A&gt; ) &lt;/P&gt;
&lt;P&gt;Someone asked me once if it would be possible to deploy the report at runtime and somehow; don't have the reports previously stored on the server but just use a definition (RDL) we have at a given time to display data. The answer is yes, it is possible, but I don't think that this is a good solution because of a number of reasons. This would be possible if you take a report definition (RDL) at runtime and try to use it to render a report you would have to deploy it programmatically on the server - using the SOAP API - and render it immediately after. But this means having to perform two operations at once and therefore might run into performance issues. The second issue is that you won't get a chance to verify that the deployment was ok. Also, to deploy a report you need special permissions, more elevated permissions than those of a simple user and report browser. (&lt;A href="http://search.live.com/results.aspx?q=deploy+reports+programatically+%22reporting+services%22&amp;amp;form=QBRE"&gt;http://search.live.com/results.aspx?q=deploy+reports+programatically+%22reporting+services%22&amp;amp;form=QBRE&lt;/A&gt; ) &lt;/P&gt;
&lt;P&gt;In local processing, the Reporting Services processing and rendering engine is not used at all. You don't need to have Reporting Services configured and don't need an SSRS instance at all for local report processing. All we can have in local report processing is capability to use the Report Viewer to display a set of data that is ready to be plugged into the control. Basically, information about parameters, data source, data sets, is not available at all. All we do is use the control and the Reporting Services Data Regions (Charts, Tables, Matrices) to display some data. The full Reporting Services processing and rendering engine can only be used in server processing mode. "&lt;EM&gt;Local processing mode provides an alternative method for viewing and rendering reports when Reporting Services is not installed. Unlike remote processing only a subset of the functionality provided by the report server is available in the control. In local mode, data processing is not handled by the control but rather implemented by the hosting application. However rendering of the report is handled by the control and processed on the client where the control is hosted. In local mode, only the PDF, Excel, and Image rendering extensions are available."&lt;/EM&gt; (&lt;STRONG&gt;Configuring ReportViewer for Local Processing &lt;/STRONG&gt;- &lt;A href="http://msdn.microsoft.com/en-us/library/ms251704.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms251704.aspx&lt;/A&gt; ; &lt;STRONG&gt;Reporting Services and ReportViewer Controls in Visual Studio &lt;/STRONG&gt;- &lt;A href="http://technet.microsoft.com/en-us/library/ms345248(SQL.90).aspx"&gt;http://technet.microsoft.com/en-us/library/ms345248(SQL.90).aspx&lt;/A&gt; ) &lt;/P&gt;
&lt;P&gt;Concerning Local Processing, SQL Server 2008 behaves the same way, but instead brings great improvement in server processing and rendering - (&lt;A href="http://blogs.msdn.com/robertbruckner/archive/2008/08/11/on-demand-report-processing-in-rs-2008.aspx"&gt;http://blogs.msdn.com/robertbruckner/archive/2008/08/11/on-demand-report-processing-in-rs-2008.aspx&lt;/A&gt; ; &lt;STRONG&gt;What's New in Report Processing and Rendering &lt;/STRONG&gt;- &lt;A href="http://technet.microsoft.com/en-us/library/bb630400.aspx"&gt;http://technet.microsoft.com/en-us/library/bb630400.aspx&lt;/A&gt; ) &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9377526" width="1" height="1"&gt;</description></item><item><title>Unable to load the client print control after installing KB956391</title><link>http://blogs.msdn.com/emilianb/archive/2008/12/03/unable-to-load-the-client-print-control-after-installing-kb956391.aspx</link><pubDate>Wed, 03 Dec 2008 15:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9169910</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9169910.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9169910</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;Recently, one of my colleagues put together a very comprehensive action plan that normally should fix this issue.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;So, if you happen to have this error message while trying to print a report in Reporting Services 2005 after having recently installed the latest security patches, here is how it can be solved.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;Since the main cause is that this patch updates the ActiveX controls, we will have to follow the below steps.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;U&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 14pt; mso-bidi-font-family: Arial; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;1&lt;/SPAN&gt;&lt;/U&gt;&lt;/B&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;. For SQL Server 2005 Reporting Services we should have at least version 9.0.3282. KB article: &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;A href="http://support.microsoft.com/kb/954607"&gt;&lt;SPAN style="COLOR: windowtext"&gt;http://support.microsoft.com/kb/954607&lt;/SPAN&gt;&lt;/A&gt;. &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;Download location: &lt;A href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=5148b887-f323-4adb-9721-61e1c0cfd213"&gt;&lt;SPAN style="COLOR: windowtext"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=5148b887-f323-4adb-9721-61e1c0cfd213&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;U&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 14pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;2.&lt;/SPAN&gt;&lt;/U&gt;&lt;/B&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 14pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;Install separately the latest version for the ReportViewer control. Since until now we have two major versions of the control - version 8 and version 9, we should check that both are up to date.&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;a. for version 8 we have : &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=82833F27-081D-4B72-83EF-2836360A904D&amp;amp;displaylang=en"&gt;&lt;SPAN style="COLOR: windowtext"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=82833F27-081D-4B72-83EF-2836360A904D&amp;amp;displaylang=en&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;- Microsoft Report Viewer Redistributable 2005 Service Pack 1 &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;b. for version 9 we have: &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=bb196d5d-76c2-4a0e-9458-267d22b6aac6&amp;amp;DisplayLang=en"&gt;&lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: windowtext; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=bb196d5d-76c2-4a0e-9458-267d22b6aac6&amp;amp;DisplayLang=en&lt;/SPAN&gt;&lt;/EM&gt;&lt;/A&gt;&amp;nbsp;- Microsoft Report Viewer Redistributable 2008 Service Pack 1 &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;After the reportviewer control is updated, an IISreset should be issued in order for the changes to take effect.&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;U&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 14pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;3&lt;/SPAN&gt;&lt;/U&gt;&lt;/B&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;. On the client computers, have the update &lt;A href="http://support.microsoft.com/?id=956391"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: windowtext; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;http://support.microsoft.com/?id=956391&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;installed.&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&amp;nbsp;HTH&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9169910" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL+BI/default.aspx">SQL BI</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/IE/default.aspx">IE</category></item><item><title>Could not locate entry in sysdatabases for database X</title><link>http://blogs.msdn.com/emilianb/archive/2008/10/30/could-not-locate-entry-in-sysdatabases-for-database-x.aspx</link><pubDate>Thu, 30 Oct 2008 10:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9023903</guid><dc:creator>emilianb</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/9023903.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=9023903</wfw:commentRss><description>&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;While upgrading a SQL Server 2005 Reporting Services instance to SP2 from SP1 or from RTM, you might encounter the following error and the upgrade&amp;nbsp;fails,&amp;nbsp;if your reporting Services database name is of the form XReportServer, where X is a string of characters:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;&lt;FONT face=Calibri&gt;"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; mso-bidi-font-family: 'Times New Roman'"&gt;MSP Error: 29537&amp;nbsp; SQL Server Setup has encountered the following problem: [Microsoft][SQL Native Client][SQL Server]Could not locate entry in sysdatabases for database 'X'. No entry found with that name. Make sure that the name is entered correctly.. To continue, correct the problem, and then run SQL Server Setup again&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;."&lt;/SPAN&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;This is caused by a known issue with Reporting Services 2005 that makes so that the upgrade scripts, generated for upgrading the database, truncate the name of the database removing the ReportServer string. Therefore the scripts will reference a &lt;/SPAN&gt;nonexistent&amp;nbsp;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt; database. &lt;/SPAN&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;For now, this is only fixed in SQL Server 2008 Reporting Services, but we have the following available workarounds for SQL 2005 Reporting Services:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"&gt;1.&lt;/SPAN&gt;&lt;SPAN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;Use a different naming scheme.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"&gt;2.&lt;/SPAN&gt;&lt;SPAN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;Generate the upgrade scripts separately, manually modify them to reflect the real name of the database and execute them.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Detailed steps on how to implement the second workaround are below:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in" class=MsoNormal&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 12pt" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'Times New Roman'"&gt;a. Make backups of your Reporting Services databases (XReportServer and XReportServerTempDb).&amp;nbsp;&lt;BR&gt;&lt;BR&gt;b. &amp;nbsp;From Reporting Services Configuration Manager, make a backup of the Encryption Key.&amp;nbsp;&lt;BR&gt;&lt;BR&gt;c. &amp;nbsp;From Reporting Services Configuration Manager, create a new database with a name that does not contain the words ReportServer. We will use this new database to install SP2. &lt;BR&gt;&lt;BR&gt;d. Install SP2 for SQL Server 2005 Reporting Services.&amp;nbsp;&lt;BR&gt;&lt;BR&gt;e. After installing SP2 and restarting the server, open Reporting Services Configuration Manager and choose the Database Setup option. Here, start the Create Scripts wizard by pressing the &lt;B&gt;Script ...&lt;/B&gt; button. Select Upgrade Database Script and put XReportServer for the "Database Name". In "Server Version" select the version that corresponds to the version of the database we're trying to upgrade (the version of the old database ) and finally choose a path to save the script that&amp;nbsp;will be&amp;nbsp;generated.&amp;nbsp;&lt;BR&gt;&lt;BR&gt;f.&amp;nbsp;&amp;nbsp;Open SQL Server Management Studio, connected to the SQL instance where the &amp;nbsp;databases Reporting Services are located, and open the script that was saved at the previous step. Modify the script so that it correctly specifies the name of the database that we are trying to upgrade, as well as its temp database (XReportServer and XReportServerTempDb).&amp;nbsp;&lt;BR&gt;&lt;BR&gt;g.&amp;nbsp;&amp;nbsp;Execute the script.&amp;nbsp;&lt;BR&gt;&lt;BR&gt;h. Again, in Reporting Services Configuration Manager, choose "Database Setup" and connect to the SQL instance by choosing Connect. Select your database (XReportServer) and then click Apply. &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 12pt" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'Times New Roman'"&gt;i. If the instance is not initialized, the last step will be to restore the encryption key saved at step b. Normally this step should not be needed if the service accounts haven't changed.&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9023903" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL+BI/default.aspx">SQL BI</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category></item><item><title>Conditional Formatting not working in reports exported to Excel from SQL Server 2000 Reporting Services SP2</title><link>http://blogs.msdn.com/emilianb/archive/2008/09/19/conditional-formatting-not-working-in-reports-exported-to-excel-from-sql-server-2000-reporting-services-sp2.aspx</link><pubDate>Fri, 19 Sep 2008 12:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8958523</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/8958523.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=8958523</wfw:commentRss><description>&lt;P&gt;Consider the following scenario:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You have a report deployed on a SQL Server 2000 Reporting Services SP2 instance. This report contains conditional formatting for some of the dataregions or for some cells inside a table/matrix. The format property that we want to have as a function of a certain expression is the color. So we want the coloring of the text inside a cell to depend on an expression of our choice. &lt;/P&gt;
&lt;P&gt;If we render the report using the HTML renderer extension or the PDF, everything comes up fine and we can see different colors for our selected cell, depending on the evaluated expression we chose for the color property.&lt;/P&gt;
&lt;P&gt;If we try exporting the report to Excel format however, the cells completely disregard the conditional formatting (conditional coloring in our case) and show the same color. This happens because the processing path for the Excel rendering extension makes so that the color property evaluated together with the background color and therefore if the background color is a constant, the color will expression will not be evaluated.&lt;/P&gt;
&lt;P&gt;To work around this we only need to make the Backround color be an expression instead of a constant. We can do this&amp;nbsp;by simply specifying &amp;lt;&amp;lt; ="Color" &amp;gt;&amp;gt; on the value of the BackgroundColor property instead of &amp;lt;&amp;lt;Color&amp;gt;&amp;gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8958523" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/Reporting+Services/default.aspx">Reporting Services</category></item><item><title>Developer Tools in Internet Explorer 8</title><link>http://blogs.msdn.com/emilianb/archive/2008/09/15/developer-tools-in-internet-explorer-8.aspx</link><pubDate>Mon, 15 Sep 2008 09:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952171</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/8952171.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=8952171</wfw:commentRss><description>&lt;P&gt;As you probably heard, IE8 introduces the Developer Tools. Lots of great features like live HTML&amp;nbsp;and CSS&amp;nbsp;editing, JScript debugging and profiler, HTML, CSS validators.&lt;/P&gt;
&lt;P&gt;More information: &lt;A href="http://blogs.msdn.com/ie/archive/2008/09/03/developer-tools-in-internet-explorer-8-beta-2.aspx"&gt;http://blogs.msdn.com/ie/archive/2008/09/03/developer-tools-in-internet-explorer-8-beta-2.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But also: &lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/cc848894(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc848894(VS.85).aspx&lt;/A&gt;&amp;nbsp;-&amp;nbsp;Discovering the Internet Explorer 8 Developer Tools&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/cc848892(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc848892(VS.85).aspx&lt;/A&gt;&amp;nbsp;- Developer Tools: Script Debugging Overview&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/cc848893(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc848893(VS.85).aspx&lt;/A&gt;&amp;nbsp;- Internet Explorer 8 Developer Tools GUI Reference&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/cc848895(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc848895(VS.85).aspx&lt;/A&gt;&amp;nbsp;- Developer Tools: Script Profiler Overview&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/cc848896(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc848896(VS.85).aspx&lt;/A&gt;&amp;nbsp;- Developer Tools: Keyboard Shortcuts&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently in Beta 2, the build can be downloaded and tested from: &lt;A href="http://www.microsoft.com/windows/internet-explorer/beta/worldwide-sites.aspx"&gt;http://www.microsoft.com/windows/internet-explorer/beta/worldwide-sites.aspx&lt;/A&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8952171" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/Development/default.aspx">Development</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/IE/default.aspx">IE</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/Debugging/default.aspx">Debugging</category></item><item><title>SQL Server Agent cannot be started after adding an "Alias Local Host Server"</title><link>http://blogs.msdn.com/emilianb/archive/2008/08/26/sql-server-agent-cannot-be-started-after-adding-an-alias-local-host-server.aspx</link><pubDate>Tue, 26 Aug 2008 15:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8897261</guid><dc:creator>emilianb</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/emilianb/comments/8897261.aspx</comments><wfw:commentRss>http://blogs.msdn.com/emilianb/commentrss.aspx?PostID=8897261</wfw:commentRss><description>&lt;P&gt;We might find ourselves in the following scenario: for a SQL Server 2005 edition, you accidentaly specify a wrong "Alias Local Host Server" in Management Studio. Now, what happens is that, when the SQL Server Agent starts, it tries to connect to this ALIAS and if the connection fails, the service doesn't start. What we see in the SQL Server Agent Logs can be similar to:&lt;/P&gt;
&lt;P&gt;"2008-08-22 17:02:11 - ! [298] SQLServer Error: 53, Named Pipes Provider: Could not open a connection to SQL Server [53]. [SQLSTATE 08001] &lt;BR&gt;2008-08-22 17:02:11 - ! [165] ODBC Error: 0, Login timeout expired [SQLSTATE HYT00] &lt;BR&gt;2008-08-22 17:02:12 - ! [298] SQLServer Error: 53, An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. [SQLSTATE 08001] &lt;BR&gt;2008-08-22 17:02:12 - ! [000] Unable to connect to server 'test'; SQLServerAgent cannot start&lt;BR&gt;2008-08-22 17:03:08 - ! [298] SQLServer Error: 53, Named Pipes Provider: Could not open a connection to SQL Server [53]. [SQLSTATE 08001] &lt;BR&gt;2008-08-22 17:03:08 - ! [165] ODBC Error: 0, Login timeout expired [SQLSTATE HYT00] &lt;BR&gt;2008-08-22 17:03:08 - ! [298] SQLServer Error: 53, An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. [SQLSTATE 08001] &lt;BR&gt;2008-08-22 17:03:08 - ! [382] Logon to server 'test' failed (DisableAgentXPs)&lt;BR&gt;2008-08-22 17:03:09 - ? [098] SQLServerAgent terminated (normally)"&amp;nbsp;*&lt;/P&gt;
&lt;P&gt;* Here, my alias was called test. &lt;/P&gt;
&lt;P&gt;We have at least two ways out of this one. &lt;/P&gt;
&lt;P&gt;1. We can create a valid alias with this name.&lt;/P&gt;
&lt;P&gt;2. We can modify the "Alias Local Host Server" property. The only problem is that since the SQL Server Agent doesn't start, we cannot open the Properties window for it in Management Studio and therefore cannot alter the settings. So, here is the Registry Key that corresponds to this property:&lt;/P&gt;
&lt;P&gt;HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL.1\SQLServerAgent\ServerHost&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8897261" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.msdn.com/emilianb/archive/tags/SQL+Server+Agent/default.aspx">SQL Server Agent</category></item></channel></rss>