Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=10.0.4504.0 RRS feed

  • Question

  • I'm following Windows HCK User's Guide (HCK 8.1) to generate Excel aggregated results

    The command path is "Windows HCK User's Guide \ Technical Reference \ HCK Tools \ HCK Studio \ Results Tab \ Analyze test result"

    I've installed Office 2010, HCK 8.1. OS is server 2012.

    After execute this command:

    New-HwCertTestCollectionExcelReport ("C:\Temp\merged_1.xml", "C:\Temp\merged_2.xml" ) -ExcelPath 'c:\temp\report.xls' -ResultCount 1

    The following error occurs:

    New-HwCertTestCollectionExcelReport : Could not load file or assembly 'Microsoft.Office.Interop.Excel,

    Version=10.0.4504.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot

    find the file specified.

    At line:1 char:1

    + New-HwCertTestCollectionExcelReport ("C:\Temp\merged_1.xml", "C:\Temp\merged_2.x ...

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [New-HwCertTestCollectionExcelReport], FileNotFoundException

        + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.Windows.Kits.Hardware.Certification.NewHwCertT


    Friday, August 23, 2013 2:47 AM

All replies