Posted on 2011-10-19
I have a VB.net application. One of the subroutines allows the user to export the display from a datagridview on the screen to an Excel spreadsheet. It works properly on over 30 workstations. But on one workstation, when attempting the export, we get an error message that includes this:
"Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=18.104.22.168,Culture=neutral,PublicKeyToken =?1e9bce111e9429c' or one of its dependencies. The system cannot find the file specified."
This is the only workstation with the problem. Office 2007 is installed . Running Repair on Office 2007 does not resolve the issue. It seems this workstation is missing a dll or a registry key or something, but I don't know what, nor how to fix it.