Getting following error message while executing the package.
Could not load file or assembly 'FluentFTP, Version=19.1.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f' or one of its dependencies. The system cannot find the file specified.
Please help what could be the reason for this?
SSIS Engine is not able to load corresponding DLL.
You have to deploy the DLL into Windows GAC of the SSIS Server - see answer to similar question.
Related
I am writing an SSIS package that has required me to use the Microsoft.Exchange.WebServices DLL. I have imported it into the VB Script Task where it is referenced from the following location:
C:\Program Files\Microsoft\Exchange\Web Services\2.0\Microsoft.Exchange.WebService.dll
The script task seems to 'like' it in so much that I have imported the Namespace and am able to declare the ExchangeService as an object. However, when it comes to running the package (both compiled and in debug) I get the following error:
System.IO.FileNotFoundException: Could not load file or assembly
'Microsoft.Exchange.WebServices, Version=15.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The
system cannot find the file specified.
I have checked the Regedit and can see that the DLL exists there... I am sure I am missing something silly... Is anyone able to help??
Thanks!
Chris
I am facing an issue in generating cobertura report. Files getting compiles successfully. but during report generation i am getting import error as package not found.
The compilation of your tests fails.
You need to add TestNG's jar to your classpath when executing your command.
By the way, you should precise how you launch your command.
And you should use a build system (Maven for example) which could help you manage your dependencies.
I'm trying to call a MySQL database located on another server, from Azure.
I'm referencing .Net MySql.Data, and it works when running it in a test application.
However when I deploy the code to the Azure server I get the following exception:
Could not load file or assembly 'MySql.Data, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Since it's part of .Net I would expect it to work on Azure so I suspect I may be doing something wrong.
I also tried adding the MySql.Data.dll to the project and installing it to the CAG with no luck. (However I'm not certain it was installed successfully)
Any help or advice would be much appreciated.
Why are you assuming MySql.Data is part of .NET? The connector was written in .NET, it's not part of .NET. You will need to make sure the assembly is available in your instances. Since copy local didn't work (it should work...), try the following:
Add both gacutil.exe and MySql.Data.dll in a folder (mysql for example) in your project and set Copy to Output Directory to always.
Then create a startup task that calls gacutil.exe and installs the assembly, something like: mysql\gacutil.exe /i mysql\MySql.Data.dll
Note: I'm assuming you're using a Web Role.
I am trying to add a dll reference to my SSIS package (2012) with a script Component. The IntelliSense is working for me and I don't see error when coding. However, I get the following error:
Could not load file or assembly 'XYZ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XYZ' or one of its dependencies. The system cannot find the file specified.
Please help.
If this is a custom DLL, then you will need to install it into the GAC (global assembly cache) for it to run outside of SSDT.
An assembly cannot be installed into the GAC unless it's strongly signed. Once it's signed, from a Visual Studio command prompt, registration would look like gacutil -if MyRadAssembly.dll
I am trying to deploy my web service on AppHarbor through GitHub. My web service is using NHibernate.Spatial, which has Microsoft.SQLServer.Types version 10.0.0.0 as a dependency. This assembly is, if I understand correctly, installed along with SQL Server 2008. When I run my web service on my development computer, on which I have SQL Server 2008 installed, the service runs without trouble, but when I deploy to AppHarbor I get the following exception:
"Could not load file or assembly 'Microsoft.SqlServer.Types,
Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or
one of its dependencies. The system cannot find the file specified."
As I already build my own version of NHibernate.Spatial.MsSql2008, the assembly from which the dependency derives, I have simply tried copying the required dll into the bin folder when building this project, by setting the reference property Copy Local to true. This is also reflected in the web service bin folder which is pulled by AppHarbor through Git. This didn't help though and my guess is that my web service is looking for the dependency in a different folder than bin.
How do I make the Microsoft.SqlServer.Types assembly available on AppHarbor? As the exception states, this might also be caused by possible missing dependencies of Microsoft.SqlServer.Types, but how do I find if this is the case, and again, how do I make the dependencies of Microsoft.SqlServer.Types available on AppHarbor?
Here's a NuGet package with the Microsoft.SqlServer.Types assembly. You can use this in combination with NuGet package restore on AppHarbor.