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

The expression contains object 'Exp1' that is not defined in the current

4 Answers 1250 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 25 Aug 2010, 03:07 PM

Hi..
I'm getting a strange error on just one of the rows in my report.    The data looks fine.


"An error has occured while processing TextBox  txtBoxCustomer
The expression contains object 'Exp1' that is not defined in the current"

Any ideas?

thanks again

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 30 Aug 2010, 05:07 PM
Hello Jon,

The error is indicating a missing data field. Please make sure that you have set the Data Source Component to appropriate data item (report itself, Table, List, Crosstab, Chart) and that the DataSource component (SQLDataSource component) is having a Exp1 field.

For further assistance we will appreciate if you send a sample project that exhibits the error you have experienced.

Regards,
Peter
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
David
Top achievements
Rank 1
answered on 21 Jan 2011, 01:57 PM
Hello I'm from Germany.
My Application Reporting works fine with Reporting Q1!
I installed Reporting Q3-2010 and getting parameter erros, etc
Yesterday I installed Reporting Q3-2010 SP1 and works...BUT...by EXPORT getting the error object is not defined?????? only by export, The data looks fine (see you attachment)
0
Peter
Telerik team
answered on 26 Jan 2011, 05:21 PM
Hi David,

Are you by any chance passing parameter values or make any changes to the report items through the NeedDataSource event? If this is the case, be aware that since Q3 the NeedDataSource event is meant to be used only for providing data source to the report and that data source is cached unless changed i.e. once cached the NeedDataSource event is not fired again and as you probably know every time the report is previewed, paged or exported through the viewer it is processed and rendered from scratch. During this processing, the cached data source is used, but the Values you have set in NeedDataSource are not  being set as the event is not fired second time. That is why any other changes to report items or parameters should be moved to ItemDataBinding event, which is fired regardless.

If this is not case, we will appreciate if you open a support ticket and send us a sample runnable project to debug locally.

Best wishes,
Peter
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Manthri
Top achievements
Rank 1
answered on 08 Mar 2018, 01:26 PM

When I am trying to get he details by passing params I am getting the attached issue.

 

Please give a sollution.

Tags
General Discussions
Asked by
Jon
Top achievements
Rank 1
Answers by
Peter
Telerik team
David
Top achievements
Rank 1
Manthri
Top achievements
Rank 1
Share this question
or