FIX: "Cannot show requested dialog" error message when you try to view properties of a database in a SQL Server 2012 instance

Article translations Article translations
Article ID: 2714785 - View products that this article applies to.
Microsoft distributes Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You create a new SQL Server login ID and then assign the login ID as the owner of a database on a Microsoft SQL Server 2012 instance.
  • You log in to the SQL Server 2012 instance by using the new login ID.
  • You try to view properties of a database in the SQL Server 2012 instance.
In this scenario, you receive the following error message:
Cannot show requested dialog.

Additional information:

Cannot show requested dialog. (SqlMgmt)

An exception occurred while executing a Transact-SQL statement or batch.

(Microsoft.SqlServer.ConnectionInfo)

The user does not have permission to perform this action. (Microsoft SQL Server, Error: 297)

Cause

This issue occurs because VIEW SERVER STATE permission is required when you try to view the database property.

When you click Database Properties, SQL Server Management Studio (SSMS) runs queries against the following dynamic management views (DMVs): 
  • sys.dm_hadr_cluster
  • sys.dm_database_encryption_keys
  These DMVs are new to SQL Server 2012 and require server-level permissions. 

Resolution

Cumulative update information

SQL Server 2012

The fix for this issue was first released in Cumulative Update 2 for SQL Server 2012 Service Pack RTM. For more information about this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2703275 Cumulative update package 2 for SQL Server 2012
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release. Microsoft recommends that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2692828 The SQL Server 2012 builds that were released after SQL Server 2012 was released
Microsoft SQL Server 2012 hotfixes are created for specific SQL Server service packs. You must apply a SQL Server 2012 Service Pack RTM hotfix to an installation of SQL Server 2012 Service Pack RTM. By default, any hotfix that is provided in a SQL Server service pack is included in the next SQL Server service pack.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Workaround

To work around this issue, grant VIEW SERVER STATE permissions to the login ID that you created.

Properties

Article ID: 2714785 - Last Review: November 19, 2012 - Revision: 2.0
Applies to
  • Microsoft SQL Server 2012 Business Intelligence
  • Microsoft SQL Server 2012 Developer
  • Microsoft SQL Server 2012 Enterprise
  • Microsoft SQL Server 2012 Express
  • Microsoft SQL Server 2012 Standard
  • Microsoft SQL Server 2012 Web
  • SQL Server 2012 Enterprise Core
Keywords: 
kbtshoot kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2714785

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com