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.
    Exception has been thrown by the target of an invocation. --->
    System.IO.FileNotFoundException: Could not load file or assembly
    'CLReport, Version=, Culture=neutral,
    PublicKeyToken=null' or one of its dependencies. The system cannot
    find the file specified.
    File name: 'CLReport, Version=, Culture=neutral,
      at ST_b4bb82f27feb4d349dec2957d1b72fa8.csproj.ScriptMain.Main()
    Friday, March 12, 2010 3:08 AM


  • 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.

    Friday, March 12, 2010 8:11 AM