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]

Similar Messages

  • Crystal reports not working when integrated security is set to true

    Hello Everybody,
    I have developed 20 crystal reports. When i deploy in my development environment(asp.net) these reports are working fine.My UAT environment is using application pool connection instead of database connection.
    My .net developer has written a code and he set integrated security to true for reports. My problem is reports which are having parameters not working correctly. Reports which are not having any parameters, it is working fine. If i enter parameters in asp .net page, the report is running for all the values. It is not considering the parameter values.
    Thanks
    Ram

    Hi Ram,
    Need more info, what version of CR assemblies, which OS is hosting the app and what patches, CR and OS are installed?
    Have you discussed this issue with your developer? Possibly all of the runtime is not on the app server?
    Thank you
    Don

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

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

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

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

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

  • Web Crystal Report not working after period of time

    Hi
    I have had a problem for a long time now on one of our web servers, it's becoming more of an issue lately due to a web site using Crystal more. The problem is that the Crystal Report Viewer does not load after a few hours. If I re ship the main DLL into the Bin folder for the site, then something gets 'reset', and hey presto, Crystal starts working again.
    The problem would even arise with a basic CR, with just one Textfield on it (i.e. not show)
    Web server is 32 bit Windows Server Web Edition SP 2. Asp.Net project built in VS 2012 against .Net 4.0.
    Anyone have any ideas?
    Many thanks,
    Julian

    Make sure you are on SP 8
    Make sure you are using .Close and .Dispose on your report objects as you get done with them.
    What OS? (2003, 2008, 2012)
    Provide more info on the following:
    The problem is that the Crystal Report Viewer does not load after a few hours.
    What does that mean? Errors? Warnings? Behavior? Symptoms?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • CSS with crystal reports not working

    <p><span><font size="3"><font face="Times New Roman">We have typed the CSS Class Name property of a text object. We have used the Publishing wizard to publish the cascading style sheet on the reports server. Still it does not work. I have searched the web for answers and the only answer I got was from a forum that said Crystal Reports does not fully support css.</font></font></span><span><font face="Times New Roman" size="3"> </font></span></p><p><span><font size="3"><font face="Times New Roman">All I want to do is apply css to the reports we have developed in Crystal Reports Developer XI R2, and then publish the reports on Crystal Reports Server XI using the publishing wizard and then view them with InfoView. Can anyone give my a straight forward way of doing this?</font></font></span><span><font face="Times New Roman" size="3"> </font></span><span><font size="3"><font face="Times New Roman">Thanks,</font></font></span><font size="3"><font face="Times New Roman"><span>Peter Mead</span><span> </span></font></font></p>

    <p>Hi Peter, </p><p>I do not believe (although documentation is scarce as you have found out) you can use style sheets if you are using InfoView. I was able to use them by including them in our custom JSP pages using the LINK tag (we are printing reports using RAS). However, that&#39;s not applicable if you plan on using InfoView.</p><p>For the record though, you cannot really use style sheets if you are using conditional formatting. If you use CSS to control things like font, color, alignment, basic look-and-feel stuff, and your reports are also using conditional formatting values, then any value that triggers the conditional formatting will lose the CSS Class Name, and will look very out of place on the report with the rest of the values in the column. In those cases, you basically have to hard code the font type, font size, alignment, etc into the conditional formatting rule, which completely invalidates the point of using CSS. If you ever want to change FONT-FAMILY from Times New Roman to Arial then you have to change it in the CSS (which is very easy) and then also in every single report that uses conditional formatting (which is very lame). At that point, you&#39;re better off just using a template. </p><p>Does anyone from Business Objects have any suggestions? I think for CSS to be useful you basically need not only to have the ability to conditionally format, but you also need a checkbox for every possible attribute for "overwrite CSS." If the CSS says FONT-COLOR = black but the conditional format says to make all negative values red, you should be able to say "I want negative values red but I want the font and the alignment to match the rest of the report, so use whatever the CSS says." </p><p>Anyway, I hope your experience is better than mine. Definitely reply if you figure out a good way to use style sheets. </p>

Maybe you are looking for

  • Ideas for a "virtually" tabbed pane

    I'm developing on this application for keeping information about products and customers in a shop. In my "product manager" window I would like to have tabbed pane with an input interface for different types of goods in each tab respectively. But sinc

  • Windows 7 how do i make a image ?

    Hi After microsoft desided to make a totaly mess out of evrything with syspreping and windows 7 iam soooooo stuck if i use MDT and AIK i can make my self a bootable wim file and pull image fra server via fileshare BUT that i dont want i want to use N

  • Next/Prev in Report row counter

    How do you have the Next/Prev selectors appear with the row counter section at the bottom of reports. I created an SQL report, and although I selected use report pagination, the Next/Prev selectors are missing at the bottom of the report with the row

  • Hi, is it possible to store songs by folder ways in ipod Nano?

    Hi, is it possible to store songs by folder ways in ipod Nano?

  • T400s running Windows 7 on network with two XP machines

    I have searched and found a few others with a similar problem, but so far nothing has helped.  I have a home network on a Linksys WRT310N router.  There are two XP machines wired to the router and I want to connect the laptop wirelessly.  The laptop