none
Using ADOMD.NET 9 with AS2000 connection problem RRS feed

  • Question

  •  

    Hi, i need help.

     

    I am using ADOMD.NET 9 to connect with AS2000 and AS2005, and the

    connections to both work fine. However something rare happen. If i add a

    counter "Current Connections" of AS in the Performance tool, with AS2005 all

    work ok, but with AS2000 for each open connection that i make, Two connection

    appear in the Performance tool, after when i close de connection only close

    one connection.

     

    If i use ADOMD.NET 8 this problem dissapear.

     

    My question is: Why ADOMD.NET 9 open two connections when try to connect to

    AS2000

     

    code

     

    AS2000

            Dim con As AdomdConnection

     

            con = New AdomdConnection(connectionstringAS2000)

     

            con.Open()

     

            con.Close()

            con.Dispose()

            con = Nothing

     

    AS2005

     

            Dim con As AdomdConnection

     

            con = New AdomdConnection(connectionstringAS2005)

     

            con.Open()

     

            con.Close()

            con.Dispose()

            con = Nothing

     

    Monday, November 12, 2007 8:13 PM