1. Per the DataZulu reference, I looked for registry entries in HKLM\Software\Microsoft\MSSQLServer\MSSQLServer: I had none. I made DefaultData & DefaultLog string entries, and pointed them where my master databases and log files were respectively.
2. Coped the following into C:\fixit.sql
declare @SmoDefaultFile nvarchar(512)
exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'DefaultData', @SmoDefaultFile OUTPUT
declare @SmoDefaultLog nvarchar(512)
exec master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'DefaultLog', @SmoDefaultLog OUTPUT
SELECT
ISNULL(@SmoDefaultFile,N'') AS [DefaultFile],
ISNULL(@SmoDefaultLog,N'') AS [DefaultLog]
3. Ran net start MSSQLSERVER /f /T3608 & sqlcmd -A -i c:\fixit.sql -o c:\sql.txt from the command line: the first command starts an admin-only SQL server; the second command will process the SQL fix DataZulu posted.
4. The file made by the second command (C:\SQL.TXT) should list where SQL Server is trying to find stuff: in this case, it was a missing folder on E-drive. So I made the folder it wanted, and restarted the service.
5. The service started working properly, and created a 1KB MS_AgentSigningCertificate.cer file in that folder I made.
All this trouble, because I think Microsoft wanted to do something with a security certificate. (shakes head)
0 comments:
Post a Comment