Error message when opening a file

Always error on first attempt, second attempt is O.K.

How about helping us to help you? What is the error message; what type of file; what OS & version; what LO version?

Application error 0xc0000142
soffice.bin

Is that the complete error message? What version of Windows and LO are you using?