我创建了 SSIS 包:
- 这个包正在运行powershell文件
- 此 powershell 文件正在运行 SQL 文件
我尝试用两种方式运行这个 SSIS 包:
- 使用执行SSIS包的.bat文件>>这种方式运行成功。
- 使用执行 SSIS 包的 powershell 文件 >> 这种方式失败并出现以下错误
错误信息:
Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=15.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
关于这个问题我能得到帮助吗??
我尝试重新安装 SSMS-Setup-ENU,但仍然遇到同样的问题。
最佳答案
在尝试了几个功能包并阅读了一些讨论主题之后。 我发现 jendev 提供了 a repo在 this discussion您可以在编译后克隆并获取 dll。
如果您没有 Visual Studio,请使用 my fork其中已经包含了确切的 dll。
关于sql - Microsoft.SqlServer.BatchParser 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54167348/