Last post Jul 30, 2012 08:38 AM by ccaron
Jul 17, 2012 12:47 PM|ccaron|LINK
I’m using a report viewer (RDLC file) in a web page. In the dataset, some of the properties are lists:
Property lEventDescription As List(Of String)
Property lEventLink As List(Of String)
Property lDisplayEventLink As List(Of Boolean)
In the report viewer RDLC file, the following expressions are used to get the values from the lists (in these examples, index 0 is used):
It works fine on our development PCs (Windows 7). The values in the arrays are correctly accessed. But it doesn’t work on our production servers (Windows Server 2008 R2).
On our production servers, an expression such as
is displayed as #Error.
Jul 20, 2012 05:54 AM|Srikanth Kasturi|LINK
First question, is the data exactly the same in your production database with the staging/development ? Please check with that.
Jul 23, 2012 08:28 AM|ccaron|LINK
Yes, the data is exactly the same in production and development.
Jul 27, 2012 04:46 PM|jeeveshfuloria08|LINK
for multiple valued paramter, try to remove (0) part from the expression.
(0) means it will take only the first argument always.
Jul 30, 2012 08:38 AM|ccaron|LINK
0 is only for the example. In our code we will access the indexes from 0 to X.
Anyway I just gave up. It simply doesn't work on MS Server 2008 R2.