"The session is no longer valid."

This error occurs when the Pervasive Client has closed it's session with the Pervasive engine. Sometimes this error occurs when the KSS product did not close properly. 

Resolution:

Reboot your computer.