当我尝试构建我的 C# 应用程序时,我遇到了以下问题。我想将数据导出到 Office 2010 或 2007。错误如下
Retrieving the COM class factory for component with CLSID {00020819-0000-0000-C000-000000000046}
failed due to the following error: 80040154 Class not registered
(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).