Skip to Content

Deploying SSIS Package with reference to SAPbobsCOM


We have developed an SSIS package that references the DI-API via script components. The solution works fine in development but fails once deployed.

The error on failure is:

Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --> System.IO.FileNotFoundException: Could not load file or assembly 'Interop.SAPbobsCOM, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependancies. The system cannot find the file specified.

I have tried putting the Interop.SAPbobsCOM.dll in all the places where I suspected it might be call from including:

Package Path, .NET program files path, .NET Framework windows path, SQL Server DTS Binn, SQL Server Binn

I'm therefore wondering if it is the actual DIAPI DLL that it cannot find rather than the Interop file.

Has anyone else had/worked through this type of issue with SSIS packages and the DIAPI?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2013 at 06:42 AM

    Hi Sean,

    I'vent tried SSIS using DI API SBO, can u tell me how to add the reference on the SSIS ?

    and does it able to insert to SBO table using SSIS ?

    for your case, I think, in the deployed PC, try to install SBO Client & DI API apps,

    then try to run your ssis

    if still error, try to delete your reference on the deployed PC, and add reference again.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.