|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problem with System.Data.SqlConnection (Application Verifier: HandI 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) |
|||||||||||||||||||||||