comexception

Automating Office via Windows Service on Server 2008

穿精又带淫゛_ 提交于 2019-11-26 05:33:11
问题 We have a Windows Service which runs on 2003 Server. It opens a source Word document using the Word Interop and then does some stuff with it. It also does likewise with Excel and PowerPoint files. Recently we\'ve tried moving this service onto a Windows 2008 Server machine and are having real problems with it. COMException at Microsoft.Office.Interop.Excel.Workbooks.Open COMException at Microsoft.Office.Interop.Word.Documents.Open I get the above exceptions when the windows service is running