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

Related Questions

A colleague of mine has written a DLL file for me to use called
A colleague has a batch script program which needs to to run on a
My application has its own scripting language of which I cannot get rid of
My colleague has committed twice on his repository on the wrong branch. What is
A colleague of mine has issues with his VPN connection. It seems that his
A colleague has installed VS2008 Team Explorer (as part of his role in Scrum)
My title pretty much says it all, but a colleague has written a component
I am not very familiar with RoR but my colleague has written this code
I am working on Iphone Application.One of my colleague has written a web service
I have been reviewing an asp.net application that was written by a former colleague.

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.