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 74545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:22:30+00:00 2026-05-10T20:22:30+00:00

My colleague has written a DLL which drives Excel. When I reference his DLL

  • 0

My colleague has written a DLL which drives Excel.
When I reference his DLL in my .NET app, I get a warning:

The dependency 'Microsoft.Office.Interop.Excel' could not be found.  

My app will compile.
However, when I get to the bit that uses my colleague’s DLL to access Excel, an exception is thrown, with the message above.

We should have identical setups: Windows XP Pro SP3, VS2003, .NET 1.1, Office 2003

My problem seems similar to this question, but I don’t know if it’s the same.

Any help or suggestions gratefully received!

Update:

Thanks for answers so far!

I have not added an explicit reference to Microsoft.Office.Interop.Excel.
Surely I shouldn’t have to?
However: When I tried to add this reference, I cannot find Microsoft.Office.Interop.Excel in the Add Reference dialog.

Presumably this means that I am missing a DLL?
… But I don’t understand how that could happen?!

Update (fixed):

@ConcernedOfTunbridgeWells has the answer that fixed this for me: installing the Primary Interop Assemblies.

  • 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. 2026-05-10T20:22:31+00:00Added an answer on May 10, 2026 at 8:22 pm

    You may need to install the Primary Interop Assemblies for Office, which can be downloaded from Here. Depending on the order that you install Visual Studio and Office they may not be installed by default.

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

Sidebar

Ask A Question

Stats

  • Questions 65k
  • Answers 65k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer No, it is not defined. It may result in a… May 11, 2026 at 11:18 am
  • added an answer Figured out the solution similar issue to this: How can… May 11, 2026 at 11:18 am
  • added an answer SRP does not apply to UIs. Keep in mind that… May 11, 2026 at 11:18 am

Related Questions

My colleague has written a DLL which drives Excel. When I reference his DLL
My colleague has found himself in an interesting situation. He is working on a
The app my colleagues and I maintain has an Oracle database at the back-end.
My colleague insists on explicitly specifying the namespace in code as opposed to using
My colleague here argues that new programmers must learn ASP first, before they learn
When my colleague debugs a web application in his visual studio instance his output
While designing a table my colleague here says that I should avoid identity column
I had a nasty typo that wasted my time and my colleague's time, it
Although I don't have an iPhone to test this out, my colleague told me
My colleagues are attempting to connect BizTalk 2006 R2 via DB2/MVS adapter to a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.