none
Could not load File or Assembly "Microsoft.office.Interop.Excel" RRS feed

  • Question

  • I got a error when I run the web application in server but  runs fine on my dev machine 
    Error:"Could not find file or Assembly 'Microsoft.Office.Interop.Excel, Version=12.0.0.0,xxxxxxxxxxx' "
    and haven't microsoft Office in server, is mean must install MS Office2007 in server?

    And have any solutions? or any need to do when deploy?
    Thanks.
    Tuesday, June 23, 2009 4:42 AM

Answers

  • That's what the PIA installer does.  A PIA contains no code, just declarations to guide .NET COM interop.  The OP needs the COM server installed on his machine.  That requires Office.

    Hans Passant.
    Tuesday, June 23, 2009 7:17 AM
    Moderator

All replies