shawne
Well-known member
I have a dialog I wrote which is nothing more than a SQL server / database selector. It provides a graphical interface for a user to select their SQL server, database and authentication methods. Anyway, this worked fine prior to moving to Windows 10. Since moving to Windows 10 I'm unable to enumerate SQL servers using either SMO or System.Data.Sql.SqlDataSourceEnumerator. I've done some googling and have found where others have had the same issue but haven't seen a solution. I've tried changing .NET versions (currently on 4) and updating SMO. Nothing seems to work. What am I missing? Thanks in advance for any assistance.
or
VB.NET:
Dim instance As System.Data.Sql.SqlDataSourceEnumerator = System.Data.Sql.SqlDataSourceEnumerator.Instance
VB.NET:
SmoApplication.EnumAvailableSqlServers(False)