<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DB Upgrade 6.4.2 -&amp;gt; 6.5 VIEW SERVER STATE permission was denied on object 'sevrer' database 'master' The user does not have permsission to perform this action in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/DB-Upgrade-6-4-2-gt-6-5-VIEW-SERVER-STATE-permission-was-denied/m-p/52554#M7409</link>
    <description>Hello together,&lt;BR /&gt;&lt;BR /&gt;we try to upgrade our BP Dev System and get this error on our BP DB Admin User.&lt;BR /&gt;Is it a bug? The user was used in the past for every db update and has done it successfully.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26013.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26144i157BFC03D26508E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="26013.png" alt="26013.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Silvio Gerstenberger&lt;BR /&gt;RPA Developer&lt;BR /&gt;Schneider Electric&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Jun 2019 09:55:00 GMT</pubDate>
    <dc:creator>Silvio.Gerstenberger</dc:creator>
    <dc:date>2019-06-11T09:55:00Z</dc:date>
    <item>
      <title>DB Upgrade 6.4.2 -&gt; 6.5 VIEW SERVER STATE permission was denied on object 'sevrer' database 'master' The user does not have permsission to perform this action</title>
      <link>https://community.blueprism.com/t5/Product-Forum/DB-Upgrade-6-4-2-gt-6-5-VIEW-SERVER-STATE-permission-was-denied/m-p/52554#M7409</link>
      <description>Hello together,&lt;BR /&gt;&lt;BR /&gt;we try to upgrade our BP Dev System and get this error on our BP DB Admin User.&lt;BR /&gt;Is it a bug? The user was used in the past for every db update and has done it successfully.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26013.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26144i157BFC03D26508E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="26013.png" alt="26013.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Silvio Gerstenberger&lt;BR /&gt;RPA Developer&lt;BR /&gt;Schneider Electric&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jun 2019 09:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/DB-Upgrade-6-4-2-gt-6-5-VIEW-SERVER-STATE-permission-was-denied/m-p/52554#M7409</guid>
      <dc:creator>Silvio.Gerstenberger</dc:creator>
      <dc:date>2019-06-11T09:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: DB Upgrade 6.4.2 -&gt; 6.5 VIEW SERVER STATE permission was denied on object 'sevrer' database 'master' The user does not have permsission to perform this action</title>
      <link>https://community.blueprism.com/t5/Product-Forum/DB-Upgrade-6-4-2-gt-6-5-VIEW-SERVER-STATE-permission-was-denied/m-p/52555#M7410</link>
      <description>&lt;DIV nr="" class="answer-list__content"&gt;
&lt;DIV nr="" class="scrollable scrollable--no-scroll"&gt;
&lt;DIV nr="" class="answer-content" tabindex="0"&gt;
&lt;DIV nr="" class="answer-content__singlepage"&gt;
&lt;DIV nr="" class="answer-body"&gt;
&lt;DIV nr="" class="answer-body__html" nr-normalize=""&gt;
&lt;P&gt;Hi Silvio&lt;BR /&gt;&lt;BR /&gt;This error occurs because there is an additional permissions requirement to perform the 6.5 upgrade.&lt;/P&gt;
&lt;P&gt;Specifically, the error message indicates that the&amp;nbsp;user performing the database upgrade needs&amp;nbsp;the 'VIEW SERVER STATE' database permission&amp;nbsp;in order to allow you to run the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;sys.dm_db_partition_stats&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;system view, which is used to determine&amp;nbsp;size of the session log table before the ugprade commences.&amp;nbsp;This permission is required in order to allow you to run the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;sys.dm_db_partition_stats&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;system view.&lt;/P&gt;
&lt;P&gt;The following Microsoft article provides further details on this issue:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-partition-stats-transact-sql" target="_blank" rel="noopener"&gt;sys.dm_db_partition_stats (Transact-SQL)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;How to resolve your issue&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To fix this issue, you will need to ask your Database Administrator to grant this permission to the user.&lt;/P&gt;
&lt;P&gt;The following command can be run to grant the permission (where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"dbid"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the user to grant the permission to):&lt;/P&gt;
&lt;DIV class="bquote"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;
&lt;P&gt;use master;&lt;BR /&gt;grant view server state to "dbid";&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;It may be simpler to temporarily give your user the sysadmin user role if this would be appropriate in your environment.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This action is only required once and&amp;nbsp;the&amp;nbsp;permission can be revoked again once the upgrade is completed.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV nr="" class="answer-list__footer"&gt;
&lt;DIV class="sticky-block--fake"&gt;&lt;/DIV&gt;
&lt;DIV nr="" class="answer-footer answer-footer--sticky"&gt;
&lt;DIV nr="" class="answer-footer__feedback"&gt;Further details can be found in our Knowledge Base article here -&amp;nbsp;&lt;SPAN&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1341252052" target="test_blank"&gt;http://portal.blueprism.com/customer-support/support-center#/path/1341252052&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Hope that helps! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Samantha Shaw &lt;BR /&gt;Head of Customer Support (EMEA)&lt;BR /&gt;Blue Prism&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jun 2019 06:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/DB-Upgrade-6-4-2-gt-6-5-VIEW-SERVER-STATE-permission-was-denied/m-p/52555#M7410</guid>
      <dc:creator>SamanthaShaw</dc:creator>
      <dc:date>2019-06-12T06:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: DB Upgrade 6.4.2 -&gt; 6.5 VIEW SERVER STATE permission was denied on object 'sevrer' database 'master' The user does not have permsission to perform this action</title>
      <link>https://community.blueprism.com/t5/Product-Forum/DB-Upgrade-6-4-2-gt-6-5-VIEW-SERVER-STATE-permission-was-denied/m-p/52556#M7411</link>
      <description>Hi Samantha,&lt;BR /&gt;&lt;BR /&gt;thanks a lot for the helping hints.&lt;BR /&gt;&lt;BR /&gt;We have solved it now.&lt;BR /&gt;&lt;BR /&gt;Wish you a nice week.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Silvio&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Silvio Gerstenberger&lt;BR /&gt;RPA Developer&lt;BR /&gt;Schneider Electric&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jun 2019 10:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/DB-Upgrade-6-4-2-gt-6-5-VIEW-SERVER-STATE-permission-was-denied/m-p/52556#M7411</guid>
      <dc:creator>Silvio.Gerstenberger</dc:creator>
      <dc:date>2019-06-12T10:27:00Z</dc:date>
    </item>
  </channel>
</rss>

