安装vs2010时microsoft sql server2008express service组件失败
你先把之前安装的卸载干净了 按网上的教程来卸载 要不容易卸不干净 重启机器 再装一遍试试
Please
try to uninstall all components of SQL Server 2008 Express from
Programs and Features by following the below steps and try to manually
install SQL Server 2008 Express, then install Visual Studio 2010:
Remove all SQL Server components from 'Programs and Features'
Backup the registry
Delete the following keys in regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstalland delete all the sub-keys referencing SQL Server
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server
Rename all the SQL Server folders in the computer
Reboot the machine
Install SQL Server 2008under an administrator account
Please
try to uninstall all components of SQL Server 2008 Express from
Programs and Features by following the below steps and try to manually
install SQL Server 2008 Express, then install Visual Studio 2010:
Remove all SQL Server components from 'Programs and Features'
Backup the registry
Delete the following keys in regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstalland delete all the sub-keys referencing SQL Server
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server
Rename all the SQL Server folders in the computer
Reboot the machine
Install SQL Server 2008under an administrator account
温馨提示:答案为网友推荐,仅供参考