Sqlserver-dba.com

mssqlsystemresource moving error

Trying to run the following :


ALTER DATABASE mssqlsystemresource
MODIFY FILE (NAME = data, FILENAME = 'D:\MSSQLSERVER\MY_SQL_SERVER_INSTANCE\Data\mssqlsystemresource.mdf')
GO
ALTER DATABASE  mssqlsystemresource
MODIFY FILE (NAME = log, FILENAME = 'D:\MSSQLSERVER\MY_SQL_SERVER_INSTANCE\Data\mssqlsystemresource.ldf')
GO

error is :
Could not locate entry in sysdatabases for database 'mssqlsystemresource'

 

Tried the following  and it solved the problem:

 

NET START MY_SQL_SERVER_INSTANCE /f /T3608

The "/f" switch - This flag starts SQL Server with minimal configuration and allows updates to system tables. Sometimes a DBA makes config

changes , which won't allow the SQL Server instance to start.The switch is useful , as sometimes it is the only way to correct

configuration mistakes

The "/T3608" flag skips automatic recovery for all databases except the master database at the startup

Source:Jack Vamvas (http://www.sqlserver-dba.com)
Author: Jack Vamvas (http://www.sqlserver-dba.com)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact