未处理的异常:System.Runtime.InteropServices.COMException(0x80080005):

时间:2012-06-29 12:06:59

标签: c# condor

我做了打开ms字的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#。

0 个答案:

没有答案