× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You're right, a tcp socket can't be serialized.

Glad you brought up the connection pooling. Makes sense why iisreset
has to be issued to fix your problem; to clear the pool. Just because a
connection was reused from the pool on the Windows side, doesn't mean
that anything beyond the open socket exists on the iSeries anymore.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Walden H. Leverich
Sent: Thursday, September 24, 2009 11:30 AM
To: Midrange Systems Technical Discussion
Subject: RE: Occasional .Net
InvalidCastExceptionfromw/inMapSQLTypeToiDB2DbType

Ah, that "situation"... We're not saving the connection in session, so
it's a non-issue here. Each request starts its own connection. Now, .net
connection pooling kicks in here, so it's not truly a new connection,
but you treat it as one. And I still stand by the statement that a
connection won't survive a trip into session-state, if that state
requires serialization.

-Walden



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.