on 03-11-2011 5:54 PM
Could not load file or assembly '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' or one of its dependencies. The system cannot find the file specified.
I just installed CR 10 (v. 10.0.0.553) on a Windows 7/64bit machine and I downloaded and installed the package for building reports in VS 2010/VB.Net.
In the C:\Windows\assembly folder the CR resources have version 13.0.2000.0 listed
I created the first report and added a report viewer to a form.
I'm using the code below to try and view the report.
When it gets to the line: cr.Load(strReportPath) I get the error above.
The folder "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1" does not exist. Instead I have the same path, but it is listed as "dotnet" not "dotnet1"
Inside the dotnet folder there is not file named crdb_adoplus.dll.
Any help is appreciated.
Greg
Dim strConnection As String = "Provider=SQLOLEDB;Data Source=;User ID={user id};Initial Catalog={db name}"
Dim Connection As New OleDbConnection(strConnection)
Dim strSQL As String = "SELECT [ItemName],[OtherNoteText],[EncounterDate] FROM [AICU].[dbo].[exp_OtherNote] where [PatientID] = 10001"
Dim DA As New OleDbDataAdapter(strSQL, Connection)
Dim DS As New DataSet
DA.Fill(DS, "AICUGetChartNotebyPatientID")
Dim cr As New ReportDocument
Dim strReportPath As String = "U:\VS2010\Clarity\Clarity\TestReport.rpt"
If Not IO.File.Exists(strReportPath) Then
MsgBox("Unable to locate report file:" & vbCrLf & strReportPath)
End If
cr.Load(strReportPath)
cr.SetDataSource(DS.Tables("AICUGetChartNotebyPatientID"))
CrystalReportViewer1.ShowRefreshButton = False
CrystalReportViewer1.ShowCloseButton = False
CrystalReportViewer1.ShowGroupTreeButton = False
CrystalReportViewer1.ReportSource = cr
cr.Refresh()
Hi,
Can you check following link?
http://www.sdn.sap.com/irj/scn/advancedsearch?query=crdb_adoplus.dll
Thanks,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response. Yes, I did search on the DLL name before posting. I read and read and read and read. One thing in common among most of the post is that they link to other posts that claim to have solutions. This seems to be a very common problem with many possible solutions, none of which seemed to work for me.
Frankly, I don't think I have any more time to read posts that endlessly link to other posts with "solutions" that don't solve the problem. If there is someone at SAP that can give me a solution to the problem without me needing spend the time reading 5 pages of a search that would be great.
Thank you,
Greg
See the KB [1525432 - Could not load file or assembly 'file:///<Path>crdb_adoplus.dll' or one of its dependencies|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533323335333433333332%7D.do].
This KB does come up with a simple search...
Ludek
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.