IBM Support

IC67631: IFXDATASOURCEENUMERATOR.GETDATASOURCES HANGS WHEN A WRONG PASSWORD IS PROVIDED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • An application which retrieves DataSources via
    IfxDataSourceEnumerator hangs when a wrong password is provided.
    
    IfxDataSourceEnumerator enumerator = new
    IfxDataSourceEnumerator();
    
    var sources = enumerator.GetDataSources(server, port, userid,
    password);
    foreach (DataRow source in sources.Rows)
    {
      String database = (String)source[0];
      Console.WriteLine(database);
    }
    
    The application does not return an error and there is no message
    in db2diag.log.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Windows .NET                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * IFXDATASOURCEENUMERATOR.GETDATASOURCES HANGS WHEN A          *
    * WRONGPASSWORD IS PROVIDEDAn application which retrieves      *
    * DataSources viaIfxDataSourceEnumerator hangs when a wrong    *
    * password isprovided.IfxDataSourceEnumerator enumerator =     *
    * newIfxDataSourceEnumerator();var sources =                   *
    * enumerator.GetDataSources(server,                            *
    * port,userid,password);foreach (DataRow source in             *
    * sources.Rows){String database =                              *
    * (String)source[0];Console.WriteLine(database);}The           *
    * application does not return an error and there is            *
    * nomessagein db2diag.log.                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Data Server Provider for .Net 9.7 Fix Pack 3. *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 3. This fix
    should be applied on the client.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC67631

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-05

  • Closed date

    2010-10-07

  • Last modified date

    2010-10-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • R820 PSN

       UP

  • R910 PSN

       UP

  • R950 PSN

       UP

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC67631

Modified date: 07 October 2010