error about ReturnPooledConnection

  • Thread starter Thread starter Marc Jannes
  • Start date Start date
M

Marc Jannes

Hello,

from time to time I get this error:
System.NullReferenceException: Object reference not set to
an instance of an object.
at
System.Data.SqlClient.SqlConnectionPoolManager.ReturnPooled
Connection(SqlInt
ernalConnection pooledConnection)
at System.Data.SqlClient.SqlConnection.Open()

Can anybody give me information about this?
Thanks in advance.

Marc
 
I suspect that somewhere you have set the Connection object to nothing or
used Dispose on it (assuming it works in the first place).

--
____________________________________
Bill Vaughn
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
Back
Top