Rank: Newbie Groups: Member
Joined: 3/19/2014 Posts: 4
|
I am using EO.PDF in an SSIS Script task to create a PDF attachment and send via email. This works fine on my local machine but when running the SSIS package from the production server, I am getting an error "The script threw an exception: Could not load file or assembly 'EO.Pdf, Version=5.0.68.2' or one of its dependencies. The system cannot find the file specified." I resolve this issue on the ASP application side by including the dlls in the bin directory for the application. However, the Script task in SSIS does not have a bin directory. Can you assist me in getting this resolved?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
You should be able to add EO.Pdf to GAC and then reference the DLL from GAC in your code. That way the package does not have to have a local copy of the DLL.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 3/19/2014 Posts: 4
|
Thanks, this worked perfectly! I appreciate the help!
|