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:
    466
    Richard Loupatty \(MIO\)
    Apr 27, 2004
  2. Susil Patro
    Replies:
    0
    Views:
    396
    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,393
    Greg Burns
    Sep 24, 2004
  4. David Lozzi
    Replies:
    3
    Views:
    1,362
    David Lozzi
    May 18, 2005
  5. Peri
    Replies:
    1
    Views:
    889
    Guest
    Jul 21, 2005
  6. Sachin

    Asp.Net 2.0 Crystal report populate with dataset

    Sachin, Aug 2, 2005, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    1,047
    Steven Cheng[MSFT]
    Aug 3, 2005
  7. Learner
    Replies:
    1
    Views:
    1,040
    Richard Dudley
    Jan 11, 2006
  8. Simone

    issue with crystal report created from a dataset

    Simone, May 16, 2007, in forum: Microsoft ASP .NET
    Replies:
    6
    Views:
    294
    sloan
    May 17, 2007
Loading...