Adding editFTPnetPRO to SSIS package causes error message - ssis

I'm trying to add some secure FTP code to an SSIS package. I've used the EnterpriseDT product successfully on other .NET projects, so I wanted to incorporate it into an SSIS 2008 package I'm working on.
If I create a Script Task (VB), edit the script, choose Project | Add Reference, and select the editFTPnetPRO.dll file, it comes back with this error:
No template information found. See the application log in Event Viewer for more details.
To open Event Viewer, click Start, click Control Panel, double-click Administrative Tools, and then double-click Event Viewer.
The application log doesn't contain any pertinent details.
I have no idea what this is trying to tell me. I've gone down a couple dead ends searching for this error message and following the prescribed fixes, but nothing has fixed it yet. Any idea what might be going wrong?
P.S. - I tried the devenv.exe /installvstemplates fix, which didn't change anything.
Update: Here is the error captured in the SSIS package when you try to run it:
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'edtFTPnetPRO, Version=6.3.1.20, Culture=neutral, PublicKeyToken=0dce1ad63760d80b' or one of its dependencies. The system cannot find the file specified.
Where is it looking for this file? I tried copying it to the project direcory, the bin folder, and the C:\WINDOWS\Microsoft.NET\Framework\v2.0.nnnn folder, but it still can't find it, and it won't tell me where it's looking.

I'm now having this same problem with a custom C# assembly that I created to use with SSIS. I have added the assembly to the Windows\assembly and C:\WINDOWS\Microsoft.NET\Framework\v2.0.nnnn folders.

Put your DLL into C:\Program Files\Microsoft SQL Server\100\DTS\Binn and try again.

I have encountered this error a few times while attempting to add a reference from the .NET tab of the Add Reference dialog.
The (painfully simple) fix is to use the Browse tab to add the reference.

Related

HTML launch.json [duplicate]

Trying to debug my javascript code in Visual Studio. Selected "Start Debugging" and I get the following error message "configuration 'Run Current File' is missing in launch.json" (not pictured--error msg vanished after 5 seconds). I also got redirected to this launch.json file but have no idea what I need to type here.
I already have installed Node.js. I have restarted my computer, as well as edited the syntax of my javascript before debugging.
I am very very new to programming and am not sure what could be missing. Help please!
launch.json is used for to launch an app for debugging. It has settings geared for things like mapping to your workspace source code or defining the Chrome port to use.
Check full details here

Rebuilding a script in an SSIS Script component fails with "Could not find a part of the path 'C:\users\........"

I have an error on a script component when I open an ssis project in VS 2019. The error is "The binary code for the script is not found....". So, I opened the component, opened the script and proceeded to save it, then rebuild it. The rebuild errors with "Could not find a part of the path 'C:\users........". I've tried recreating the script, but the same error occurs. I thought it was environment specific, so, I changed to another computer.... same error. I then though it was project specific so I switched to another project... same error. Help! I'm about to call Microsoft.
Acknowledged issue in VSTA discussed here in the VS Developer Community.
If same issue; update to the version Publish 3/15/2021 or a more recent release to fix.
See the VS discussion above for full details.

SSIS 2008 information warning when executing a package

Has anybody already faced a message like:
Information while loading package1:The package is attempting to configure from the XML file \xxxx\yyyyy\package1.dtsconfig
So I did set a configuration file to my package but I'm just wondering why I got this message even though the package is successfully executed.
This is expected behaviour. There is an option per package to suppress this message,
SuppressConfigurationWarnings
If you don't want to edit your packages, you can try the SET option on package invocation /SET "\Package.Properties[SuppressConfigurationWarnings]";1
I believe that is not a warning, just some information.
It is useful when debugging to help you make sure it is loading the correct configurations. If it failed to load the configurations you would have a a 'real' warning saying that it failed to load the configurations from said file.
This also happens when using parent package variables
I would say that this is an info message that the configuration is being loaded but Its the first time I'm seeing it even though I use configuration files all the time. Are you sure your config file is ok? Can you post it here so we can take a look?

Error trying to read the VSIX manifest file... The system cannot find the file specified

I am trying to build a Visual Studio Package project via Hudson CI. This is a Visual Studio 2010 project. The project builds fine in my dev box, but for some reason, I keep getting the following error only when building in Hudson:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\VSSDK\Microsoft.VsSDK.targets(378,5): error : Error trying to read the VSIX manifest file "obj\Release\extension.vsixmanifest". The system cannot find the file specified. (Exception from HRESULT: 0x80070002) [C:\hudson\workspace\MyProject_Daily_Compilation\Source\MyProject.VisualStudio\MyProject.VisualStudio.csproj]
I have verified that the file exists on disk in the following location:
C:\Hudson\workspace\MyProject_Daily_Compilation\Source\MyProject.VisualStudio\obj\Release\extension.vsixmanifest
What could be causing this issue?
You are likely to experience such error if the user you are running your build as does not have administrative privileges.
So there are 2 solutions:
1) Run your build (build server) with administrative privileges.
or if you can't really change the user your build server is running on
2) and you actually don't need to deploy the VS extension on the build server itself, set the DeployExtension property in your *.csproj file to false.
Microsoft.VsSDK.targets sets that property by default to true
<DeployExtension Condition="'$(DeployExtension)' == ''">true</DeployExtension>
but if you don't need to deploy that extension locally (but rather would prefer to get the *.vsix bundle built you can safely put
<PropertyGroup>
<DeployExtension>false</DeployExtension>
</PropertyGroup>
The original error is basically happening because the attempt to get the deployment path fails at some point in the build and disrupts successful vsix package generation. By setting the property to false the build doesn't attempt to deploy the extension locally (but a valid *.vsix is generated)
I am guessing you running hudson as a service. If so the "0x80070002 - The system cannot find specified file" could well be due to the user being used to run hudson does not have access.
The quick solution to this is change the "Log on" user for the Hudson service to be your normal account.

Report View - Could not load file or assembly

I use VS2008 to develop a web application.
When I open a local report, it's report datasource does not show.
I click the report->DataSource to see it's datasource, but it appear an
error message:
Could not load file or assembly ###
But the file or assembly does exist.
How can I solve this problem?
I searched everywhere and didnt found a solution for this.
Thanks.
Copy the assembly to the folder
C:\Program Files\Microsoft Visual Studio 9.0\ReportViewer.
I use SysInternals Process Monitor to find where VS was looking for the containing file.
The assembly may exist but in a place not seen by the app. Use filemon / procmon to find out where your app is trying to load the assembly from and you will have a clue of what's going on. Also make sure the assembly version matches as well.