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)This is only a preview. Your comment has not yet been posted.
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.
Posted by: |