none
Custom Assemblies in Local Report RRS feed

  • Question

  • Hi,
    I am using VS2008 and have a Windows Forms application with a local report (reportViewer).  I am experimenting with calling custom code (C#) in a separate library (DLL) from my report.  My report does'nt see the DLL.  When building the app I get the following error message:

    Error 1 Error while loading code module: ‘RepClassLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'RepClassLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. F:\Haspennustrengir\Prufuforrit\RepWithCustLib\Report1.rdlc RepWithCustLib

    I have been scanning this forum and have followed the tutorial in Sharaf's blog (http://blogs.msdn.com/mosharaf/archive/2005/12/20/LocalReportCustomCode.aspx), copied the DLL to the correct (?) locations, but still get this message.

    Please help.

    Regards, Gudni

    G.Sig
    Monday, April 6, 2009 10:38 AM