This is a migrated thread and some comments may be shown as answers.

Report preview fails due to dependency

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aleksandar
Top achievements
Rank 1
Aleksandar asked on 10 Mar 2015, 06:20 PM
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?

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 13 Mar 2015, 11:49 AM
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.

 
Tags
General Discussions
Asked by
Aleksandar
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or