Crystal report doesnt work in client`s pc

Hi! I have created my program inC# (visual studio 2010). However after making program I have created setup file of my program. However when I install my program there in my client`s pc everything works fine but crystal report doesn't work. When I try to show reports there in crystalreportviewer it shows me long error message which says:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text **************
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()
   --- End of inner exception stack trace ---
   at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
   at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
   at HotelReservation.MostReqGmsRprt..ctor()
   at HotelReservation.MostGmsRqstdForm..ctor()
   at HotelReservation.MainForm.tsmiGmsReq_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
HotelReservation
I install crystarl report runtime & do't know where is the problem.
I seeach via google to find solution to this error, but do't find anything, So would you please tell me how should I solve this problem? I have to solve this problem as early as possible else my client will be disappointed. Please help me.
Thanks,

That was the .NET Framework.
- Ludek
Senior Support Engineer AGS Primary Support, Global Support Center Canada
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Share Your Knowledge in SCN Topic Spaces

Similar Messages

  • Crystal Reports not working at client Machine

    Hello,
    We developed few reports through crystal report tool .All the reports are working fine at server but when we go into client workstation than reports are not working and it also not showing any error.
    I already Install Microsoft Framework 2.0 service pack 1, Crystal runtime and crystal prerequisite at client workstation.
    Please reply ASAP.
    With regards
    Amit Tyagi

    Dear,
    I think you should go to the following link for your query about SAP Business One and Crystal Reports
    SAP Business One and Crystal Reports
    Regards
    Apple

  • Error- Create Report doesnt work on client machine

    Hi All,
    On one of the machine i have installed
    BO XI R2 server,
    VS 2005
    I have tried Create report application using Web intelligence sdk on it and it's working.
    But when i try to run the same sample from another machine it throws an error as below.
    Java Plug-in 1.6.0_11
    Using JRE version 1.6.0_11 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\sslcomp172
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    load: class com.businessobjects.wp.tc.TCMain not found.
    java.lang.ClassNotFoundException: com.businessobjects.wp.tc.TCMain
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://localhost:2112/edit_cs_webi_java_panel/applet/com/businessobjects/wp/tc/TCMain.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: com.businessobjects.wp.tc.TCMain
    Please help me
    Thanks
    Amol Mali

    Hi, Amol;
    The main point of the error is that there is a class that is not found or missing.
    On the other computer, how did you deploy the Crystal runtime files? Have you installed a server version of Crystal to that machine, or does it have the full Enterprise product installed?
    Regards,
    Jonathan

  • Crystal report not working when setup is made in VS 2010

    Hi, i am new to SAP Business objetcts as well as in this forum.
    I have made an application in VS 2010 (C# /WPF) and made its .exe file too.
    The Crystal reports are working fine when i am running from Visual Studio.
    But it gives error message while i am running the .exe.
    I have made the .exe as normally we do.
    Please help me out.
    Regards.

    Adam assumed you were using Enterprise as the thread was posted to the ".NET - SAP BusinessObjects Enterprise, SAP BusinessObjects Edge, SAP Crystal Reports Server" forum.
    Since you are using WPF viewer, I'm pretty sure this is not the case.
    I am not sure how you are loading the report, so a code snippet from your app will help. Also, in your code as a test, hard code the path to the report. Does that work?
    Looking at the [WPF|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8] demo is going to be worthwhile also.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal Report not working in JAR File

    I am using Eclipse All in one, which includes the Crystal Report... I Finished every thing and the Crystal Report is working in Eclipse.. But its not working in JAR files.. Anybody suggest me WHICH FILES SHOULD BE SET AS CLASSPATHS FOR CREATING THIS JAR FILE...
    Thanks in advance

    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.

  • How to get one crystal report to work with two different backends?

    We have a software that can work with either SQL2008 or Visual Fox Pro backend.  We are trying to compile One Crystal report that will work with either of the two backends.  How to you make sure that your Crystal Report is compiled so that it will work with both backends?
    Right now my reports were originally created using the SQL2008 backend and are retaining the DBO reference in the statement, which then will not allow the Crystal report to work with the VFP backend.

    You can write your data sets as a command using hand coded SQL. As long as "dbo" is the only schema used in your SQL Server database, you don't need to specify it in the SQL. SQL Server will automatically assume the dbo.
    The 2nd thing... The SQL needs to be 100% compatible with both SQL Server 2008 AND VFP.  This will limit the list available functions to those that are common to both platforms AND work exactly the same in both platforms.
    The other part is to make sure you are using an ODBC type connection instead of OLD/DB. That way all of the connection properties are set on the local machine and the report is simply looking for the System DSN name.
    HTH,
    Jason

  • Cannot install Crystal Reports Server 2008 and Client Tools on same machine

    I am having trouble setting up Crystal Reports Server 2008 with Client Tools on a new Windows 2003 SP 2 machine. The Server 2008 package installs OK (built-in MySQL server, built-in Tomcat 5.5 server). Reports run okay. But my customer wants to run reports that use Salesforce as a data source, so I tried to install Crystal Reports Server 2008 Client Tools (needed  for Salesforce support, apparently). I receive this error:
    'Business Objects product detected: cannot continue with install'. Installation of Client Tools immediately terminates.
    Oddly enough, when I uninstalled Server 2008, the Client Tools installed successfully. Then I tried installing Server 2008, and I got the same error message as with Server 2008. What the heck?
    Any ideas on how I can get Server 2008 and Server 2008 Client Tools to live in harmony on the same machine? We were able to do this with a (otherwise overloaded) Win2K3 server before.
    Thank you in advance for any help.

    Typically the client tools are installed with enterprise by default. If not then you would want to use add/remove in control panel and select them. The installer thinks you are trying to install enterprise on top of itself and thus the error.
    Regards,
    Tim

  • 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 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.

  • SAP 8.8 Crystal Report Layout problem in client workstation

    Hi Experts,
    We have import crystal report to SAP Business One as Form Layout or AP Invoice. We have already created the token DocKey@ so it would automatically be printed and will not ask for the document number. The layout works fine using the server workstation but in the client workstation we cannot proceed with the printing because when we click on the preview button, a login window appears with this details:
    Database Login
    Server Name : gray out or not active
    Database: gray out or not active
    Login ID: active
    Password: active
    We tried to enter the SQL login but fails.
    Is there any components that we need to install in the workstation before it could function the same way as PLD?
    Thanks,
    Janice

    You can try creating the ODBC connection, which is the same as on the server.
    Assuming this is the scenario:
    1. You write the invoice using crystal report on the server
    2. On the server, Control Panel--> ODBC, you have created an ODBC link eg; SAPB1.
    3. The report is connecting to ODBC link and pointing to database OECUS
    On the client workstation, you need to create:
    1. Control Panel--> ODBC, you need to create an ODBC link as on the server.

  • 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 Reports not working with PL/SQL

    When I try and connect a Oracle stored procedure in ODBC using Oracle 8.1.7 client and Crystal 8 Reports I get the following error:
    ODBC error: [MERANT][ODBC Oracle 8 driver][Oracle 8]ORA-06550: line 1, column 13: PLS-00302: component 'TEST_PROCEDURE' must be declared
    ORA-06550: line 1, column 8: PL/SQL: Statement ignored
    This code worked just fine in Crystal Reports 7. Does anyone know how to get this to work? Any successful code snippets to share? I called Crystal Decisions Support with no luck at all.
    Thanks!

    Yes, the dialog is different than in Crystal 7 but the box is already checked.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Rick Post:
    Do you have 'Stored Procedures' checked in the 'Allow reporting on' section of the SQL page on the 'File - Options' properties page?
    Depending on how Crystal 8 was installed this setting may be different than what you have been using in Crystal 7.
    <HR></BLOCKQUOTE>
    null

  • 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.

Maybe you are looking for

  • Memory problem with Elements 8 and Windows 7

    Hi, I have a copy of Elements 8 running on Windows 7.  When I open the organiser a large amount of RAM (about 1 GB) is grabbed by a SVCHost process.  The memory assosiated with the SVCHost builds up over time.  When I close the application the memory

  • Loading bank accounts with invoices using Payables Open Interface Import

    Dear Gurus, We are on 11.5.10.2. We create invoices in the 3rd party system, then load them into oracle using payables open interface import process. When users create invoices, they choose Vendor and Site first. If the Vendor Site has multiple bank

  • How do I downgrade from Windows 8.1 to 7 and will my laptop function correctly after this?

    I bought my new laptop yesterday and unfortunately it came with Windows 8.1. I love that Microsoft innovates but I however dislike Windows 8/8.1. So I want to go back to Windows 7. The problem is: What are the steps to this? I still have an official

  • How can I make apps in a Windows PC

    Hello, i what to make apps for Apple Store but i don't have a Mac or a iOS but I have heard that I can make apps in my computer that has installed Windows 7, is that true ?

  • Elements 11 and Canopus

    I have many Canopus 110 I/O devices laying around from our Avid days. I was playing around with one and Premiere Elements 11, but had no luck seeing my capture device. I set everything (I think) to DV, but still no luck. Any help is appreciated. than