• Management Pack:  SQL Server
  • MP Version:  6.3
  • Released:  4/2/2012
  • Publisher:  Microsoft

Database cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details Rule

  • ID:  Microsoft.SQLServer.2005.Database_cannot_be_opened_due_to_inaccessible_files_or_insufficient_memory_or_disk_space._See_the_SQL_Server_errorlog_for_details_1_5_Rule
  • Description:   
  • Target:  SQL Server 2005 DB Engine
  • Enabled:  Yes

Overridable Parameters

Parameter Name Default Value Description Override
Priority 1  
Severity 1  

Run As Profiles

Name
SQL Server Default Action Account

Alert Details

Message Priority Severity
Database cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details Medium Warning

Rule Knowledgebase

Summary

Error 945 is returned when the database is marked IsShutdown. This occurs when a database cannot be recovered due to missing files, or some other resource error that usually can be corrected easily.

Causes
This rule does not contain any causes.
Resolutions

First, verify that the database is marked IsShutdown using DATABASEPROPERTY.

Then, determine the cause of the error by consulting the errorlog, and take action as noted below.

  • Make the files available and bring the database OFFLINE using ALTER DATABASE.

  • Use ALTER DATABASE to bring the database ONLINE

First, verify that the database is marked IsShutdown using DATABASEPROPERTY

Then, determine the cause of the error by consulting the errorlog, and take action as noted below.

If one or more data or log files are missing:

  • Make the files available and bring the database OFFLINE using ALTER DATABASE.

  • Use ALTER DATABASE to bring the database ONLINE.

If insufficient log space:

  • Use sp_add_log_file_recover_suspect_db() to add another log file

The database is recovered and brought online by this procedure.

If insufficient data space:

  • Use sp_add_data_file_recover_suspect_db() to add another log file

The database is recovered and brought online by this procedure.

If insufficient memory:

The insufficient memory error can occur when a number of databases are recovered at the same time. Retrying the operation may fix the problem:

  • Retry the operation using ALTER DATABASE to bring the database OFFLINE

  • Use ALTER DATABASE to bring the database ONLINE

If retrying the operation does not work, consider freeing up memory.

External References
This rule does not contain any external references.

See Also for SQL Server Management Pack


Downloads

Enrique
Posted : Saturday, June 28, 2014 10:10:17 AM(UTC)

Comments: 1

Due to over storage of SQL database files the memory allocation refuses and creates some errors which are responsible for SQL database inaccessibility. You must go through this to learn more about resolving solutions:- http://www.sqlrecoverysoftware.net/blog/sql-error-926-and-945.html