Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed while configure exe in task scheduler
问题 I have created console application in C# to read a Excel file. Used microsoft interop dll to manipulate excel file. The excel file is created in Excel 2013. .net version is 4.5 OS : windows server 2012 It will open the excel file and add a row sheet with values. The functionality is working fine. But when I configure the exe in task scheduler I am getting an error. Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following