SqlCe problem with build 21/9

Stimulsoft Reports.NET discussion
Post Reply
lcruiser
Posts: 58
Joined: Mon Jul 31, 2006 1:07 am

SqlCe problem with build 21/9

Post by lcruiser »

Hi,

I downloaded the latest build 21/9 and found a problem with compiling reports in designer when connecting to SqlCe. The error message is "CS1501: No overload for method StiSqlCeSource takes 8 arguments". Double click on the error and it points to the following codes:
#region DataSource Categories
public class CategoriesDataSource : Stimulsoft.Report.Dictionary.StiSqlCeSource
{

public CategoriesDataSource() :
base("SqlCe", "Categories", "Categories", "", true, false, 30, false)
{
}
...
...
I check the source code in the SqlCe database pack and the highest arguments is 7

Thanks




lcruiser
Posts: 58
Joined: Mon Jul 31, 2006 1:07 am

SqlCe problem with build 21/9

Post by lcruiser »

I found the solution, add the following code to StiSqlCeSource in SqlCe database pack.
public StiSqlCeSource(string dataName, string name, string alias, string sqlCommand,
bool connectOnStart, bool reconnectOnEachRow, int commandTimeout, bool showFiltersOnStart)
:
base(dataName, name, alias, sqlCommand, connectOnStart, reconnectOnEachRow, commandTimeout, showFiltersOnStart)
{
}
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

SqlCe problem with build 21/9

Post by Edward »

Thank you very much for this. We will correct our code.

Thank you.
Post Reply