title: Excel Addin : Workbook refresh with data mode , Error : The cartridge directory could not be found
body: <p>I had a 2013 32-bit excel (Professional edition) and I am developing an addin. In  this addin I refresh a excel workbook. This workbook has a Data Model. My OS was recently upgraded from Windows 8 to Windows 10.</p>
  
  <p>When I was refreshing the workbook through code, it throws me an error :</p>
  
  <p>"We couldn't get data from the Data Model."</p>
  
  <p><strong>The cartridge directory could not be found.  Use the Windows Installer to repair the application.  Exception of type 'Microsoft.Office.PowerPivot.BackEnd.StorageException' was thrown."</strong></p>
  
  <p>I saw this  <a href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/bc4a2008-3a30-4454-91fa-9455ad232e9f/the-cartridge-directory-could-not-be-found?forum=exceldev" rel="nofollow">link in MSDN</a> forums and tried to install 32 bit of those Hotifixes mentioned in the link, but it said "The hotfix was already installed".</p>
  
  <p>I thought that may be something got corrupt while upgrade from Windows 8 to Windows 10. So I uninstalled 32-bit of office and restarted machine. Then I installed the Office 64-bit Professional version. </p>
  
  <p>I then again tried to install the 64 bit version of the hotfixes but again got message "There is no software to apply this hotfix".I tried to run the add in code again but it again threw the same error again. My 64-bit machine is a click and run version of office (I checked in registry based on a article). </p>
  
  <p>I do not think for my new 64 bit office, no updates are applied. I am not sure what is causing the error. Please advise.</p>
  
  <p>My question are:</p>
  
  <ol>
  <li><p>Any suggestion what could be happening</p></li>
  <li><p>In Click and Run version of office 2013 , how do I update (All updates available) that ? I do not see any way I can update.</p></li>
  <li><p>Is this issue resolved in any SP or CU.</p></li>
  <li><p>Any way to resolve this?</p></li>
  </ol>
  
  <p>I am currently stuck with this. Note : It works when manually refreshing. Just throws error when doing this through C# code.</p>
  
  <ul>
  <li>Girija</li>
  </ul>