Excel interop problem on new computer

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
 
R

RvGrah

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
 
R

RvGrah

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top