I have a little problem that occurs sporadically.

My company have pervasive 11 and sometimes when i tried to open a file, it throw me a status 171, but it doesn't happen everytime, and i don't know what are the condition to see the error.
I know that 171 is a data base login error, but in my configuration i didn't put any kind of security

can someone give me a clue about that.
Thank you