Could not load File or Assembly "" 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=,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?
    Tuesday, June 23, 2009 4:42 AM


  • 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

All replies