Dataset to crystal report

Discussion in 'Microsoft ASP .NET' started by Jo Segers, Oct 11, 2006.

  1. Jo Segers

    Jo Segers Guest

    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
     
    Jo Segers, Oct 11, 2006
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Richard Loupatty \(MIO\)

    Linking Crystal Report to Dataset or through ODBC

    Richard Loupatty \(MIO\), Apr 27, 2004, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    441
    Richard Loupatty \(MIO\)
    Apr 27, 2004
  2. Susil Patro
    Replies:
    0
    Views:
    342
    Susil Patro
    Aug 7, 2004
  3. Ceri

    Showing dataset data on Crystal Report

    Ceri, Sep 24, 2004, in forum: Microsoft ASP .NET
    Replies:
    2
    Views:
    1,333
    Greg Burns
    Sep 24, 2004
  4. David Lozzi
    Replies:
    3
    Views:
    1,075
    David Lozzi
    May 18, 2005
  5. Learner
    Replies:
    1
    Views:
    877
    Richard Dudley
    Jan 11, 2006
Loading...

Share This Page