Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 30, 2012 12:38 PM by ccaron
Jul 17, 2012 04:47 PM|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 09:54 AM|LINK
First question, is the data exactly the same in your production database with the staging/development ? Please check with that.
Jul 23, 2012 12:28 PM|LINK
Yes, the data is exactly the same in production and development.
Jul 27, 2012 08:46 PM|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 12:38 PM|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.