Crystal Report Not Scrolling

Post Author: Javier
CA Forum: Crystal Reports
I have a crystalreportviewer in ASP.net 2.0.  I would like it to scroll in a div.  But whenever I run the web app, everything in the div scrolls except for the CR.  It's as if the CR doesn't anchor into the div.  

Please follow the [Rules of Engagement|https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement]
You will want to refer to the last section titled "Use Proper Language".  I have modified your post to remove the offensive language.

Similar Messages

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Display more pictures in crystal report not work why

    Hi guys i try to show picture of specified employee from network path in crystal report  it work
    but i don't know how to show all pictures to all employees in crystal report
    Can any one help me to customize my code to accept show all employee pictures
    i try to make this from crystal report and assign path but version of crystal report not allow to me
    to put path
    my code below show picture to one employee from text box control from network path
    I need to customize this code to accept show more one  pictures of employees from  employee table
    the following fields i show in report
    EmployeeNo      integer
    EmployeeName   nvarchar(50)
    Image     datatype  image 
    btnemployeeno_click
       DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoR", con);
    cmd.CommandType = CommandType.StoredProcedure;    // Viewxxx doesn't seem a good name for a sp
    cmd.Parameters.Add("@EmployeeNo", SqlDbType.NVarChar, 20);
    cmd.Parameters["@EmployeeNo"].Value = textBox1.Text;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    string path = Path.Combine("\\\\192.168.1.105\\Personal Pictures", textBox1.Text) + ".jpg";
    FileStream fs=null;
    if (File.Exists(path))
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + textBox1.Text + ".jpg", FileMode.Open);
    else
    MessageBox.Show("Please File Not Exist");
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    foreach (DataRow dr in dt.Rows)
    dr["Image"] = imgbyte;
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();                     

    Hi, 
    Put an image field in your report, then change the image’s Graphic Location:
    right click the image, select Format Graphic, select Picture tab, click the conditional-formula button that look like a x2 and set the formula’s text to
    the name of the formula or parameter field that will contain the image’s URL.
    Save the formula and click the OK button. Save the report and test it.
    Be carefull with the size of the image field. If this size is not equal to the image itself it could get resized.
    Good Tutorial
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • After i install Visual-Studio 2013 crystal-report not working

    hi
    after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
    when i try to open crystal-report i see this:

    Hi E_gold,
    Crystal Reports forum may be a better place for you.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal Report not works in JAR File

    I'm using Eclipse All in one, which includes Crystal Reports.. I Connected my Java program with Crystal Reports and its working properly. Now my problem is that the Report is not working in JAR files.. It throws some exception as
    "com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects
    com.businessobjects.reports.sdk.JRCCommunicationAdapter---- Error code:-2147215357 Error code name:internal"
    Whats the Error.. I don't know. I think that i may missed some CLASSPATH Files. The included CLASSPATH Files are:
    ReportViewer.jar
    jrcerom.jar
    Concurrent.jar
    CrystalCharting.jar
    CrystalCommon.jar
    CrystalContentModels.jar
    CrystalExporters.jar
    CrystalExportingBase.jar
    CrystalFormulas.jar
    CrystalQueryEngine.jar
    CrystalReportEngine.jar
    CrystalReportingCommon.jar
    icu4j.jar
    keycodeDecoder.jar
    log4j.jar
    MetafileRenderer.jar
    rasapp.jar
    rascore.jar
    rpoifs.jar
    Serialization.jar
    URIUtil.jar
    xercesImpl.jar
    xml-apis.jar
    and the mysql-connector jar file
    Anybody help me please...

    Unable to load database connector
    'com.crystaldecisions.reports.queryengine..driverImpl.
    DriverLoader
    now you have any idea.. pleaseIs that a typo where you have two periods below?
    queryengine..driverImplOther than that I don't think anybody here can help you with that. If your classpath includes all necessary JAR files and you are able to access all your resources from within your application JAR file, then I imagine there is a problem with the third-party crystal decisions JAR file or how you are attempting to use it.
    My advice to you is to try and contact support with the vendor or provider of this API or possibly try posting on a support forum on their website to see if somebody can help you there.

  • Crystal reports not working in windows 7 but working fine on XP

    I have a VB .net 2005 windows app. It has been working on Windows XP (32-bit) environment for a while and now we are moving to Windows 7 (64-bit). The program runs fine except for the reports which was written using the crystal report built in with VB .net
    2005. I get an error Database login and it asks for user ID and password. HELP PLEASE !!!!
    I am using the following connection string:
    DBconn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & str_data & ";Persist Security
    Info=true;user ID=Admin;Jet OLEDB:Database Password= mypassword"
    And on the REPORT form I have the following code
    Private Sub frmExportDiv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim crReportDocument As CrySelectedDivisionSummary
            crReportDocument = New CrySelectedDivisionSummary
            Dim ss As String = Application.StartupPath()
            Dim logOnInfo As New CrystalDecisions.Shared.TableLogOnInfo
            logOnInfo.ConnectionInfo.ServerName = ss & "\\Firm_data.mdb"
            logOnInfo.ConnectionInfo.Password = "mypassword"
            logOnInfo.ConnectionInfo.UserID = "Admin"
           crReportDocument.Database.Tables("qryExportDiv").ApplyLogOnInfo(logOnInfo)
            cryprintandexport.ReportSource = crReportDocument
    End Sub

    Hi vbmaayah,
    CR is not supported anymore by MSFT. Here is the official support forum:
    http://scn.sap.com/community/crystal-reports/
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal report not able to see a SQL view in Business One

    Hi all
    I am trying to create a report using views I have created in the Business One database.
    I can run the report fine when using the Crystal Designer, but when I try to Preview the external Crystal report file from within Business One, it comes up with an error 'The table 'xxxx' can not be found'.
    I have tried to make the connect an SAP Business One connection, and also tried it with the OLEDB connection.  Neither worked.
    (I can however preview other 'table' reports fine)
    I am running SAP B1 8.8 SP 0 pl 15 and SQL2005.
    As views are allowable in B1 databases I would hope that we can use them in our Crystal reports.  Can we use views?
    Or is it my setup/Crystal setup that is causing me issues.
    Any help much appreciated.
    Thanks
    Denise

    Hi Gordon and Kevin
    Thank you both for your replies.
    Gordon - great idea to use the Command mechanism. I had not thought of that but will give that a try.
    Kevin - pleased to hear views are allowed as I often use them in my reports.
    I think I have a more basic issue with my setup of Crystal & B1 on the system - and perhaps this is causing my inability to use views. 
    My current approach is to install Crystal Designer on the server.  I know that it is preferable to put the designer elsewhere but I am not able to connect using SAP Business One connection at all from the client machines.  Frustration! (Keeps saying Logon failed and I KNOW I have the correct logon details)
    Will update this thread once I have set up the designer on the server and hopefully succeeded in including a view (or command) in a report.
    Thanks for your help
    Denise

  • Crystal Report Not Refreshing in browser

    Hi all,
    Am using crystal report for my web application so here am passing my parameter from jsp page
    but it is not refreshing
    For example
    I am select Month=jan my query goes this way.
    Select * from employee where month='jan' group by department order by designation
    when am intially design in eclipse in filter option am selecting 'jan' and when am running in browser am passing the same query with the parameter but here instead of 'jan' am passing month variable where my month variable changes every time according to user choose
    my crystal report is not getting refreshed ..
    hope u understood my problem
    Regards
    Vanishree.B

    Hi Tejomay ,
    I have tried that even after calling refresh() , it ;s not getting refreshed..but if am using signal table in my query  it is getting refreshed .but when am grouping with another table it is not refreshing..
    Regards
    Vanishree

  • Crystal report not working on 64 bit machine

    Hello friends,
    Hope everyone is doing good.  I have an issue and you all are requested to help me out.
    I have build an Application using VS 2008, i used Oracle 10g as database and Crystal report 2008 for reports. The Application and reports are working fine when i deploy it on 32 bit machine, but when I deploy it on a 64 bit machine, my Application works fine but reports are not displayed, when ever i run report it ask Db credential with the following message
    "The report you requested requires further information."
    then Server, user ID and password filed, I off course supplied credential but no results.
    For resolving the issue i installed VS 2008 on 64 bit machine with redist CR Viewer and tried to verify database for the report thinking this might be an issue, but in CR designer it gives me following error when i tried to verify database or create new connection using OLEDB provider for Oracle
    Crystal Reports ActiveX Designer
    Logon failed.
    Details: ADO Error Code: 0x
    Source: Microsoft OLE DB Provider for Oracle
    Description: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    OK
    I tried the following fixes as well:
    - Installed CR viewer for 64 bit machine
    - Registering ORAOLEDB10.dll
    - Reinstalling VS 2008
    The Application works fine but Crystal reports are malfunctioning. Please help!!!!!!!!!!!!!!!
    Thanks a ton in Advance
    Happing coding and resolving issues
    Danish Mustafa Khan

    Also, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Crystal report not working on a client pc

    Hi Everyone,
    I have developed windows application in vb 2012 which will bind data from ms access in crystal report. My windows application is running fine on local machine where i installed vs2012 but when i create a setup an installed it on the local machine it is giving
    this error
    'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine error
    and when i install on a client machine it is giving me the following error,
    System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw
    an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the
    file specified.
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
    Anyone faced same error ?? Please suggest.

    Also for 3rd party software usually contacting the vendor for assistance is recommended. Especially since Crystal Reports are not supported by Microsoft. The search engine or appropriate forum at the below link should be able to assist you.
    SAP Crystal Reports, version for Visual Studio
    Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image
    will somehow become "unstable" or something to that effect. :) I can only surmise that is due to Global Warming of the threads.

  • Crystal Report not taking parameter propery

    Hi,
    I am facing a unique issue in reports.The report is not taking the parameter entered by the user instead it is taking the value which was used for testing the report initially.
    Save data with report in uncheked.
    The report is shwing correct data on CMS and with designer also.
    The problem arises when report is viewed java based web application.
    I am usng Crystal Reports XI and Business Objects 12 CMS.
    Regards,
    Misra P.

    Hi,
    what does single time mean? Only the first time when you start the report from your code and the second time it is like before? You may need to empty the report's parameters before giving new ones... If I could see the relevant part of your code, I could give a hint. There are also lots of samples hwo to paramterize a report from java code, which usually work fine...
    There is also an option in the crystal reports designer to keep parameter values as they were set in the CMC when saving a report to BOE...
    Regards,
    Harald

  • Crystal Report not working when posting the report to the Crystal Server.

    Hi All,
      I created a report using Crystal Reports 2008 with two ODBC connections (User DSN's). When I run the report in Crystal Reports (where I originally created it) it runs fine with no problems.
       I am now trying to load it on Crystal Server 2008. When I try to run this report in InfoView, I get a message: "Error Failed to open the connection." I am thinking that it has to do with the ODBC connections but I am not quite sure. Could someone lead me in the right direction? How will the report that I now saved in the repository on the server connect to the ODBC stream?
       Thank you in advance.

    Solved my problem. I had to tweak the ODBC drivers on the server.

  • Crystal report not comming on the CR Viewer

    Post Author: ssr1
    CA Forum: Crystal Reports
    Hi,
    We actually did the report import using the wizard, not sure what went wrong.. but post which all the reports are throwing error
    "There was an error retrieving data from the server: File frs://Input/a_056/003/000/824/~ce150c43a5b57562a6.rpt not found on File Repository Server."
    The .rpt file names would change for every report though....
    I am very badly stuck with this problem... Need help.

    Also, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Crystal Report not visible when using IE9

    Hello,
    I have a report that has been displaying fine in IE8 for me, but when I upgraded to IE9, the report stopped displaying.  This problem seems to only occur if the report has more than 5 columns of data in it.   If it has 5 or less columns, everything displays correctly.  If it has 6 or more columns, a blank page loads.  I've noticed that if I try to print the blank page,  it will print correctly(all columns will display).
    So far, the only solution I've found is by going into compatibility mode in my IE9.    Is there a way to fix this so that compatibiltiy mode is not required to view the report in IE9?  This report is going to be used by client's and I have no way of stopping them from upgrading their browser.
    Also, I have read that Crystal Reports does not support IE9.  Does anybody know when they will support it?
    I'm using Crystal Reports version 14.0.2.364 RTM to create the report.
    The version of Crystal Reports on my aspx page is  13.0.2000.0
    Thank You.

    Bug description and suggested workarounds have been posted in this thread:
    Fix for CR for VS2010 visual effects bug: faded or blank report under IE9
    04/17/2012 Update:
    It has been verified that the bug fix has been applied to Service Pack 3.

  • Crystal Report  not listed Add New Item for Visual Studio 2010

    I just finished installing cryestal report for visual studio 2010.
    During the installation a visual studio error dialog popped up "Operation cannot be completed. Access Denied", the crystal report installation continued and was informed that the installation was successful.
    But on opening my visual studio project to add new item,  crystal report item is not listed there.
    Is there anything that needs to be done to get it listed in the Add New Item dialog for visual studio?

    I wonder what file you ran to install CRVS2010? Was it the MSI as opposed to the actual install file?
    The link to the correct install is here:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe
    Is that the file you ran to install CRVS2010? E.g. as opposed to:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip
    - Ludek

Maybe you are looking for

  • How do i open a pages document when I do not have it

    I have a mac but do not have pages and a person in my class sent me a document of her notes from pages. is there anyway I could open the document another way without having to install pages?

  • Incompletion in sales order

    Hi I have an incompletion in my sales order creation. Its a configurable material which am using and when i click the incmpletion , it says CONFIGURATION  missing. I this by any chance related to some item category issue or sumthing? wHN I TRY TO COM

  • Having problems starting Web Services... need help!

    I'm running Mac Server 10.5.7 currently configured for email and I've just decided to start hosting websites. The problem I'm having is that Web Services will fail to start with any sites configured. Web Services will start if I don't have any sites

  • Posting in backdate

    hi all guru`s Here Im looking for posting stock in backdate by mb1c. currently two periods are open april 04 and may 05...I want to post stock on date 31.03.2009 I tried ob52 and mmpv ,mmrv but my issue is not getting solved...plz help... thanks in a

  • Backup SunMC Using RMAN

    Hi, I know that SUN has a utility calls es-backup to backup the SunMC. However, since we could NOT affort to shutdown the SunMC for backup, can we use RMAN to backup SunMC Oracle database, SunMC Config files? This means that SunMC Processes are runni