Problem with System.Data.SqlConnection (Application Verifier: Hand

Discussion in 'Microsoft ADO .NET' started by Guest, Feb 25, 2006.

  1. Guest

    Guest Guest

    Hi All,

    I have faced a problem while connecting to the SQL SERVER 2000 instance
    using ADO.NET (in .NET Framework v2.0.50727).

    The error reported was Invalid Handle Exception in Application Verifier 3.0
    under Handles. The stack trace of the exception is given below.

    Note: The exception does not happen, when it is not tested under handles in
    Application Verifier or tested without Application Verifier.

    Thanks in Advance
    Karthik
    ---------------------------------------------------------------------------------------------
    Stack Trace

    [InlinedCallFrame: 0012eb54] <Module>.SNIOpenEx(SNI_CONSUMER_INFO*, UInt16*,
    SNI_Conn**, Int32, UInt32, Byte*, Byte*, Int32, Int32)
    SNINativeMethodWrapper.SNIOpenEx(ConsumerInfo, System.String, IntPtr ByRef,
    Boolean, Byte[], Byte[], Boolean, Boolean)
    System.Data.SqlClient.SNIHandle..ctor(ConsumerInfo, System.String, Boolean,
    Byte[], Byte[] ByRef, Boolean, Boolean)
    System.Data.SqlClient.TdsParser.Connect(Boolean ByRef, Boolean ByRef,
    System.String, System.String, System.String,
    System.Data.SqlClient.SqlInternalConnectionTds, Int64, Boolean, Boolean,
    Boolean, System.Data.SqlClient.SqlConnection, Boolean)
    System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(System.Data.SqlClient.SqlConnection,
    System.Data.SqlClient.SqlConnectionString, System.String, Boolean)
    System.Data.SqlClient.SqlInternalConnectionTds..ctor(System.Data.ProviderBase.DbConnectionPoolIdentity,
    System.Data.SqlClient.SqlConnectionString, System.Object, System.String,
    System.Data.SqlClient.SqlConnection, Boolean)
    System.Data.SqlClient.SqlConnectionFactory.CreateConnection(System.Data.Common.DbConnectionOptions,
    System.Object, System.Data.ProviderBase.DbConnectionPool,
    System.Data.Common.DbConnection)
    System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(System.Data.Common.DbConnection,
    System.Data.ProviderBase.DbConnectionPool,
    System.Data.Common.DbConnectionOptions)
    System.Data.ProviderBase.DbConnectionPool.CreateObject(System.Data.Common.DbConnection)
    System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(System.Data.Common.DbConnection)
    System.Data.ProviderBase.DbConnectionPool.GetConnection(System.Data.Common.DbConnection)
    System.Data.ProviderBase.DbConnectionFactory.GetConnection(System.Data.Common.DbConnection)
    System.Data.ProviderBase.DbConnectionClosed.OpenConnection(System.Data.Common.DbConnection, System.Data.ProviderBase.DbConnectionFactory)
    System.Data.SqlClient.SqlConnection.Open()
    Blaze.DotNet2005.CSharp.DBLibrary.DBSqlServer.FindValue(System.String)
     
    Guest, Feb 25, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben Fidge
    Replies:
    2
    Views:
    603
    Ben Fidge
    Apr 8, 2004
  2. Lloyd Dupont

    SqlConnection.ConnectionString: Data Source parameter

    Lloyd Dupont, Sep 15, 2004, in forum: Microsoft ADO .NET
    Replies:
    2
    Views:
    278
    William \(Bill\) Vaughn
    Sep 15, 2004
  3. Replies:
    1
    Views:
    4,929
    Miha Markic
    Apr 18, 2007
  4. Jan Obrestad
    Replies:
    1
    Views:
    625
    Mary Chipman [MSFT]
    Jun 25, 2007
  5. Torben Laursen
    Replies:
    2
    Views:
    283
    William Vaughn
    Sep 30, 2007
Loading...

Share This Page