18 Mart 2008 Salı

"Cannot find the principal 'test', because it does not exist or you do not have permission. (Microsoft SQL Server, Error: 15151)"

HATA MESAJI:
"Cannot find the principal 'test', because it does not exist or you do not have permission. (Microsoft SQL Server, Error: 15151)"

AÇIKLAMA:
Bu hata mesajını, SQL Server Management Studio kullanarak bir bir veritabanını bir SQL Server Instance' ına iliştirmeye çalışırken alabilirsiniz.

Nedeni ise, SSMS' te, veritabanınızı iliştirmek için açmış olduğunuz "Attach Databases" penceresindeki "Databases to Attach" bölümünde bulunan "Owner" seçeneğinde geçersiz bir "Login" hesabının bulunmasıdır.

ÇÖZÜM:
Sorunu çözmek için, "Attach Databases" penceresindeki "Databases to Attach" bölümünde bulunan "Owner" seçeneğinde, SQL Server Instance' ınızdaki geçerli ve yeterli haklara sahip bir "Login" hesabını seçtiğinizden emin olun.

Hiç yorum yok: