I am using SharePoint Server 2013 and I am trying to open files from the search results. When I search a specific file, the search returns my answer perfectly. However, when I try to open the file, I got a server error. I copied the link of the file and pasted it a new window, but I got the same error. Any ideas, please?
I would start by troubleshooting OWA. If OWA works in the Document library then I would perform a full crawl. This will reindex the document and set the link to OWA. I have see cases where Alternate Access Mapping is not correctly configured and the crawl is not being performed on the default zone.