Are you getting the following error?

Unable to cast COM object of type ‘Microsoft.Office.Interop.Word.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.Word._Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00020970-0000-0000-C000-000000000046}’ failed due to the following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA).

If so, no need to freak out. Basically, your COM object, in this case the Word application is missing. To debug, make sure you don’t accidentally close/quit this Word app object before making your API calls to it.