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

Could not find file 'App_Code.h5t8kano.resources'.

2 Answers 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
bt_86
Top achievements
Rank 1
bt_86 asked on 26 Aug 2010, 07:53 AM

Hi,

I am developing a project with using Microsoft Visual Studio 2010, Telerik Rad Components and Oracle 11g. I used latest version (2010.2.714.40) of Telerik Rad ajax for my project. One month ago there was an error about telerik list view and we took a hot fix from telerik support team about this error. Now, our Telerik version is 2010.2.722.40.

I have an error on my reporting process but I do not know if this error is depending on version differences.

Firstly, I added new report class under the App_Code folder. Then, I clicked report wizard and I created a data source with my connection string which had been written in webconfig file. I created a query with query builder and then I tested this query. The result of the test was successful and I saw all data according to my defined query. When I finished the creation of the report, I clicked preview button but I couldn't see report or data. Then I tried to run my report with report viewer item. I add report viewer to the default.aspx page and I wrote the code which is shown below into the code page

ReportViewer1.Report = new Report1();

When I build the web site I got this error:

Could not find file 'App_Code.h5t8kano.resources'.

Error was given in

this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand"); row in Report1.cs page.

What can I do about this error? What is the reason of this error?

 


Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 26 Aug 2010, 08:37 AM
Hello bt_86,

As outlined in the Best Practices help article, one needs to create a class library that would hold the Telerik Reports instead of adding them directly to your application. Then reference the class library in your web site, so you can use the reports in the viewer. Then follow the steps in the article from our very first post.
Step by step instructions on the above are available in the Quickstart help section.

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
bt_86
Top achievements
Rank 1
answered on 26 Aug 2010, 11:10 AM
Thank you for your quick response
Best Regards
Tags
General Discussions
Asked by
bt_86
Top achievements
Rank 1
Answers by
Steve
Telerik team
bt_86
Top achievements
Rank 1
Share this question
or