mjkate.maddox 0 Newbie Poster

the given error is that this crdb_adplu.dll is missing or cannot be found in the path specified:

file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll'

i already tried downloading it and adding it to the folder and editing the config file with :

<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>

*** the config part works but it doesnt generate the records from my database..
this is my code:

Dim q As String
Dim rpt As New CrystalReport3
Dim sd As New ReportDocument
Dim qd As New DataSet
sd.Load("D:\DBMS\prog_toh\NKIEMPC\NKIEMP…
q = "Select * from tblLoan_ledger"
Dim da As New SqlDataAdapter(q, sqlcon)
Dim ds As New DataSet
da.Fill(ds)

If ds.Tables(0).Rows.Count > 0 Then
rpt.SetDataSource(ds)
CrystalReportViewer1.ReportSource = sd
CrystalReportViewer1.Refresh()
CrystalReportViewer1.Show()
End If