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

Creating a Chart in a telerik report using a Stored Procedure as the datasource

1 Answer 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 28 Apr 2016, 07:52 PM

Application Type: ASP.NET

Telerik version: Telerik Report Q1 2014

Dev environment:  Visual Studio 2013

I am trying to create a chart using a stored proc as the data source. I can create a table using the data without a problem however when I create a chart it throws an error referencing a temp table I use in my SP. "An error occured while processing Chart 'Chart1' Invalid Object name '#Temp_StatsTable' "

Any input or direction would be much appreciated!

Thank you

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 03 May 2016, 11:03 AM
Hi Tony,

When the stored procedure uses temporary tables the data provider fails to retrieve the schema.

Thus, test applying the settings for retrieving the data schema listed in the How to configure Stored Procedure with Temporary Tables for use with SqlDataSource component KB article.

In case, the issue persists please open a support ticket and attach a problematic report with test data so we can test it locally.


Regards,
Katia
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Tony
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or