DTS Script Task Runtime Error: Exception has been thrown by the target of an invocation

后端 未结 3 1448
广开言路
广开言路 2021-01-05 13:48

I have a ssis project developed in vs 2012 Ultimate. I use project deployment model and the project is set to run in 32 bit mode. The package executes without error in my

相关标签:
3条回答
  • 2021-01-05 14:12

    I found the issue was a Reference that I had just added that hadn't been registered in the GAC. I ran the 'AddToGAC.bat' routine, and the task then ran successfully.

    0 讨论(0)
  • 2021-01-05 14:18

    My issue was solved. "The problem that we had was that our .net reference for Analysis Management Objects was 11.0 (2012) and it needed to be 12.0 (2014). "

    Link: https://mitchellpearson.com/2015/04/13/upgrading-script-tasks-in-ssis-target-of-invocation-on-script-task/

    0 讨论(0)
  • 2021-01-05 14:27

    You need to set a breakpoint at the beginning of the FIRST script task, just as you would do in any VB debugging situation. Then F8 through each line of code until an error is thrown.

    0 讨论(0)
提交回复
热议问题