PC Review


Reply
Thread Tools Rate Thread

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

 
 
=?Utf-8?B?S2FydGhpaw==?=
Guest
Posts: n/a
 
      25th Feb 2006
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)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The Outlook 2007 'To Do Bar' suddenly moved to the right hand side ofthe screen, how do I get it back to the left hand side? Bradley Burton Microsoft Outlook Discussion 5 19th Jan 2008 04:14 PM
y-axis moves from the left hand side to the right hand side =?Utf-8?B?SlA=?= Microsoft Excel Misc 1 13th Mar 2005 05:43 PM
y-axis moves from the left hand side to the right hand side! =?Utf-8?B?SlA=?= Microsoft Excel Charting 1 11th Mar 2005 01:29 AM
CHM files show 'The page cannot be displayed' in right-hand window while left-hand has outline Ollie North Windows XP Basics 1 18th Nov 2004 01:42 PM
If Cell.Value Like "Hand*" And Cell.Value <> "Hand*lch*" Then??? Kobayashi Microsoft Excel Programming 1 18th Sep 2003 12:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:52 AM.