I am running SQL Server 7.0 on a XP box. I am unable to start the SQL Server due to the following error. I do not have a good backup of my database.
Your SQL Server installation is either corrupt or has been tampered with (unknown Package id. Please rerun setup.
I am afraid if I rerun the setup I will screw up my database. Since I don't have a good backup I need to be careful. Any suggestions on how to proceed are welcomed.
In SQL SERVER 2008 read below First try to change the mode to READ_WRITE. Do it from SSMS or run
ALTER DATABASE MyDatabase SET READ_WRITE
If it fails, then maybe the error message will give you a hint. Also check the MDF/LDF file-level permissions and make sure the account running SQL Server Database Engine has read/write permissions.
Also check the SQL Server ERRORLOG file - it may have more details about the reason
Copy the .mdf, .ldf and, if applicable, the .ndf files somewhere safe. Make sure the SQL service is stopped before you do that. Once you have those somewhere safe, try rerunning setup to fix whatever's busted with the servics