I am using community version 5.2. I am trying to open .doc,.xlsx files but it is giving an message that:
ERROR MESSAGE:
This document can't be previewed.
Click here to download it.
The size of file is 31KB that i am trying to open . All files are in kb only but same issue.
For pdf files in the dms it is opening for .doc and .xlsx it is giving the above error message. I am attaching a screenshot also.Please anyone help me regarding this issue.

Thanks in Advance
Aakash