none
Could not load file or assembly RRS feed

  • Question

  • Hi,
    I created a CLReport.dll, then create a SSIS package which has a script task.
    The script is in C# which call the CLReport.dll. But during running time, I got the
    error. What could be the problem? Thanks!

    SSIS package "report.dtsx" starting.
    Error: 0x1 at call dll: System.Reflection.
    TargetInvocationException:
    Exception has been thrown by the target of an invocation. --->
    System.IO.FileNotFoundException: Could not load file or assembly
    'CLReport, Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=null' or one of its dependencies. The system cannot
    find the file specified.
    File name: 'CLReport, Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=null'
      at ST_b4bb82f27feb4d349dec2957d1b72fa8.csproj.ScriptMain.Main()
    Friday, March 12, 2010 3:08 AM

Answers

  • Hi,
    Please make sure the CLReport.dll is in the same folder of your C# application, or installed into GAC.
    However, for assembly binding errors, you can use fuslogvw.exe to view detail information of binding failures.
    Sincerely,
    Eric

    Friday, March 12, 2010 8:11 AM