Dataset to crystal report

J

Jo Segers

Hi,

When I try to display a Crystal report I get this error:

Error in File
C:\DOCUME~1\EDIFRA~1\ASPNET\LOCALS~1\Temp\temp_dfaebcea-1b85-4fbd-b0a7-655d3e22fa86.rpt:
Failed to load database information.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details:
CrystalDecisions.CrystalReports.Engine.DataSourceException: Error in
File
C:\DOCUME~1\EDIFRA~1\ASPNET\LOCALS~1\Temp\temp_dfaebcea-1b85-4fbd-b0a7-655d3e22fa86.rpt:
Failed to load database information.

This is the code I use to create the report:

Dim crpt As crp_weekoverzicht

crpt = New crp_weekoverzicht
Session("Report") = crpt

crpt.SetDataSource(DatasetLijnstilstanden)

Response.Redirect("reportWindow.aspx")

When I make a connection to the database inside the report everything
works fine, but if I try to pass a Dataset I get the error.

Best regards,

Jo Segers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top