0

我做了打开 ms word 的 c# 代码,它运行正确。我想在 condor 环境中运行这个程序,但我遇到了一个错误,说..

Unhandled Exception: System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005.
   at Console_try.Program.open_document(String pwd, String file_name)
   at Console_try.Program.Generate_small(String pwd, Int32 pos, Int32 siz, String file_name)
   at Console_try.Program.Generate_small(String pwd, Int32 pos, Int32 siz, String file_name)
   at Console_try.Program.Generate_small(String pwd, Int32 pos, Int32 siz, String file_name)
   at Console_try.Program.Main(String[] args).

我认为这个错误属于 MS Visual Studio C#。

4

0 回答 0