简体   繁体   中英

How to add MSUtil dll to script task in SSIS?

I have added MSUtil dll in script task component. But when i close that projects i get the error like : Could not loaded dll.

Any one have idea about this. Please guide. Thanks.

A SSIS package is executed by DTExec executable or MS Integration Service. The DLL you added to the script task have to be loaded by these processes.
You can achieve this by several approaches:

  • Add the DLL to System GAC (Global Assembly Cache) where the package is executed. My preferred method.
  • Add the DLL to the directory where exec of MS Integration Service is located. Not preferred, location can vary.
  • Provide custom assembly resolver as discussed in this article .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM