Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Ssis脚本可以';找不到dll_C#_Ssis - Fatal编程技术网

C# Ssis脚本可以';找不到dll

C# Ssis脚本可以';找不到dll,c#,ssis,C#,Ssis,我在ssis脚本中遇到dll引用问题。我在C驱动器上引用了一个ibm dll。每次我引用它时,它都会将它放在文件夹C:\Users\\AppData\Local\Temp\SSIS\c90f4b396fa54b3e9b7540b970489b79\obj\Debug\Interop.cwbx.dll中 它在VisualStudio中运行得很好(因为它将它放在temp dir中),但是当我将包导入ManagementStudio时,它在脚本任务中出错,因为它找不到它。这一切都是在服务器上完成的 任

我在ssis脚本中遇到dll引用问题。我在C驱动器上引用了一个ibm dll。每次我引用它时,它都会将它放在文件夹C:\Users\\AppData\Local\Temp\SSIS\c90f4b396fa54b3e9b7540b970489b79\obj\Debug\Interop.cwbx.dll中

它在VisualStudio中运行得很好(因为它将它放在temp dir中),但是当我将包导入ManagementStudio时,它在脚本任务中出错,因为它找不到它。这一切都是在服务器上完成的

任何想法/帮助都将不胜感激!
Brian

据我所知,DLL需要在GAC中注册,SSI才能使用它们


使用gacutil.exe注册它们,然后重试管道。

这当然假定GAC是强签名的。来自IBM,这可能是一个合理的假设。除此之外,您还需要将DLL导入到您计划从中运行包的任何服务器上的GAC中。如果DLL不是强名称,那么您将面临艰难的道路!