title: Could not load the file or assembly Microsoft.Office.Interop.Excel
body: <p>I have deployed a website on Virtual Machine with Windows server 2008 r2,iis 7 and .net framework 3.5.1 installed.</p>
  
  <p>I have been getting the following error. </p>
  
  <p>========================================</p>
  
  <pre><code>Server Error in '/' Application.
  
  Configuration Error
  
  Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 
  
  Parser Error Message: Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
  
  Source Error: 
  
  
  Line 46:                &lt;add assembly="stdole, Version=7.0.3300.0, Culture=neutral , PublicKeyToken=B03F5F7F11D50A3A"/&gt;
  Line 47:                &lt;!--&lt;add assembly="Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/&gt;--&gt;
  Line 48:                &lt;add assembly="Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /&gt;&lt;/assemblies&gt;
  Line 49:        &lt;/compilation&gt;
  Line 50:     
  
  Source File: C:\TFareDemo\web.config    Line: 48 
  
  Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be loaded.
  
  
  WRN: Assembly binding logging is turned OFF.
  To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
  Note: There is some performance penalty associated with assembly bind failure logging.
  To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
  
  Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456
  </code></pre>
  
  <p>=========================================================
  The application has features where excel reports are generated. I have not installed Office so i have been having trouble getting the website started.</p>
  
  <ol>
  <li>I have tried many things like installing .net framework 1.1 redistributable package.</li>
  <li>I have also installed Office Open XML as i read it somewhere that the problem might get solved.</li>
  </ol>
  
  <p>Please help me with this.
  My website is developed using vs 2005 and i do not have vs 2005 installed on the Virtual machine that i have mentioned above.</p>