I'm trying to Export an Excel file from a Windows Form (C#.NET), as the application is installed on server. For most of the clients it is working fine but some client machines are getting following error after clicking export button:
Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.Access Denied
Those client machines are having office 2013 and 2007 installed. In my PC I got office-365, and its working fine.