<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet href="/feed_style.xsl" type="text/xsl"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="https://www.rssboard.org/media-rss">
  <channel>
    <title>SQL Server 2008 R2 on El blog de Ignacio</title>
    <link>https://www.igalvan.es/tags/sql-server-2008-r2/</link>
    <description>Recent content in SQL Server 2008 R2 on El blog de Ignacio</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>es</language>
    <copyright>Ignacio Galván Vitas</copyright>
    <lastBuildDate>Wed, 17 Aug 2011 21:19:00 +0100</lastBuildDate><atom:link href="https://www.igalvan.es/tags/sql-server-2008-r2/index.xml" rel="self" type="application/rss+xml" /><icon>https://www.igalvan.es/logo.svg</icon>
    
    
    <item>
      <title>Reporting Services 2008 no arranca después de actualizar a R2</title>
      <link>https://www.igalvan.es/posts/reporting-services-2008-no-arranca_5311/</link>
      <pubDate>Wed, 17 Aug 2011 21:19:00 +0100</pubDate>
      
      <guid>https://www.igalvan.es/posts/reporting-services-2008-no-arranca_5311/</guid>
      <description><![CDATA[<p>Me encontraba yo aburrido y me dio por actualizar una instancia de <i>SQL Server 2008</i>, que utilizo en una maqueta para un curso, a <i>SQL Server 2008 R2</i>. En principio todo fue correctamente hasta que probé a arrancar el <i>Reporting Services</i> y me encontré con el error mostrado en la figura siguiente.<br /><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody><br /> <tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-sZEr3N0q104/TkwfRZdmlAI/AAAAAAAAAys/R0vQ8Tjw36U/s1600/7.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="326" src="http://4.bp.blogspot.com/-sZEr3N0q104/TkwfRZdmlAI/AAAAAAAAAys/R0vQ8Tjw36U/s400/7.jpg" width="400" /></a></td></tr><br /> <tr><td class="tr-caption" style="text-align: center;">Error al arrancar <i>Reporting Services</i></td></tr><br /> </tbody></table><br /><a name='more'></a>El primer paso fue revisar el visor de eventos donde me encontré con los eventos 113, 140 de «Report Server Windows Service (MSSQLSERVER)» y 0 de «SQL Server Reporting Services (MSSQLSERVER)» que son bastante poco indicativos de cuál era el problema que estaba impidiendo arrancar el servicio con normalidad.<br /><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody><br /> <tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-l-uugSaNjf4/Tkwe5ddySjI/AAAAAAAAAyo/zoIkf067jD0/s1600/8.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="398" src="http://2.bp.blogspot.com/-l-uugSaNjf4/Tkwe5ddySjI/AAAAAAAAAyo/zoIkf067jD0/s400/8.jpg" width="400" /></a></td></tr><br /> <tr><td class="tr-caption" style="text-align: center;">Eventos de Aplicación 113, 140 y 0</td></tr><br /> </tbody></table>El siguiente paso fue revisar el log de errores de <i>Reporting Services</i> filtrando los mensajes de error y me encontré el siguiente mensaje de error «ERROR: Error creating counter.  Category: MSRS 2008 R2 Windows Service, Counter: Report Requests, Instance: MSSQLSERVER.  Error Description: System.InvalidOperationException: El contador de rendimiento solicitado no es un contador personalizado, se debe inicializar como ReadOnly».<br /><br />Tras un ratito maldiciendo mi ocurrencia de actualizar algo que estaba funcionando y de paso buscando por <i>Google</i> (que diferente sería nuestra vida sin <i>Internet</i>) he encontrado el <a href="http://support.microsoft.com/kb/956155/en-us" target="_blank">KB956155</a> de <i>Microsoft</i> donde habla de un problema al eliminar la versión de 32 bits de <i>SQL Server 2008</i> que hace que se borren varias claves del «Registro de <i>Windows</i> siendo una de ellas la que indica el error que aparecía en mi fichero de <i>log</i>.<br /><br />Aunque no se trata del mismo error decido crear las cuatro claves de registro según indica el «Método 2» del KB. Resumiendo, se trata de crear las siguiente claves de tipo multi-cadena (REG_MULTI_SZ) sin ningún valor:<br /><ul><li>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSRS 2008 Web Service\Performance:Counter Names</li><br /> <li>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSRS 2008 Web Service\Performance:Counter Types</li><br /> <li>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSRS 2008 Windows Service\Performance:Counter Names</li><br /> <li>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSRS 2008 Windows Service\Performance:Counter Types</li><br /> </ul><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody><br /> <tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-_MHf7AerZx8/Tkwdv1Kkh_I/AAAAAAAAAyk/vFol6UKnQWA/s1600/9.jpg.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="277" src="http://1.bp.blogspot.com/-_MHf7AerZx8/Tkwdv1Kkh_I/AAAAAAAAAyk/vFol6UKnQWA/s400/9.jpg.jpg" width="400" /></a></td></tr><br /> <tr><td class="tr-caption" style="text-align: center;">Claves de registro generadas</td></tr><br /> </tbody></table>Por último solo quedaba arrancar el servicio y comprobar que ya se encontraba operativo nuevamente tal y como se muestra en esta última figura.<br /><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody><br /> <tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-l5vG9EqGv68/TkwdS3Zkc2I/AAAAAAAAAyg/6HeV1Q5kODc/s1600/10.jpg.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="211" src="http://1.bp.blogspot.com/-l5vG9EqGv68/TkwdS3Zkc2I/AAAAAAAAAyg/6HeV1Q5kODc/s400/10.jpg.jpg" width="400" /></a></td></tr><br /> <tr><td class="tr-caption" style="text-align: center;">Inicio normal de<i> Reporting Services</i></td></tr><br /> </tbody></table>Con esto me despido hasta el próximo artículo.</p>
]]></description>
      
    </item>
    
    
  </channel>
</rss>
