Report preview fails due to dependency

2 posts, 0 answers
  1. Aleksandar
    Aleksandar avatar
    15 posts
    Member since:
    Nov 2012

    Posted 10 Mar 2015 Link to this post

    When I try to preview a report in the designer I receive the following error:

    "Could not load file or assembly 'Beacon.Utilities, Version=1.0.0.0, Culture-neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

    My reports project does have this reference and the issue doesn't occur if I run the report at runtime; only when previewing in the report designer. The assembly referenced above has com interop dependencies. How can I preview reports without getting this error?
  2. Nasko
    Admin
    Nasko avatar
    1049 posts

    Posted 13 Mar 2015 Link to this post

    Hello Aleksandar,

    Based on the provided error our recommendation is to go through the Report Designer Preview is not working when using ObjectDataSource KB article that elaborates on topic and add the used assemblies (dependencies) to the devenv.exe.config file and to the folder where it is located.

    In case the issue persists you will need to use a report viewer to preview the report.

    Regards,
    Nasko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top