ListAvailableSQLServrs() method problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • hrhoe

    #1

    ListAvailableSQLServrs() method problem

    Hi,
    I created a simple SQL related program with C#.
    This program had been working just fine.
    Since yesterday, the programd does not display two
    Server's name in the ComboBox list.

    I used SQLDMO's ListAvailableSQ LServrs method to retrieve
    available SQL Server lists in the network.

    The program working and other Server's names are shown in
    the list and I noticed that two Servers are in the
    different domains to the other servers.

    If I add two missing server's name by using
    this.cboServers .Items.Add("Mis singServer1");
    this.cboServers .Items.Add("Mis singServer2");
    then the program display all server names in the combobox.

    Does anyone can guess why this is happening?
    Probably the security or permission problem?
    I didn't make any major server wide setting change.

    I can add names into the combobox item manually,
    but I just want to know the reason.
    Any comment or adivice would be helpful

    I'm using SQL Server 2000 Standard Edition w/ SP3 and
    Visual Studio .NET Enterprise Architecture on
    Windows XP machine.

    Thank you,

    - Hyung -

Working...