Page 1 of 1

Unable to Compile Stimulsoft.Report.SQLiteDatabase adapter

Posted: Sat Mar 07, 2015 11:29 am
by russr999
Hi...can't figure out where I am going wrong..... :?
I am trying to create the SQlite adapter dll so I can use SQlite as a data source.

I have used the SQLite.zip from the adapter folder....opened it in visual studio

I have attached the following Stimulsoft references:
- Stimulsoft.Base (2014.3.0.0)
- Stimulsoft.Controls (2014.3.0.0)
- Stimulsoft.Database (2014.3.0.0)
- Stimulsoft.Editor (2014.3.0.0)
- Stimulsoft.Report (2014.3.0.0)
- Stimulsoft.Report.Design (2014.3.0.0)
- System.Data.SQLite (1.0.96.0)

I keep getting the error...
The type or namespace name 'StiSQLiteMetadataProvider' does not exist in the namespace 'Stimulsoft.Database' (are you missing an assembly reference?)

I'm using Visual Studio 2013
I have tried setting the target framework to .NET 4.0; .NET 4.5; .NET 4.5.1 but it does not make a difference

Can anybody help :cry:

Re: Unable to Compile Stimulsoft.Report.SQLiteDatabase adapt

Posted: Mon Mar 09, 2015 7:09 am
by HighAley
Hello.

Please, try to remove next line from the StiSQLiteMetadataProvider.cs

Code: Select all

using System.Drawing;
Thank you.

Re: Unable to Compile Stimulsoft.Report.SQLiteDatabase adapt

Posted: Mon Mar 09, 2015 10:47 am
by russr999
Hi Aleksey,

I found the problem after looking where you suggested.
In the StiSQLiteMetadataProvider.cs there was an error in my file..... I had a malformed region tag...after I removed this everything complied correctly....

Many Thanks for the help :D :D :D

Re: Unable to Compile Stimulsoft.Report.SQLiteDatabase adapt

Posted: Mon Mar 09, 2015 10:50 am
by HighAley
Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.