Excel Error Codes

Fix Error 800700C1 When Creating an Excel Interop Application in C#

John WilsonJohn Wilson Nov 22, 2026 868 views

Question details

Resolve error 800700C1 when a C# application creates an Excel Interop application instance.

Fix Error 800700C1 When Creating an Excel Interop Application in C#
Product
Microsoft Excel Interop
Device & OS
Windows
Scenario
A C# application instantiates Microsoft.Office.Interop.Excel.Application.
Observed behavior
Creating the Excel application instance fails with error 800700C1, potentially after a Windows update despite unchanged code.
Before you start

Confirm that Excel opens normally on the affected computer and note the full exception message. In Excel, select File > Account > About Excel to check the Office version and whether it is 32-bit or 64-bit.

Solution 1Recommended

Check the C# platform target and Office installation

Use these checks to identify architecture conflicts and repair a damaged Office installation.

Error 800700C1 can indicate an invalid executable or a problem loading a component. Excel is an out-of-process COM server, so different application and Office bitness does not always cause a failure; native dependencies and registration should also be checked.

1
Check the platform target

In Visual Studio, right-click the project, select Properties > Build, and check Platform target. Compare x86 or x64 with the Office architecture, and try the matching target if an in-process native dependency requires it.

2
Review native dependencies

In Visual Studio, inspect the project's references and any native DLLs loaded during startup. Make sure each in-process native DLL supports the application's selected platform target.

3
Repair Office

Open Windows Settings > Apps > Installed apps, find Microsoft 365 or Office, and select Modify. Run Quick Repair; if the error persists, return to Modify and try Online Repair.

4
Test Excel Interop again

Open Excel from the Start menu, then rebuild and run the C# application from Visual Studio. Record the full exception and any inner exception if creation still fails.

Check the C# platform target and Office installation
Free Microsoft Office alternative

Work with Excel Files in WPS Spreadsheet

WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easy to move everyday spreadsheet work. It does not repair Excel COM registration or guarantee compatibility with Excel Interop automation.

Open and edit Excel spreadsheets in WPS SpreadsheetCompatible with common Microsoft Excel formats, including XLS and XLSXUse a familiar spreadsheet interface for everyday tasksMove existing Office files into a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

What does error 800700C1 mean when Excel Interop starts?

The error can indicate an invalid executable or a component-loading problem. Check the full exception, native dependencies, Office installation, and Excel COM registration to identify the cause.

How do I find out whether Office is 32-bit or 64-bit?

Open Excel and select File > Account > About Excel. The About window shows the Office version and architecture.

Must a C# application always match Excel's bitness?

Not necessarily. Excel runs as an out-of-process COM server, but any in-process native DLLs used by the application must be compatible with its platform target. Check the target in Visual Studio under project Properties > Build.

How can I repair Excel's COM registration?

In Windows Settings > Apps > Installed apps, select Microsoft 365 or Office and choose Modify. Try Quick Repair first, then Online Repair if needed.

Can WPS Office fix an Excel Interop COM error?

No. WPS Office can open and edit common Excel file formats, but it does not repair Microsoft Excel's COM registration or guarantee compatibility with Excel Interop automation.