Solve the problem of C # calling excel interface error, prompt: the COM object of microsoft.office.interop.excel.applicationclass is forcibly converted to the interface type of microsoft.office.interop.excel_ Application”。 This operation failed because the IID is “{000208d5-0000-0000-c000-000000000046}”
For more information about calling just in time (JIT) debugging instead of this dialog,
see the end of this message.
**************Exception text ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^_ Application”。 This operation failed because the queryinterface call to the COM component of the interface with IID “{000208d5-0000-0000-c000-000000000046}” failed with the following error: the library is not registered( Exception from HResult: 0x8002801d (type_ E_ LIBNOTREGISTERED))。
1. Run the “regedit” command to open the registry
2. In the registry address bar, enter:
Computer/HKEY_ CLASSES_ Root/typelib {00020813-0000-0000-c000-000000000046}
locate to the {00020813-0000-0000-c000-000000000046} folder
3. Delete the 1.9 folder under {00020813-0000-0000-c000-000000000046} (the author’s computer is office 2013, 1.8 and 1.9 folder coexist at the same time, delete the higher version)
4. Start the program again, OK
Read More:
- Solve the problem that stdole32.tlb is missing when win7 Microsoft Office 2007 Pro Plus excel is opened
- How to Disable Protected View in Microsoft Excel
- Error: Microsoft Visual C + + 14.0 is required to get it with Microsoft V + + comp
- Error: Microsoft Visual C + + 14.0 is required. Get it with “Microsoft Visual C + + build tools” problem
- Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“
- Error: Microsoft Visual C + + 14.0 is required. Get it with “Microsoft Visual C”++
- [Python] pandas Library pd.to_ Parameter arrangement and example of Excel operation writing into excel file
- Solutions to Excel 2007 “cannot shift object off sheet”
- Error installing Microsoft Office 2010 or 2007 error 1935
- How to delete Microsoft AutoUpdate from Mac
- com.microsoft.sqlserver . jdbc.SQLServerException : invalid object name ‘XX’
- There is a problem with Microsoft Visual C + + 14.0 about Python installation package
- [Solved] error: Microsoft Visual C++ 14.0 or greater is required
- There was a problem sending the command to the program in Excel 2010
- Solve the problem that the interface between C # WinForm program and Oracle doesn’t respond for a long time
- Network card problem: Unable to initialize Windows Sockets interface
- Solve the problem that power view in Excel prompts activate method of oleobject class failed or activate method like oleobject is invalid
- error: Microsoft Visual C++ 9.0 is required
- Solutions to problems in SAS 9.3 x64 importing and exporting Excel
- Centos-7 set boot to enter the text interface (not enter the graphical interface)