System crashed, MS SQL Server 2008 corrupted
Posted: 2009-10-15 23:38
My computer that is running hMailServer 5.1 crashed, and now my MS SQL Server Express 2008 database for the mail server is apparently corrupted.
When I go into SQL Management Studio, the hMailServer database is not shown under "Databases". When I do a refresh, I get the following error message:
Failed to retrieve data for this requestion (Microsoft.SQLServer.Management.Sdk.Sfc)
Additional Information:
-> An exception occurred while executing a Transact-SQL statement or batch
-> The server pricipal in "MyDomain\Administrator" is not able to access the database "EmailDB" under the current security context (Microsoft SQL Server, Error 916).
I figured, okay, I would just restore a recent backup. That got me this error message:
An exception occurred while executing a Transact_SQL statement or batch.
Additional Information:
-> CREATE DATABASE permission denied in database 'master'.
RESTORE HEADER ONLY is terminated abnormally (Microsoft SQL Server, Error 262).
Just wondering if anyone else has encountered this issue? And if so, what's the recommended steps to resolve it?
TIA,
Richard
When I go into SQL Management Studio, the hMailServer database is not shown under "Databases". When I do a refresh, I get the following error message:
Failed to retrieve data for this requestion (Microsoft.SQLServer.Management.Sdk.Sfc)
Additional Information:
-> An exception occurred while executing a Transact-SQL statement or batch
-> The server pricipal in "MyDomain\Administrator" is not able to access the database "EmailDB" under the current security context (Microsoft SQL Server, Error 916).
I figured, okay, I would just restore a recent backup. That got me this error message:
An exception occurred while executing a Transact_SQL statement or batch.
Additional Information:
-> CREATE DATABASE permission denied in database 'master'.
RESTORE HEADER ONLY is terminated abnormally (Microsoft SQL Server, Error 262).
Just wondering if anyone else has encountered this issue? And if so, what's the recommended steps to resolve it?
TIA,
Richard