OpenSubKey() method cannot found Bootstrap R2 key
-
2012년 5월 30일 수요일 오전 5:30
Hello all
I have a program to find registry key. this program work well till I am entering registry key of sql server 2008 such as follow :
rk.OpenSubKey("SOFTWARE\\Microsoft\\Microsoft SQL Server\\100\\Bootstrap R2\\1033\\CurrentVersion");
I can open key"SOFTWARE\\Microsoft\\Microsoft SQL Server\\100"
but when I am adding "BootStrap R2" the method return null.
Sincerely you M.Bagheri
모든 응답
-
2012년 5월 30일 수요일 오전 5:40
Are you on 64 bit machine ?
If yes check below
http://msdn.microsoft.com/en-us/library/aa384232(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/aa384129(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/aa384237(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/aa384182(v=vs.85).aspx
Regards,
Ahmed Ibrahim
SQL Server Setup Team
This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click "Mark as Answer" and "Vote as Helpful" on posts that help you.
This can be beneficial to other community members reading the thread.- 답변으로 표시됨 Aziz Banihashemi 2012년 5월 30일 수요일 오전 6:12
-
2012년 5월 30일 수요일 오전 6:12Hi Ahmed thank you for your answer. I think that my problem is bout your response(64 or 32 bit) but in Wow6432Node I don't found any key to get current version of Sql server . this directory is not same directory in SOFTWARE. what key I must check to get current version. thank you very much for your attention sincerely you M.Bagheri

