sql server 2008r2安裝注意的問題
一天半的時間,反覆解除安裝重灌試了幾次,本小白終於安裝好了sql server此次開啟光明的人生之路,現記錄幾個需要注意的問題
(一)解除安裝(如果Microsoft SQL Server 2008 R2沒有安裝成功,找不到自帶解除安裝程式的話)
1.控制面板->解除安裝程式->sql server 2008相關
2.下載安裝 microsoft installation clean up,開啟C:\Program Files (x86)\Windows Installer Clean Up\msicuu.exe,選擇sql server
3.刪除檔案:c\progran files\microsoft sql server
c\program files(x86)\microsoft sql server
c\program files(x86)\microsoft sql server compact editon
4.清理登錄檔:win+r,輸入regedit,開啟登錄檔編輯器
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
(二)‘重灌(只說遇到的問題)
1.應用程式無法處理的異常,刪除檔案:C:\Users\Administrator\AppData\Local \Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx
2.重啟計算機未通過,開啟登錄檔編輯器,HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager,然後在右側選擇刪除PendingFileRenameOperations
3.could not open key,許可權設定有問題,導致程式無法訪問,開啟登錄檔編輯器,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows\CurrentVersion\ Installer\ UserData\ S-1-5-18\ Components 右鍵->許可權->新增->高階->立即查詢->選擇everyone->確定,高階->所有者->將system按上述方法改為everyone,勾選替換子容器和物件,確定
4..功能共享目錄(shared feature directory,1000+M)與例項根目錄(instance root directory,1000+M)可以修改安裝路徑到d盤,系統配置檔案在C盤