<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.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>Piotr Rodak : SSRS, tips and tricks</title><link>http://sqlblog.com/blogs/piotr_rodak/archive/tags/SSRS/tips+and+tricks/default.aspx</link><description>Tags: SSRS, tips and tricks</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Uninstalling Reporting Server 2008 on Windows Server 2008</title><link>http://sqlblog.com/blogs/piotr_rodak/archive/2010/12/23/uninstalling-reporting-server-2008-on-windows-server-2008.aspx</link><pubDate>Thu, 23 Dec 2010 00:03:18 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:31909</guid><dc:creator>Piotr Rodak</dc:creator><slash:comments>9</slash:comments><comments>http://sqlblog.com/blogs/piotr_rodak/comments/31909.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/piotr_rodak/commentrss.aspx?PostID=31909</wfw:commentRss><description>&lt;p&gt;Ha. I had quite disputable pleasure of installing and reinstalling and reinstalling and reinstalling – I think about 5 times before it worked – Reporting Server 2008 on Windows Server with the same year number in name. &lt;/p&gt;  &lt;p&gt;During my struggle I came across an error which seems to be not quite unfamiliar to some more unfortunate developers and admins who happen to uninstall SSRS 2008 from the server. I had the SSRS 2008 installed as named instance, &lt;strong&gt;SQL2008&lt;/strong&gt;. I wanted to uninstall the server and install it to default instance. And this is when it bit me – not the first time and not the last that day &lt;img style="border-bottom-style:none;border-right-style:none;border-top-style:none;border-left-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://sqlblog.com/blogs/piotr_rodak/wlEmoticon-smile_2FA89F51.png" /&gt;. The setup complained that it couldn’t access a DLL:&lt;/p&gt;    &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:4a1cd680-0f0b-4d78-a2dd-cf4755a047e1" class="wlWriterEditableSmartContent"&gt;&lt;pre style="width:950px;height:324px;background-color:White;overflow:auto;"&gt;&lt;div&gt;&lt;span style="color:#000000;"&gt;Error message:

TITLE: Microsoft SQL Server &lt;/span&gt;&lt;span style="color:#000000;"&gt;2008&lt;/span&gt;&lt;span style="color:#000000;"&gt; Setup

&lt;/span&gt;&lt;span style="color:#000000;"&gt;------------------------------&lt;/span&gt;&lt;span style="color:#000000;"&gt;

The following error has occurred:

Access to the path &lt;/span&gt;&lt;span style="color:#000000;"&gt;'&lt;/span&gt;&lt;span style="color:#000000;"&gt;C:\Windows\SysWOW64\perf-ReportServer$SQL2008-rsctr.dll&lt;/span&gt;&lt;span style="color:#000000;"&gt;'&lt;/span&gt;&lt;span style="color:#000000;"&gt; is denied.

For help, click: http:&lt;/span&gt;&lt;span style="color:#008000;"&gt;//&lt;/span&gt;&lt;span style="color:#008000;"&gt;go.microsoft.com/fwlink?LinkID=20476&amp;amp;ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=setup.rll&amp;amp;EvtID=50000&amp;amp;ProdVer=10.0.1600.22&amp;amp;EvtType=0x60797DC7%25400x84E8D3C0&lt;/span&gt;&lt;span style="color:#008000;"&gt;
&lt;/span&gt;&lt;span style="color:#000000;"&gt;
&lt;/span&gt;&lt;span style="color:#000000;"&gt;------------------------------&lt;/span&gt;&lt;span style="color:#000000;"&gt;

BUTTONS:

OK&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;This is a screenshot that shows the above error:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://public.bay.livefilestore.com/y1pCN0negrAA7ln4AX9SQex7E9FLqCpuysstBd-mHMAaMTxUskqK3-xkXdGjdqzoJ-B32ldY9TqcTjadtaozaLAZA/ScreenShot021.jpg?psid=1" /&gt;&lt;/p&gt;

&lt;p&gt;This issue seems to have a bit of literature dedicated to it and even seemingly a KB article &lt;a title="http://support.microsoft.com/kb/956173" href="http://support.microsoft.com/kb/956173"&gt;http://support.microsoft.com/kb/956173&lt;/a&gt; and a similar Connect item: &lt;a title="http://connect.microsoft.com/SQLServer/feedback/details/363653/error-messages-when-upgrading-from-sql-2008-rc0-to-rtm" href="http://connect.microsoft.com/SQLServer/feedback/details/363653/error-messages-when-upgrading-from-sql-2008-rc0-to-rtm"&gt;http://connect.microsoft.com/SQLServer/feedback/details/363653/error-messages-when-upgrading-from-sql-2008-rc0-to-rtm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The article describes issue as following:&lt;/p&gt;

&lt;p&gt;When you try to uninstall Microsoft SQL Server 2008 Reporting Services from the server, you may receive the following error message: &lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;An error has occurred: 
    &lt;br /&gt;Access to the path 'Drive_Letter:\WINDOWS\system32\perf-ReportServer-rsctr.dll' is denied. &lt;/p&gt;

  &lt;p&gt;&lt;b&gt;Note &lt;/b&gt;Drive_Letter refers to the disc drive into which the SQL Server installation media is inserted.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In my case, the &lt;strong&gt;Note&lt;/strong&gt; was not true; the error pointed to a dll that was located in Windows folder on C:\, not where the installation media were. &lt;/p&gt;

&lt;p&gt;&lt;img src="http://public.bay.livefilestore.com/y1pCN0negrAA7l3qBM1o2I8RtA3GEKcGYJRI0aDbmnL0SmFNJXNdG9_MWDeSZralYa6m_KDdImUOe0pdMrOWqhgEQ/ScreenShot022.jpg?psid=1" /&gt;&lt;/p&gt;

&lt;p&gt;Despite this difference I tried to identify any processes that might be keeping lock on the dll. I downloaded Sysinternals &lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb896653"&gt;process explorer&lt;/a&gt; and ran it to find any processes I could stop. Unfortunately, there was no such process.&lt;/p&gt;

&lt;p&gt;I tried to rerun the installation, but it failed at the same step.&lt;/p&gt;

&lt;p&gt;Eventually I decided to remove the dll before the setup was executed. I changed name of the dll to be able to restore it in case of some issues. Interestingly, Windows let me do it, which means that indeed, it was not locked by any process.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://public.bay.livefilestore.com/y1pRWEBMCwSUz24Phn7VhqsDoAumxEb8vENzx0_OXTBsPuoWkrAh_gLWmOR8QTgQwfJ8vzdGIGXtPjWzCTFLavN8A/ScreenShot024.jpg?psid=1" /&gt;&lt;/p&gt;

&lt;p&gt;I ran the setup and this time it uninstalled the instance without any problems:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://public.bay.livefilestore.com/y1pCN0negrAA7nby79V4ZYIHWkUALMPnDEHk_baD2CRXOzvUwaAPo7wDcaCqbRoOS66mK1PATt8pFjNZVY_gKuywA/ScreenShot023.jpg?psid=1" /&gt;&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;To summarize my experience I should say – be &lt;strong&gt;very&lt;/strong&gt; careful, don’t leave any leftovers after uninstallation – remove/rename any folders that are left after setup has finished. For some reason, setup doesn’t remove folders and certain files. Installation on Windows Server 2008 requires more attention than on Windows 2003 because of the changed security model, some actions can be executed only by administrator in elevated execution mode. In general, you have to get used to &lt;a href="http://en.wikipedia.org/wiki/User_Account_Control"&gt;UAC&lt;/a&gt; and a bit different experience than with Windows Server 2003.&lt;/p&gt;

&lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5ecca658-04dd-491c-97b9-7b7e7def3df9" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server+2008" rel="tag"&gt;SQL Server 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Windows+Server+2008" rel="tag"&gt;Windows Server 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SRS" rel="tag"&gt;SRS&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Reporting+Services" rel="tag"&gt;Reporting Services&lt;/a&gt;&lt;/div&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=31909" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/piotr_rodak/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://sqlblog.com/blogs/piotr_rodak/archive/tags/SSRS/default.aspx">SSRS</category><category domain="http://sqlblog.com/blogs/piotr_rodak/archive/tags/tips+and+tricks/default.aspx">tips and tricks</category><category domain="http://sqlblog.com/blogs/piotr_rodak/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item></channel></rss>