I've successfully used the Rebex File Transfer Pack in Visual Studio 2008 using C#. Unfortunatly I have an old SSIS package written in VB 2005 that needs to be updated to use the Transfer Pack . Everything I'm about to describe was done on my laptop running Windows 7. I placed the DLL's in C:Program FilesMicrosoft SQL Server90SDKAssemblies. I registered the DLL's in C:Windowsassembly. I can open the SSIS package, go to "Design Script" and added all the references with no problem. When I add the line "Imports Rebex.Net" and exit the design screen. I get the error on the main sreen "The task is configured to pre-compile the script, but binary code is not found....". If I set the pre-compile to false the error goes away but the package won't run. I put a break on the first line in Main() and it just comes right back as packaged failed.

I've spent half a day trying to figure this out. Any ideas?

asked 28 Sep '11, 22:49

help's gravatar image

help
15
accept rate: 0%

edited 11 Oct '11, 17:04

Martin%20Vobr's gravatar image

Martin Vobr ♦♦
335310


That's really strange. Using of Rebex DLLs from SSIS in Visual Studio 2005 should work without problems, we've tested it several times.

The error "The task is configured to pre-compile the script, but binary code is not found" usually occurs when the DLLs are not found in the "c:Program Files (x86)Microsoft SQL Server90SDKAssemblies" folder.

Please make sure that the used Rebex DLLs are compiled for .NET 2.0 framework and placed into .NET 2.0 GAC (c:windowsassembly). There are two distribution packages of Rebex components (.NET 2.0/3.0/3.5 and .NET 4.0) and the 4.0 version does not work in SSIS. Anyway, using .NET 4.0 DLLs won't probably fire the error you've reported.

I'd suggest you to create your own simple class library, compile it to DLL, try to use it from your SSIS 2005 package and observe whether the same error occurs.

link

answered 29 Sep '11, 11:38

Jan%20Sotola's gravatar image

Jan Sotola ♦♦
3566
accept rate: 36%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×13
×6
×2

Asked: 28 Sep '11, 22:49

Seen: 324 times

Last updated: 11 Oct '11, 17:04