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

ReportViewer parameters empty after publishing website

1 Answer 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 2
Dan asked on 06 Aug 2010, 08:34 PM
Have just upgraded my website to Reporting 4.1.10.714.  The reporting chart pages execute as expected when run from VS2010.  However, if I publish the website out to my IIS server, then my report viewer shows no data for my report parameter controls.  Two of these controls are drop down lists that are fed from SQL table selections, and the drop downs are empty and the chart will net render since the parameters have no initial value.  In both cases the datasource for the controls is from the same database, accessed by the same userid in SQL.

This all worked fine under VS2008 using Reporting 2008_3_1402.

Any ideas how I might be able to diagnose this?  Thanks.

Dan

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 12 Aug 2010, 11:32 AM
Hello Dan,

If there is no data when you publish your application to a live server, then most likely the report cannot get data i.e. the connectionString is no longer valid. If you have only previewed the reports in your development machine, you should copy the connection from the app.config file in the class library to your web.config file.

Best wishes,
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
Tags
General Discussions
Asked by
Dan
Top achievements
Rank 2
Answers by
Steve
Telerik team
Share this question
or