Errore MS SQL "Il proprietario della proprietà non è disponibile"
Problema
Quando si tenta di accedere alle proprietà di un database in Microsoft SQL Server Management Studio, viene visualizzato il seguente errore:
Microsoft SQL Server Management Studio Cannot show requested dialog. ADDITIONAL INFORMATION: Cannot show requested dialog. (SqlMgmt) Property Owner is not available for Database '[databasename]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo) Causa
Il proprietario del database selezionato è impostato su un utente diverso dall'utente sa.
Soluzione
- Fai clic su Nuova query pulsante
- Copia il seguente script nella casella Nuova query sostituendo [databasename] con il nome del database con cui stai lavorando.
use [databasename]EXECsp_changedbowner'sa' - Fai clic su Esegui