Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6923463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:32:20+00:00 2026-05-27T10:32:20+00:00

I am writing a program in C# using the Excel 12 Interop and my

  • 0

I am writing a program in C# using the Excel 12 Interop and my program throws the HRESULT 0x800A03EC exception when I run it on a windows xp machine with Microsoft Office 2003 installed.

My development machine has Windows 7 64bit and Microsoft Office 2007, the program works fine.

My SaveAs code is as such:

      wbk.SaveAs(path, Excel.XlFileFormat.xlExcel8, 
                   Type.Missing, 
                   Type.Missing,
                   Type.Missing,
                   Type.Missing,
                   Excel.XlSaveAsAccessMode.xlExclusive,
                   Type.Missing, 
                   Type.Missing, 
                   Type.Missing, 
                   Type.Missing, 
                   Type.Missing);

Is there any workarounds that I can utilize so I don’t have to install Office 2007 on the machine running Windows XP?

UPDATE

I have installed the interop assemblies for Office 2007 and Office 2010 on the Windows XP machine, which is also 64bit and I still receive the same error. Could it be a permissions issue with the assembly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:32:21+00:00Added an answer on May 27, 2026 at 10:32 am
    1. You can probably just recompile using the Office 2003 interop, although that’s .NET 1.1 and (I think) only available through the Office 2003 installer – look for “.NET Automation Support” or similar under each application. I have seen problems using code built for .NET 1.1 in 2+, though, particularly constructors failing – but completely repeatably, so if it works then there’s no problem.

    2. You can use the Excel COM object directly. The result should then work for Excel 7 and later. The function signatures are broadly the same, although you now need to cast all the enums into integers to pass into the functions.

    3. If you’re just using Excel to create a simple spreadsheet (or a relatively simple one) you could skip Excel altogether and use one of these libraries to generate the spreadsheet instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a program that generates excel reports, currently using the Microsoft.Interop.Excel reference.
I am writing an application which uses the Microsoft.Office.Interop.Excel assembly to export/import data from
I was writing a twitter program using tweepy. When I run this code, it
I am writing a program using Delphi 2006 and storing data in XML files
I'm writing a program using C++ and the MySQL C API (version 5.1.31 ubuntu2).
I am writing an application program using swing. I need to exit from the
I tried writing a program in Java using regex to match a pattern and
I'm writing a program (for Mac OS X, using Objective-C) and I need to
I am newbie at using DataSet. I am writing a program with VB.NET, there
I am writing a python program that lauches a subprocess (using Popen). I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.