Can you use Crystal Reports on a webpage without having to use session?

In all of the examples I have seen it shows using the session to store the reportdocument object between postbacks.  That means that clicking the page buttons fires a postback.  Other reporting tools such as PDF, ActiveReports, and others do not have to do this.  Is this a limitation of Crystal and a COM backend or is it just a common sample and not the only option? 
How do you get paging to work without having to use session and do postbacks?  AJAX, Javascript, converting to a PDF, etc. would all be possible ways to not require a postback.
My problem is that I am using SQL Server to store the session and the reportdocument object is not serializeable.  I have been told I can buy Crystal Report Server for $5000 and this will work.  But in reality I can buy other reporting tool for $500 or convert them to SQL Reporting and it will work as well.  So I am trying to be reasonable and figure out what I need to do.  That seems like a bit much to need a whole server application to serve the reports just to turn on paging for a couple of simple reports.  I'm hoping there is a way to not use session to get paging to work. 
I have consider pushing the report into viewstate and not session.  But I would rather not push it into either.  Is this a valid option? 
What is the typical way to handle this sort of thing?  Do you really have to push it into session to get the CrystalReportViewer control to page on an ASPX page.  What other options are there?   
Any suggestions, thoughts, or ideas would be very much appreciated.  This is causing enough of a problem where the company is asking me to look at alternatives if we cannot solve this. 
Best regards,
Jon

Acrobat doesnu2019t cause postbacks when paging because the acrobat reader installed locally, so its viewing is in a client-side control.  I imagine the same thing is the case for ActiveReports (some sort of client-side activex control installed). 
If the winform viewer was used on in your web page, then you wouldnu2019t get postbacks either, but then you'd need Crystal Reports runtime on the client to view in that control. And placing a winviewer in a web page give me shivers...
So, to avoid  using session, recreate the reportdocument and re-load the report on postbacks.
As Surabh mentioned, you can serialize the report but you will have to use teh InProc RAS. There is an issue thought; you start to get load errors and otehr errors after viewing 3 reports. I belive this has been reported to R&D for a fix  comment, but I do not have and ETA at this time. The code for the InProc RAS SDK would be as follows:
           If Not IsPostBack Then
            Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            Dim boReportClientDocument As CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument
            '           rpt.ReportAppServer = "Inproc:multithreaded"
            rpt.Load("c:inetpubwwwroot     estSerializeInprocRASEmployee Profile.rpt",
           OpenReportMethod.OpenReportByTempCopy)
            boReportClientDocument = rpt.ReportClientDocument
            Dim x As String = boReportClientDocument.DataDefController.Database.Tables(0).Name
            '     boReportClientDocument.DatabaseController.logon("sa", "admin")
            Dim convertUtil As New CrystalDecisions.ReportAppServer.Utilities.Conversion()
            Dim serializedDoc As String
            serializedDoc = convertUtil.ToString(rpt.ReportClientDocument)
            Session.Add("SerializedDoc", serializedDoc)
            'ViewState.Add("SerializedDoc", serializedDoc)
            Response.Write("The document has been serialized.")
            CrystalReportViewer1.ReportSource = boReportClientDocument.ReportSource
        Else
            Label1.Visible = False
            Button1.Visible = False
            Dim x As String
            x = ViewState("SerializedDoc").ToString()
            Dim deSerializedDoc As ISCDReportClientDocument
            Dim convertUtil As New Conversion
            deSerializedDoc = convertUtil.ToReportClientDocument(Session("SerializedDoc").ToString())
            'deSerializedDoc = convertUtil.ToReportClientDocument(ViewState("SerializedDoc").ToString())
            CrystalReportViewer1.ReportSource = deSerializedDoc
            Response.Write("You are viewing a de-Serialized report" & "<BR>")
            Response.Write(ViewState("SerializedDoc").ToString())
        End If
[1542991 - How to serialize the ReportClientDocument using the RAS .NET SDK?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343332333933393331%7D.do]
- Ludek
Edited by: Ludek Uher on Dec 9, 2011 11:16 AM

Similar Messages

  • Can you purchase older versions of adobe products without having to use Creative Cloud?

    I think it's because of security reasons or the firewall, my work won't purchase Creative Cloud. So I was wondering if you can purchase adobe products like After effects without having to use Creative Cloud?

    Yes Creative Suite 6

  • How can i remove pictures from my droid turbo without having to use the touch screen on the phone at all?

    how can i remove pictures from my droid turbo without having to use the touch screen on the phone at all?  my screen is cracked and i am waiting on a replacement phone.  as far as i can tell in order to access the phone storage through my computer, i have to use the touchscreen to enable it so that the computer will see it as a camera.  I can't do that as the top half of the touschscreen is unresponsive.  any suggestions?  teaches me to use the backup services offered in the future, but i still need a short term solution for this time.

        I'm sorry to hear your screen is cracked spence425. I know its difficult to use the phone while its damaged. I'm happy you are receiving a replacement device. Have you saved any of your pictures and other data to the cloud? Here is a link about the cloud http://vz.to/1mF0GIx . Unfortunately, you will be unable to remove any data from the phone if the screen is unresponsive but if you are looking to transfer data to your new phone, it would have needed to be saved via the cloud first. Keep us posted.
    Kinquana_VZW
    Follow us on Twitter @vzwsupport

  • Using Crystal Reports on a webserver without installation

    Hello,
    I'm sure this has been asked before, but I cannot seem to find it.
    Is it possible in any way to use Crystal Reports.NET (VS2008) on a production server without installing the merge modules, runtimes, etc for an ASP.NET 2.0 web app?
    I'm moving hosts, and my new host uses a shared server architecture, and I cannot install any third party apps on it. I'd like to be able to continue to use the current functionality in my web app, but it requires CR.

    Hello,
    There is no supported method of using Crystal Reports without deploying the appropriate runtime files. Since Crystal Reports is not fully managed by the .NET framework this additional step is required.
    Sincerely,
    Dan Kelleher

  • Can you integrate Crystal Reports dynamic charts onto DW?

    Is there a way that I can drag/drop or integrate dynamic/live
    charts that were built in Crystal Reports into Dreamweaver? I am
    designing the company website and would like to use Crystal to
    create our live graphs/charts and then integrate these charts into
    DW so people can see them on the site. These charts will be live
    and constantly updating so I'm not sure if this is possible...
    Has anyone tried this?
    Thanks!

    I haven't tried this. But wondering why you're not using
    Microsoft product such as Visual Studio or Visual Web Developer
    (free from web too from MS) to try this.
    I know Dreamweaver can't do ASP.NET 2.0 and above. So if
    you're going to be doing anything with C# or VB.NET I would look at
    Microsoft instead of DW.
    I know Crystal Reports work well with Visual Studio

  • Allowing reports to be run without having to use password

    i ahve the responsibility to develop reports for our various departments.  I need to allow the management of the departments to run the reports.  I do not want them to have to enter a password(usually mine) when the report accesses the Database.  Can any one help me out?

    Hello Richard,
    Crystal Reports does not store database password information.  This is by design, so a user refreshing a report will always be prompted to log onto the database.
    If you want to develop a custom application for report viewing you can write code to pass the database logon information at runtime so that the users do not get prompted to log on to the database.
    Depending on the version of Crystal Reports you're using we have a few SDKs that can help you accomplish this task.  We have the RDC for Visual Basic 6/COM development, the .NET SDK, or the JRC (Java Reporting Component) SDK.
    I can send you some getting started information for RDC or .NET development if you're interested.  I don't work with the JRC so I don't have answers for that SDK.  Let me know if you're interested in additional information.  Please be sure to post the version of Crystal Reports you're using, and the development language you would like to use.
    Sincerely,
    Dan

  • Is there a way to set up a template that can be edited that will update the webpage without having..

    I was wondering if there is a way to create a template that you can upload music, pictures,and videos to that will automatically upload to a server without having website software. Reason: I am making a website that I would like to be accesible without me having to upload all the above on a regular basis, just the owner of the website.

    Sounds to me as if you might like to have a look at Wordpress.
    Find a theme, add your modifications and then show the owner how to use Wordpress.
    Martin.

  • Can I access my notes and other things without having to use my Ipod touch/

    Is it possible for me to be able to lock or access my notes and other information just using my computer?

    no but you can use icloud for some stuff if you have ios5

  • How can I burn an mpeg onto a DVD without having to use IDVD or IMovie?

    So I've got a few jpg's and mpeg's that I would like to burn for PC friends, but the only way I can figure out how to get these onto a CD or DVD is by using IDVD or IMovie with my IMac. Is there a way around this? Why doesn't a blank DVD or CD icon come up on the desktop once inserted so that I can simply drag and drop my photos and short movies to it to be burned accordingly? Thanks in advance.
    IMac G4   Mac OS X (10.3.7)  
    IMac G4   Mac OS X (10.3.7)  

    Thanks for responding Dave, but this option doesn't
    seem to appear in the preferences of IDVD, DVD
    Player, or Quicktime. It seems strange that the only
    way I can burn a movie is to create a new IMovie
    project and and then burn it via IDVD. This is a
    huge hassle when all I want is a few short videos in
    no particular order saved on a CD or DVD. My CD
    player doesn't seem to be listed separately and is
    tied into Itunes. Isn't ILife suppose to make
    things easier? Thanks for your help.
    In "system preference" not the others (IDVD, QT DVD PLAYER)

  • Can you change background colours on new iOS without having to invert colours?

    I suffer from visual migraines and the new colours on this upgrade are seriously affecting me. I can barely look at the phone without becoming ill. The only semi solution i can find at the moment is to invert the colours to make the screen darker, but this also inverts everything else -pictures, apps. Etc. surely there must be a way. I only bought an iphone, which as we all know aren't cheap, because it was user friendly. Now I can barely use it without suffering! It's quite disappointing to think that Apple didn't consider customers like myself when designing this new upgrade!?
    Please tell me I haven't wasted a fortune!?!
    Also this is the second time I've had to write this because the first time I moved the screen to read what I'd written and it took me back a step as I moved the screen a tiny bit too quick.....another feature that wasn't thought about thoroughly.

    I have the same complaint...I've got eye problems and have already adjusted the font size.
    Why all the freakin' white...and light grey font.. I still have the iphone 4s and IOS7 looks like crap on the older phone..
    I want MORE customization APPLE!....GET IT!  OR I WILL switch to another phone vendor.. and I've used Apple for years.

  • Can you have two separate iPods on iTunes without having the same songs?

    My husband and I both have iPods but we don't want to same music on them. Really we would like to have two separate iTunes, so that I don't get his music and he doesn't get mine. Is that possible or do we just have to manually sync them?

    Click here for options.
    (37526)

  • How can you upload photos to FaceBook from iPhoto without using the sync where is deleted in iPhoto it will be deleted in FaceBook

    How can you upload photos from iPhoto to FaceBook without having the sync where if you delete from iPhoto you delete

    I think you have to have the files on your HD. So either put them in iPhoto or copy them to a folder in Finder, and from there you can upload to Facebook.

  • Can you use Crystal Reports for Enterprise to connect to BOE4 over the web?

    Hello,
    When I use Crystal Reports for Enterprise in BI Launchpad when I am connected on the LAN network it works.
    If I connect via the internet, it doesn't.
    I wanted to know if Crystal Reports for Enterprise only works if you are connected to Business Enterprise 4.0 on a LAN network and if it's not designed to work remotely, aka via the internet connection, like you can with Webi?
    regards
    Janetta

    Hello,
    We installed BOE4 on the server, it runs perfectly, no issues.
    Install Crystal Reports for Enterprise on a laptop. It's the latest one as I checked to see if there's any later versions or patches.
    I am able to log into the BOE Enterprise system as administrator.
    Namely I have setup the Server connections per the following:
    Server Name:   <IP address>
    The check box for SSL is unchecked.
    Server Port Number:   nnnn
    Server Context:  /dswsbobje
    System display name:   <my server> External Connection
    User Name : Administrator
    It connects successfully.
    I then go and create a report against a Universe that I can see listed on my BOE 4 server.
    It then comes up with this error message:
    "Unable to Logon: There is a problem logging on to SAP BusinessObjects Enterprise.
    Please check your logon credentials and make sure your nework is properly configured before trying again.
    If problems persist please contact your Administrator."
    Architecture: 
    BOE 4 sits on Windows 2008 Server SP2
    Laptops tried it on are Windows Vista and Windows 2003 Std.
    Thanks for looking into this for me.
    Edited by: Symonds Janetta on Oct 11, 2011 12:05 AM

  • Can we use Crystal Reports 2008 tool to directly reports on SAP R\3 data?

    Hi,
    Can we use Crystal Reports 2008 Designer to directly reports on SAP R\3 data without any additional Integration Kit for SAP?
    I believe the Integartion Kit is only for reporting on SAP BW data.
    Thanks in advance for your response and any additinal details you can provide.
    Thanks,
    Sri

    Please post this query to the Crystal Reports Design forum:
    SAP Crystal Reports
    That forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Ludek

  • I can't open Crystal Report in Firefox 10. When I open Crystal Report, then Firefox show a blank screen. In IE, Avant Browser using normal.

    Hi, My Name Giang! I using Crystal Report Server Enterprise 9.2 in server. This application using Crystal Report Viewer to show report. I write a ASP file to show report. In client, I using IE, Avant Browser read report. In first time, this app show a message to view Active X Crystal Report Viewer Warning. If I choose Yes then app start normally.
    But, I using Firefox 10 to show my report. In first time, Firefox not show message warning of Active X Crystal Report Viewer. Firefox only show 1 tab page, with blank screen.
    Can't you Help me to show my report?. Do I need using 1 plugin to show Crystal Report? Thanks You very much!

    I think you need a viewer for Firefox, see http://www.sap.com/solutions/sap-crystal-solutions/query-reporting-analysis/sapcrystalviewer/index.epx => Thanks for answer, but i can't find viewer for Firefox.

Maybe you are looking for

  • IMessage has stopped working on my iPod

    Hi, this is my first post on here, so I hope it makes sense. This morning I tried to send several messages via iMessage however they loaded and then stopped just short of sending. I waited perhaps 20 minutes and still they hadn't sent and then it cam

  • Missing full size photos - thumbnails only

    iPhoto '11. I notice I am missing the full size images of photos - I can not open them to edit. However, the thumbnails do appear below. This is not the case with all albums, just some. What's up with this?

  • Upgrade Solution Manager 7.1 add-on ST-ICO

    Hi everybody I'm upgrading from Solman 7.01 to 7.1. In the prepartion I'm stucked at the phase ADD-ON selection. The following stack is the target: SAP_BASIS 702 0009 SAPKB70209 SAP Basis Component SAP_ABA 702 0009 SAPKA70209 Cross-Application Compon

  • Repainting help needed!  vm option nopaint?

    I have a Swing app that has some substantial painting/repainting issues. Basically, I have an MDI app (JDesktopPane with several JInternalFrames). When each JInternalFrame is brought up (selected via a JTree node), everything looks fine, but if it is

  • In need of gaming computer

    I have a laptop but it doesn't have a minimum required video processor. And from what I understand, videogames make laptops slower. So I've decided to save up to buy a gaming desktop. I don't have a lot of money, but the only thing this desktop needs