Excel not working with .net (System.InvalidCastException: QueryInt

S

Samba

Hi,

I am using Excel from asp.net. I installed PIA's and everything was working
fine.

But recently I had to reinstall Excel because of some other problems. After
that it stopped working. I reinstalled PIA's. I checked that my application
is picking them from GAC. But I am still getting the exception,
'System.InvalidCastException: QueryInterface for interface
Microsoft.Office.Interop.Excel._Application failed'.

My software versions are,
Excel version: Excel 2002 (10.2614.4219) SP-2
VS.NET Version: 2003 Version 7.1.3088

Can someone help me please???.

Thanks,
-Samba
 

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