软件环境:Win10系统+office 2010
详细异常信息:
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: 库没有注册。 (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
注册表信息:
HKEY_CLASSES_ROOT\Interface\[00020970-0000-0000-C000-000000000046]\TypeLib 为 8.5
HKEY_CLASSES_ROOT\WOW6432Node\TypeLib\00020905-0000-0000-C000-000000000046 为 8.5