title: Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
body: <p>I'm trying to publish web site on IIS at Windows Server 2008 R2. my web site has a feature which download an excel file to apply some edits then upload it again.
  When access the excel file to be downloaded I got this error: "Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified."</p>
  
  <p>Code which get File:</p>
  
  <pre><code>clsExcel = new ApplicationClass();
      clsExcel.Visible = false;
      clsWorkbook = clsExcel.Workbooks.Open(Server.MapPath("/file path ... "), 2, false, 5, "", "", true, XlPlatform.xlWindows, "", false, true, 0, false, true, XlCorruptLoad.xlNormalLoad);
      // get worksheet 4 ...
      clsWorksheet = (Worksheet)clsWorkbook.Worksheets[4];
      clsWorksheet.get_Range("A2", "D1000").EntireRow.Delete();
       clsWorkbook.Save();
          clsWorkbook.Close(false, "", false);
          // release...
          clsExcel.Quit();
  </code></pre>
  
  <p>I'm sure that my code is well, because I'm running it on my personal PC which has Windows 10 OS with Office 2013 and it works perfectly.
  I think I miss some configuration or file which must be exist at the server.</p>
  
  <p>After Days of search I found a lot of solutions but it is not working with me like:
  - Install Office 2010
  - Customize Microsoft Excel Application in DCOM Config to allow access for IIS_User and NETWORK SERVICE
  - Add Microsoft.Office.Interop.Excel as a reference 
  - Comment assembly line from web.config</p>
  
  <p>What should I do?</p>
  
  <p>Thanks in advance</p>