Assigning datasession
Posted: Mon Jul 01, 2013 6:14 pm
I am using the Demo version of the Reports.Net to determine if this product will work to replace an old version of Crystal Reports. Unfortunately, I am not able to get the data to show when the ASP.NET page is run. In the Design Preview mode, the data shows on the report.
I tried the 2013.1 release and now trying the beta 2013.2.1611 release.
System parameters: Development computer is Win 7 Ultimate, MS SQL Server 2008, Visual Studio 2012 Update 2. Everything is running on this computer for testing (no outside server).
On the asp.net page, I have added:
1) asp:SqlDataSource - This pulls the data from a SQL stored procedure
2) cc1:StiWebReport - I created the report and the data shows when in the Design Preview
3) cc1:StiWebViewer - The viewer shows the report (header, footer, etc) but does not show any data..
I do not want to create new connections on each report I create when I can use the existing stored procedures within a SqlDataSource that ASP.Net provides.
Attached are snapshots of the ASP.Net code, Code Behind, Design Preview (showing data) and the view when running the web page. Notice the web page shows the report but no data.
If I am not able to get this working soon, I will not be able to recommend this product to replace CR.
Any help would be appreciated. Thanks.
Michael
I tried the 2013.1 release and now trying the beta 2013.2.1611 release.
System parameters: Development computer is Win 7 Ultimate, MS SQL Server 2008, Visual Studio 2012 Update 2. Everything is running on this computer for testing (no outside server).
On the asp.net page, I have added:
1) asp:SqlDataSource - This pulls the data from a SQL stored procedure
2) cc1:StiWebReport - I created the report and the data shows when in the Design Preview
3) cc1:StiWebViewer - The viewer shows the report (header, footer, etc) but does not show any data..
I do not want to create new connections on each report I create when I can use the existing stored procedures within a SqlDataSource that ASP.Net provides.
Attached are snapshots of the ASP.Net code, Code Behind, Design Preview (showing data) and the view when running the web page. Notice the web page shows the report but no data.
If I am not able to get this working soon, I will not be able to recommend this product to replace CR.
Any help would be appreciated. Thanks.
Michael