GetServerList: list is empty
GetServerList: list is empty
I just installed SQL Server 2008 on a Vista business. I develop with Delphi 7, SDAC 4.70. If I open the drop-down-list of a TMsConnection-component it returns an empty list. Same if I call GetServerList-function. In MS SQL Server Management Studio I can see the installed server and can connect. Any idea wher the problem is? Thanks in advance, Peter
I found the problem: the key "HEKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\ConnectTo" exits in my registry and in procedure GetServerList you open first this key, then the key "...Microsoft SQL Server\Instance Names\SQL but you don't close the prior opened key. Please fix it. And I can delete my key "ConnectTo".
Question: are the keys "...\MSSQLServer" from an older installation (2005) and not cleaned properly by uninstalling that server? Can I delete the hole key when I work with MS SQL Server 2008?
Question: are the keys "...\MSSQLServer" from an older installation (2005) and not cleaned properly by uninstalling that server? Can I delete the hole key when I work with MS SQL Server 2008?
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next SDAC build.formi wrote:I found the problem: the key "HEKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\ConnectTo" exits in my registry and in procedure GetServerList you open first this key, then the key "...Microsoft SQL Server\Instance Names\SQL but you don't close the prior opened key. Please fix it. And I can delete my key "ConnectTo".
If you mean the "HEKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\ConnectTo" key then you can delete it.formi wrote:Question: are the keys "...\MSSQLServer" from an older installation (2005) and not cleaned properly by uninstalling that server? Can I delete the hole key when I work with MS SQL Server 2008?
[/img]