Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Custom DLL Reference in SSIS Script Task

$
0
0

Hi All,

I'm having one Custom DLL called, myFTP.dll

When I'm keeping this .dll in C:\Windows\Microsoft.NET\Framework\v2.0.50727\

and Adding Reference to it in my SSIS Script task, then Task is working Perfectly.

But

When I'm keeping this .dll in Z:\Data\MyCustomPackages\Reference\

and adding Reference to it in my SSIS Script Task, then Task is failing and it's saying::

Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'myFTP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ec0efqwek57a8065' or one of its dependencies. The system cannot find the file specified.
File name: 'myFTP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ec0efqwek57a8065'
   at ST_879e4054bc0a497083220c92c7a4f9b7.csproj.ScriptMain.Main()

--- Here My Z:\ drive is just a mapped network drive. Is there any restriction about referring DLL from such location?

Any Clue?


Regards, Avik M.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>