Hello Everyone,
I badly need help here. I tried various suggestions from different posts in msdn and others , but nothing work out . I have created a package using SSDT for VS 2013 which has a script task with VB 2012 code which refreshes Excel workbooks which in turn pull the data from tabular cubes. This works fine when executed in Visual studio. But fails everytime with below error , when run through SQL server agent Job
Error -
Executed as user: *****. Microsoft (R) SQL Server Execute Package Utility Version 12.0.4100.1 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 4:12:44 PM Error: 2016-08-17 16:13:35.23 Code: 0x00000001 Source: FileName Description: Exception has been thrown by the target of an invocation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 4:12:44 PM Finished: 4:13:35 PM Elapsed: 50.562 seconds. The package execution failed. The step failed.
Couple of suggestions i have tried
1) Made sure that the Proxy account has read/write access on the folder where the excel file is present
2) Followed instructions in the below thread and created this folder - C:\Windows\SysWOW64\config\systemprofile\Desktop
https://social.msdn.microsoft.com/Forums/en-US/b81a3c4e-62db-488b-af06-44421818ef91/excel-2007-automation-on-top-of-a-windows-server-2008-x64?forum=innovateonoffice
3) Checked the option in job to run in 32-bit mode
None of these suggestions work for me . Thanks in Advance. This would be a great help
SG