Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: Could not load file or assembly 'file:///C:\Program Files (x86)\SAP ... win\dotnet1\crdb_adoplus.dll'

$
0
0

Managed or unmanaged report should really not make any difference - I almost think this is a red herring...

 

I would proceed as follows:

 

1) Save out one of the embedded reports

2) Create a new simple test app. Pseudo-code:

 

Add a CR viewer to a form

Load report (e.g.; do not embed)

Pass the dataset to the report

set the report to the viewer

 

Code would be close to this:

 

'create dataset

Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument

crReportDocument.Load("C:\WindowsApplication5\test.rpt")

crReportDocument.SetDataSource(dataSet)

CrystalReportViewer1.ReportSource = crReportDocument

 

What happens when you do the above?

 

If that works, you can now change the code to:

 

'create dataset

crReportDocument = New test

crReportDocument.SetDataSource(dataSet)

CrystalReportViewer1.ReportSource = crReportDocument

 

 

The behavior should be identical in those apps.

 

 

 

- Ludek


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>