Page 1 of 1

New DLL's does not support old DLL's functions

Posted: Mon May 26, 2008 6:51 am
by ngaheer
Hi,

I have download your new DLL's (SR_2008.05.23_D2005), but it gives error in the following

line in our code.
"Dim tableName As String = dataSource.DataTable.TableName"

Code

For Each dataSource As StiDataSource In rptNew.Dictionary.DataSources
Dim tableName As String = dataSource.DataTable.TableName
Dim dt As DataTable = dataSet.Tables(tableName)
dataSource.Alias = dt.ExtendedProperties("DisplayName").ToString
Next

In this line of code the datasource.DataTable is coming nothing, so this gave error me of

"object reference is not set an instance"

But in old DLL's this code works fine.

So can you guide me how to solve this issue.

Thanks in advance

New DLL's does not support old DLL's functions

Posted: Mon May 26, 2008 4:02 pm
by Edward
Could you send to us a sample for reproducing of the error to support[at]stimulsoft.com for analysis, please?

Thank you.

New DLL's does not support old DLL's functions

Posted: Thu May 29, 2008 6:27 am
by Edward
Please add the following line before your loop:

report.Dictionary.Connect();

Thank you.