Hi, I have recently upgraded from a very old version of Reporting to the latest, and I am having some issues.
My reports will render the headers etc but no rows are returned. I have a class library project defining the reports, used in a VB web site.
So I have a development environment and it was showing no rows, I ran a trace and saw it issuing FMTONLY in the queries. I googled that for hours and found lots of references to the use of temp tables in stored procedures in your report data sources. but my TableAdapters do not use stored procs at all. They use sql views, and have select queries in the Adapters.
So I tweaked this and that until it got to be very late at night and then finally, at some point, it started to work! It now issues correct queries and returns rows of data.
So I deployed it to my production environment... and now it has the no-rows problem.
I don't know what finally fixed the problem.
I suspect it was a SQL Server setting as I have confirmed that the code running in both environments is the same.
My reports will render the headers etc but no rows are returned. I have a class library project defining the reports, used in a VB web site.
So I have a development environment and it was showing no rows, I ran a trace and saw it issuing FMTONLY in the queries. I googled that for hours and found lots of references to the use of temp tables in stored procedures in your report data sources. but my TableAdapters do not use stored procs at all. They use sql views, and have select queries in the Adapters.
So I tweaked this and that until it got to be very late at night and then finally, at some point, it started to work! It now issues correct queries and returns rows of data.
So I deployed it to my production environment... and now it has the no-rows problem.
I don't know what finally fixed the problem.
I suspect it was a SQL Server setting as I have confirmed that the code running in both environments is the same.