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

Issue in preview

3 Answers 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Katte
Top achievements
Rank 1
Katte asked on 23 Jun 2009, 07:48 AM
Hi,

I have created a class library to get the records from database. I have given a project reference to  report class library. Its working when the website was running. But the preview is not showing the output. It showing the error as "Could load the file or assembly.....".

I have already saw some example. But they either using the code that retrieves the record from database in report library itself or using dataset.

So kindly tell me the solution and is there any alternative for this requirement?

Regards,
Katte.

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 23 Jun 2009, 12:31 PM
Hello Katte,

In this case, the application is Visual Studio itself i.e. corresponding references should be added to the devenv.exe.config file. The file usually resides under C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE directory.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Tony
Top achievements
Rank 2
answered on 13 Jan 2010, 06:07 PM
HI, am having the same problem, I have located the devenv.exe.config file but what next?
0
Steve
Telerik team
answered on 14 Jan 2010, 03:46 PM
Hello Tony,

Are you following our best practices to have the reports in a separate class library that is later referenced by your application? If you are using 3rd party libraries for your binding you should add them to the same folder as the devenv.exe, more info is available here: Designer use when code references external dlls. Any additional information about your project would be appreciated.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Katte
Top achievements
Rank 1
Answers by
Steve
Telerik team
Tony
Top achievements
Rank 2
Share this question
or