I have have an annoying problem. Essentially the SQL Express server is now unable to run on my laptop. What I have discovered was the fact that Read/Write permissions were removed from the Data folder holding the database files and the registry keys also were missing the necessary permissions. I have a pretty good idea how these permissions were incorrectly removed, but now I cannot get it fully restored. (think overzealous security team) I am hoping someone out there has experienced and solved this problem. Below are the messages I get in the event log:
UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered.
TDSSNIClient initialization failed with error 0x5, status code 0x90.
TDSSNIClient initialization failed with error 0x5, status code 0x1.
Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
So far I have restored access to the Data folder and the registry keys located at
Try Filemon, Regmon, and possibly Process Explorer. Hopefully they will show you the requests that are failing so you know where you need to change permissions.
http://www.sysinternals.com/Utilities/Filemon.html
http://www.sysinternals.com/Utilities/Regmon.html
http://www.sysinternals.com/Utilities/ProcessExplorer.html
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SQLEXPRESS\MSSQLServer\SuperSocketNetLib
This was the key. I needed to add full control to the SQL 2005 User. It works now!
- Thanks Kevin
Posted by: Brennan Stehling at March 30, 2006 01:42 PMComment Rules
Express your opinions and provide feedback, but abide by the following guidelines:
Comments which do not abide by the rules will be deleted.