1

I have a c# console app that reads excel. The app works fine when executed locally on the server, however we want to schedule it through IBM Tivoli Workload Scheduler (Maestro).

When executed from the scheduler I get Unhandled Exception:

System.InvalidOperationException: The .Net Framework Data Providers require Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later. ---> System.IO.FileNotFoundException: Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E).

Server is Windows 2008 R2. The scheduler account is an administrator on the box. What could be causing the issue?

4

1 回答 1

0

您可以尝试以下操作:重新安装 Visual Studio,重新安装 Microsoft Office,下载并安装 Microsoft 数据访问组件:https ://www.microsoft.com/en-us/download/details.aspx?id=5793

我有同样的问题,即使我做了所有这些,也没有一个对我有用。也许他们会为你工作。祝你好运!

于 2015-04-24T14:24:19.130 回答