We are connecting to a Pervasive 2000i DB from a .Net application on a machine having the client installed. After the application runs for some time, it starts throwing up the following error. After that the application sometimes starts working automatically after a few requests and in some other cases the application needs to be restarted.
Type : System.Data.Odbc.OdbcException
Message : ERROR [08S01] [Pervasive][ODBC Client Interface][Client LNA]Connection attempt timed out. The SQL Connection Manager may be inactive or using a different transport protocol from the client.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
Type : System.Data.Odbc.OdbcException
Message : ERROR [08S01] [Pervasive][ODBC Client Interface][Client LNA]Connection attempt timed out. The SQL Connection Manager may be inactive or using a different transport protocol from the client.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).