If you encounter error while opening a word file from SharePoint 2010 Document library, you need to try and uncheck the Protected View setting under word option.

image