This error is deffenetly generated by pervasive and I have included the error message for the 3006 from Pervasive.
3006: The MicroKernel router detected an invalid session.
The session information contained in a position block is invalid. This status code occurs for one of the following reasons:
• The application is trying to use a position block for a file that resides on an engine and for which the connection has been previously terminated via a B_STOP (25) or B_RESET (28) operation.
• The application is trying to use a position block for a file that resides on a remote server and that encountered an abnormal network error on a previous operation.
As for possible solutions... test connectivity, test communications protocols, and use the smart and intall scouts to make sure you can connect to the database.
Good Luck, if you need more help let me know what the results of your testing are.
AccSys Solutions Inc.