Page 1 of 1

SqlCe problem with build 21/9

Posted: Mon Sep 24, 2007 9:19 am
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





SqlCe problem with build 21/9

Posted: Mon Sep 24, 2007 10:32 am
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)
{
}

SqlCe problem with build 21/9

Posted: Mon Sep 24, 2007 10:36 am
by Edward
Thank you very much for this. We will correct our code.

Thank you.