CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old March 10th, 2005, 10:27 PM
    thatted thatted is offline
    Junior Member
     
    Join Date: Mar 2005
    Posts: 1
    thatted is an unknown quantity at this point (<10)
    Unhappy Cyrstal Report and ASP- HEEEEELLLP!!

    Hello:

    I am using ASP and Crystal report. I created a .rpt file on a dev server and I can access the report in pdf format using ASP.

    But now I want to implement the same on production server. I copied the .rpt file and changed the database settings. The preview pane shows the new data. But when I call the report from ASP and convert it to pdf I get nothing. Just the report heading and no rows get selected.

    I know there is data in the database, and I confirm that the db connection is ok.

    Any clues?

    Also why do we specify the
    Set crtable = session("oRpt").Database.Tables.Item(1)
    crtable.SetLogonInfo CStr(databaseServer), CStr(databaseTables), CStr(databaseUser), CStr(databasePassword)

    in the ASP, when we have to specify the same credentials in the rpt file as well?

    Is is adviced to save the report with data or without?

    Your help will be greatly appreciated.
    Thanks
    Reply With Quote
      #2    
    Old March 25th, 2005, 03:32 AM
    vivekmn vivekmn is offline
    Junior Member
     
    Join Date: Mar 2005
    Posts: 1
    vivekmn is an unknown quantity at this point (<10)
    Re: Cyrstal Report and ASP- HEEEEELLLP!!

    The report is not to be saved with that data.If u save the report with the data the data will be not be refreshed each time while opening the report.

    Set crtable = session("oRpt").Database.Tables.Item(1)
    crtable.SetLogonInfo CStr(databaseServer), CStr(databaseTables), CStr(databaseUser), CStr(databasePassword)

    These lines are written so that the report can log on to the data server.
    Reply With Quote
      #3    
    Old April 7th, 2005, 02:38 AM
    saravanakumar77 saravanakumar77 is offline
    Junior Member
     
    Join Date: Apr 2005
    Posts: 1
    saravanakumar77 is an unknown quantity at this point (<10)
    Question Re: Cyrstal Report and ASP- HEEEEELLLP!!

    Hi

    Iam going to include a crpt report in our existing asp application.
    I dont have any idea to code for how to call and use crpt in asp file.

    Pls, any one give me sample codings for the same.
    mail id saravanakumar77@yahoo.com

    regards
    Saravanakumar.D
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:55 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009