Monday, March 26, 2012

Error When Opening SSMS Express

Hi, everyone.

I'm getting the following error when opening SQL Server Management Studio Express (long error message -- sorry).

************** Exception Text **************
System.IO.IOException: Cannot create a stable subkey under a volatile parent key.

at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.RegisteredServersUtils.CreateKeyValueIfNotExist(String regPath, String keyName)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.RegisteredServersUtils.RegisterLocalInstancesIfFirstTimeUser()
at Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionDialog.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I'm running on a clean install of Windows XP SP2, using SQL Server Express 2005 SP1, and Visual Studio 2005 Standard. I can click Continue and everything seems to work ok. However the same error message pops up intermittently when I'm working. I have tried the usual uninstall SSMSE and reinstall. I get the same results. I didn't have this error when using SSMSE CTP.

Any help would be appreciated. Thanks.

Flynn

Oddly enough, when I opened SSMSE this morning, it ran the initial setup and now everything works fine. I can only think it's because I logged off and back on after installing instead of performing a complete reboot cycle.

Anyway, I'm not getting any errors now when opening the program, or when working in it.

Flynn

sql

No comments:

Post a Comment