Hi,
I use SQLite DB.
I structured my project as you suggest: a program and a class library.
Program: BackOrder
Class library: CLReport
in the CLReport I build my report: Report1.vb
The Telerik.Reporting.SQLDataSource: SqlDataSource1
have this settings:
Connectionstring: CLReport.My.MySettings.SQLiteCS
obviously on settings of CLReport I have my SQLiteCs : data source=C:\Documenti\SW\BackOrder\Data\Db.db
On page of Report1.vb every works fine: I connect to DB, see the preview, data field and so on.
The problem arrive when I try to connect from main program BackOrder.
This doesn't works:
on MainForm I have a ReportViewer: RV
with a button I call this function
the reportviewer display me an error: " ... (provider: SQL Network Interfaces, error 26 - Error on find server/specific instance)". (transladet from italian)
can you hel me?
Thanks
Renato
I use SQLite DB.
I structured my project as you suggest: a program and a class library.
Program: BackOrder
Class library: CLReport
in the CLReport I build my report: Report1.vb
The Telerik.Reporting.SQLDataSource: SqlDataSource1
have this settings:
Connectionstring: CLReport.My.MySettings.SQLiteCS
obviously on settings of CLReport I have my SQLiteCs : data source=C:\Documenti\SW\BackOrder\Data\Db.db
On page of Report1.vb every works fine: I connect to DB, see the preview, data field and so on.
The problem arrive when I try to connect from main program BackOrder.
This doesn't works:
on MainForm I have a ReportViewer: RV
with a button I call this function
Imports CLReport
Private Sub Report_OrderInProd()
Dim RP As New CLReport.Report1
RV.Report = RP
RV.RefreshReport()
End Sub
the reportviewer display me an error: " ... (provider: SQL Network Interfaces, error 26 - Error on find server/specific instance)". (transladet from italian)
can you hel me?
Thanks
Renato