Logg på med Microsoft
Logg på, eller opprett en konto.
Hei,
Velg en annen konto.
Du har flere kontoer
Velg kontoen du vil logge på med.
Engelsk
Beklager. Denne artikkelen er ikke tilgjengelig på språket ditt.

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.

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 2012Note 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.

Trenger du mer hjelp?

Vil du ha flere alternativer?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Var denne informasjonen nyttig?

Hva påvirket opplevelsen din?
Når du trykker på Send inn, blir tilbakemeldingen brukt til å forbedre Microsoft-produkter og -tjenester. IT-administratoren kan samle inn disse dataene. Personvernerklæring.

Takk for tilbakemeldingen!

×