Excel interop problem on new computer

  • Thread starter Thread starter RvGrah
  • Start date Start date
R

RvGrah

I'm trying to open and run applications on my new pc that work fine on
a machine at my customer's site and on my previous machine. This new
install has the same software installed as the other machines, but when
I try to open items in the ide that make use of Excel, I get an error
telling me "Cannot find wrapper assembly for type library "Excel"". If
I continue to fight ahead it seems to change to errors about there
being no 'Interop' namespace in 'Microsoft'. Office 2003 was installed
with installation type "Full", and all the right references show in the
Add Reference dialog. Same error in Visual Studio 2003, i both VB.net
and C# apps.

Sometimes the error say there is a name conflict in global namespace.

I'm a bit baffled, and still poking around for the answer, but if
anyone can enlighten me I'd appreciate it.

Bob Graham
 
One thing I've found is that the Interops are misnamed on the new pc,
they show up as Interop.Microsoft.Office.Excel instead of
Microsoft.Office.Interop.Excel
 
OK, glad I put this here, maybe it'll help someone else someday. My
Office install was corrupt, so the correct dll's were missing.
Re-installed office and now all's well.

Bob
 
Back
Top