Crystal Report XI problem using Command

Post Author: Elie_123
CA Forum: General
Hi all,
I am trying to make report using Crystal XI where to get all contacts that weren't contacted during a specific user date range.I have one table for contacts: Contact1 and another table for history records: Conthistaccountno is the key.
I wrote a command:
Select company, city, key4, department from contact1
where accountno
NOT IN (select distinct accountno from conthist where conthist.ondate between
{?startDate} and {?endDate}) order by company
If the year of start date and year of end Date is the same than no problem and report generate correct data. if year of start date is less than year of end date (ie: startdate= 01/01/2007 and endate=01/01/2008) than no records are displayed and report is not working fine.
Knowing that i used the same query in SQL Query builder and it is working fine for any date values.
Any ideas?
regards

Post Author: Elie_123
CA Forum: General
here is the query i am writing in my software (GoldMine) SQL query builder. it is on dbase.Select company, city, key4, department from contact1
where accountno
NOT IN (select distinct accountno from conthist where conthist.ondate between "01.01.2006" and "29.08.2008") order by company

Similar Messages

  • Crystal report ReportPageViewer problem using Stored Procedure

    Hi,
    I'm using the ReportPageViewer component in my jsf page, to visualize cystal reports on my web application.
    Everything is working fine when my crystal report queries a table. But, for performances issues, we've changed this to use a stored procedure.
    However, when trying to run the report from my jsf pages, I obtained the following error:
    The QE parameter ''{0}'' could not be found.
    The parameters are exactly the same as before. I can see in the Reportsource that I'm passing to the ReportPageviewer that all the parameters are set with the proper values.
    When running the report from crystal report, I obatin the results, using the same database login/password than my web application.
    Any help would be really appreciated!
    Thanks,
    M�lanie

    Hi Andy Hendrickson,
    Let me understand your problem correctly.
    1) When you run the procedure from command prompt the table gets populated. It is clear.
    2)When you run the procedure in before report trigger you get nothing. Let us analyze why but for now it is clear.
    3) What you mean by "I run the procedure from the command line and leave the data, then run the report I get updated data in the table, but nothing returned to the report."
    Can you please explain a bit more and also update code snippets of what you are using ?
    Thanks,
    Vinod
    Oracle Reports Team

  • Crystal Reports for Enterprise - SQL Command - Array Fetch Size

    We're attempting to migrate a report created in Crystal Reports 2013 Support Pack 3  Version 14.1.3.1257 to...
    Crystal Reports for Enterprise Version 14.1.3.1300 Build: 2013 Support Pack 3 Patch 1
    The originating report is successfully connecting and returning data from MySQL through the MySQL ODBC 3.51 Driver (3.51.30.00), using a SQL Command
    When opening up this report in CR for E and running the report against the same database and the same version of database driver, we get the following Crystal Reports error:
    Crystal Reports
    A problem was encountered
    The following error has occurred while trying to retrieve the data:
    Error on Fetch : Largevarchar and Largevarbinary data cannot retrieved as variable-length data if the array fetch size is not set to 1.
    Please check with your System Administrator that the data source is correctly configured.
    How would we check and where would we adjust the array fetch size within Crystal Report for Enterprise?
    Thank you

    Hi Vitaly,
    I had not yet tried creating a new report based on the query, within CR for E, but I did now upon your request\suggestion.  Yes, it fails as well with a brand new report..same new error as above: "Non Supported Datatype"
    I've pasted the SQL we are using below.  I just tried running this exact query natively through MyPHPAdmin, and also creating a brand new report with Crystal Reports 2013 against the same ODBC driver that I am trying to use within CR for E.  In both cases the query was accepted and ran successfully.
    Driver info:
    MySQL ODBC 3.51 Driver -  Version 3.51.30.00
    I have also tried 2 newer versions of the driver:
    MySQL ODBC 5.3 ANSI - Version 5.03.02.00
    MySQL ODBC 5.3 Unicode - Version 5.03.02.00
    ...where I also configure each within the Information Design Tool so that the "Array Fetch Size"=  1
    I receive the same "Non Supported Datatype" error for these drivers as well.  The MySQL server version is:  5.1.73-0ubuntu0.10.04.1-log
    Protocol Version: 10
    MySQL charset:  UTF-8
    Here is the query:
    SELECT ft.seq_id, ft.ticket_date, ft.posttotal,
    wl.name as current_approval_level,
    TIMESTAMPDIFF(DAY,ft.ticket_date,NOW()) AS Days_Since_TicketDate,
    TIMESTAMPDIFF(DAY,ft.date_created,NOW()) AS Days_Since_Created,
    TIMESTAMPDIFF(DAY,wph.workflow_date,NOW()) AS Days_Waiting_Your_Approval,
    ft.internal_comments
    FROM ticket AS ft
    LEFT JOIN unit AS unit ON (ft.unit_id = unit.id)
    LEFT JOIN unit_district AS udist ON (udist.unit_id = unit.id AND (udist.effective_date IS NULL OR udist.effective_date = 0 OR udist.effective_date <= ft.ticket_date)
           AND (udist.expiry_date IS NULL OR udist.expiry_date = 0 OR udist.expiry_date >= ft.ticket_date))
    LEFT JOIN workflow_document_process_map AS wdpm ON (ft.id = wdpm.document_id AND wdpm.document_type_id = 1)
    LEFT JOIN workflow_process AS wp ON (wp.id = wdpm.workflow_process_id)
    LEFT JOIN workflow_rule AS wr ON (wp.workflow_schema_id = wr.workflow_schema_id AND wp.workflow_level_id = wr.workflow_level_id AND wr.workflow_activity_id = 2  AND (wr.effective_date IS NULL OR wr.effective_date = 0 OR wr.effective_date <= ft.ticket_date) AND (wr.expiry_date IS NULL OR wr.expiry_date = 0 OR wr.expiry_date >= ft.ticket_date))
    LEFT JOIN workflow_rule AS wr2 ON (wp.workflow_schema_id = wr2.workflow_schema_id AND wp.workflow_level_id = wr2.workflow_level_id AND wr2.workflow_activity_id = 4 AND (wr2.effective_date IS NULL OR wr2.effective_date = 0 OR wr2.effective_date <= ft.ticket_date) AND (wr2.expiry_date IS NULL OR wr2.expiry_date = 0 OR wr2.expiry_date >= ft.ticket_date))
    LEFT JOIN workflow_process_history AS wph ON (wph.workflow_process_id = wp.id)
    LEFT JOIN ticket_attachment AS ftattach ON (ft.id = ftattach.ticket_id AND ftattach.attachment_type_id = 2)
    LEFT JOIN person AS p ON (ft.supervisor_id = p.id)
    LEFT JOIN person AS p2 ON (ft.head_office_contact_id = p2.id AND (p2.effective_date IS NULL OR p2.effective_date = 0 OR p2.effective_date <= ft.ticket_date)
           AND (p2.expiry_date IS NULL OR p2.expiry_date = 0 OR p2.expiry_date >= ft.ticket_date))
    LEFT JOIN person AS p3 ON (ft.sales_person_id = p3.id)
    LEFT JOIN person_company_sales AS pcs ON (p2.id = pcs.client_person_id AND pcs.company_id = ft.client_company_id)
    LEFT JOIN person AS p4 ON (ft.created_by = p4.id)
    LEFT JOIN person AS p5 ON (ft.well_site_supervisor_id = p5.id)
    LEFT JOIN division AS d ON (ft.division_id = d.id)
    LEFT JOIN district AS dist1 ON (ft.district_id = dist1.id)
    LEFT JOIN district AS dist2 ON (udist.district_id = dist2.id)
    LEFT JOIN company AS c ON (ft.client_company_id = c.id)
    LEFT JOIN province AS prov ON (ft.job_province_id = prov.id)
    LEFT JOIN ticket_attachment AS ftattach2 ON (ft.id = ftattach2.ticket_id AND ftattach2.attachment_type_id != 2)
    LEFT JOIN locale_currency AS lc ON (lc.id = ft.locale_currency_id)
    LEFT JOIN operation_type AS ot ON (ot.id = ft.operation_type_id)
    LEFT JOIN incident AS i ON (i.ticket_id = ft.id)
    LEFT JOIN invoice_type AS it ON (it.id = ft.invoice_type_id)
    LEFT JOIN workflow_level AS wl ON (wl.id = wp.workflow_level_id)
    LEFT JOIN company AS dist1_company ON (dist1_company.id = dist1.internal_company_id)
    WHERE 1
    AND ( pcs.sales_person_id = 2113 AND pcs.effective_date <= ft.ticket_date AND ( pcs.expiry_date >= ft.ticket_date OR pcs.expiry_date = '0000-00-00 00:00:00' OR pcs.expiry_date IS NULL) )
    AND ft.closed_flag <> 1 AND (wr2.id IS NOT NULL OR wr2.id != 0)
    AND ft.commit_flag = 1
    AND ft.dispatch_status = 0
    AND dist1_company.country_id = 1
    AND wr2.role_id = 2
    GROUP BY ft.id
    ORDER BY ticket_date ASC, ft.id ASC
    Thanks you for your help.

  • Unable to print crystal report over web using ActiveX Control

    Post Author: jimmyp
    CA Forum: General
    We have a problem with printing crystal report over web using ActiveX Control.  When clicking print button, it only shows a blank dialog web crystal viewer page without any error.  The page just simply hangs.  We installed the PrintControl DLL and enable all the security setting for ActiveX Control for IE.  It still does not print.  Does anyone know why?  
    Environment.
    Bundle Crystal Report v10
    Asp.net 2.0
    IE 6.0 or higher.
    Appreciate for your help.
    Jimmy

    Post Author: Ian Kulmatycki
    CA Forum: General
    A team member here found this, I haven't read it, I'm not sure if our problems are related to this, but hopefully it helps someone:
    -ian
    When Secure Sockets Layer (SSL) is enabled, using the ActiveX control to print reports from a Crystal 10 DHTML viewer results in the following error message:
    "A communication error occurred, printing will be stopped."
    How can this error message be resolved?
    Resolution
    This is a known issue with Crystal Reports 10 and Crystal Enterprise 10 viewers and has been tracked. The Track ID is ADAPT00282199.
    This error occurs due to the receiving application performing a case-sensitive check for the HTTPS request header value "ON". When a sender application sends the value as "on" in lower case, the error occurs. The update below changes the receiving application to be case-insensitive.
    Hot Fixes or Service Packs address this issue as indicated below. With the updates, this issue is resolved.
    Unless indicated otherwise, Weekly Hot Fix updates from our FTP site have only been tested with English versions of products.
    For Crystal Reports 10 and Crystal Enterprise 10, the update for this issue is included in the Crystal 10 Viewers Weekly Hot Fix (WHF). This is available in English only at the following location:
    ftp://ftp.crystaldecisions.com/outgoing/EHF/viewers10win_en.zip
    This issue is addressed in the following components (and later versions):
    PageObjectModel.dll, version 10.0.5.785, dated 8/25/2004
    ReportRenderer.dll, version 10.0.5.785, dated 8/25/2004
    WebReporting.dll, version 10.0.5.785, dated 8/25/2004

  • Hi Expert , crystal report export problem. system not responding

    Hi,
    crystal report export problem. system not responding.
    Thanks
    Rajkumar Gupta

    Dear Raj,
    Please try this
              Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                rptView.ShowExportButton = True
                rptView.ReportSource = rptDoc
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                'Setting Paper
                Dim rawKind As Integer = 0
                Dim printSet As New System.Drawing.Printing.PrinterSettings
                For i As Integer = 0 To printSet.PaperSizes.Count - 1
                    If printSet.PaperSizes.Item(i).PaperName.ToUpper = PaperName.ToUpper Then
                        rawKind = CInt(printSet.PaperSizes.Item(i).RawKind)
                        Exit For
                    End If
                Next
                Dim MyTest As New SaveFileDialog
                rptDoc.PrintOptions.PaperSize = CType(rawKind, CrystalDecisions.Shared.PaperSize)
                rptDoc.ExportToStream(ExportFormatType.Excel)
                'rptDoc.SaveAs("C:\TBKING.xls", True)
                '''How to export the report
                Try
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New _
                    DiskFileDestinationOptions()
                    Dim rename As String
                    rename = rptName.Replace(".rpt", "")
                    Dim CrFormatTypeOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = _
                                                "c:\Report\" & rename & "_Export_File.xls"
                    CrExportOptions = rptDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.Excel
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = CrFormatTypeOptions
                    End With
                    rptDoc.Export()
                Catch ex As Exception
                    MsgBox(ex.ToString)
                End Try
                '' end by kevin shah
                rptView.Show()
                rptView.ShowExportButton = True
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = True
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "Report Viewer"
                oFrm.Text = "Report Viewer11"
                oFrm.ResumeLayout(True)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                objMain.objApplication.MessageBox(ex.Message)
            End Try
    By pressing this button XLS file be generated on C:\report\
    Hope this will resolved the issue
    Thanks
    Kevin

  • Crystal report from JSP using the JRC

    Hi, I am trying to call crystal report from JSP using the JRC.
    But i am getting the Error as 'Logon Failed'. my web.xml entry is
    <env-entry>
    <env-entry-name>jdbc/Test</env-entry-name>
    <env-entry-value>!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@//10.0.0.1:1521/TestDB</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    i am setting the userid and password in the code. Please see the below code for your reference. Please help me to solve the issue.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSource" %>
    <html>
    <head>
    <title>Crystal Report with Database Logon information</title> </head>
    <body bgcolor="#ffffff">
    <%
    try
    String report = "/TEMPLATE.rpt";
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    JPEReportSource reportSource = (JPEReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setReportSource(reportSource);
    viewer.setHasRefreshButton(true);
    IConnectionInfo newConnInfo = new ConnectionInfo();
    newConnInfo.setUserName("TEST");
    newConnInfo.setPassword("TEST");
    ConnectionInfos newConnInfos = new ConnectionInfos();
    newConnInfos.add(newConnInfo);
    viewer.setDatabaseLogonInfos(newConnInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    out.println("Connection Information: "+viewer.getDatabaseLogonInfos().getConnectionInfo(0).getAttributes().toString());
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),null);
    viewer.dispose();
    catch(Exception e)
    throw new JspException( e);
    %>
    </body>
    </html>

    I never really had much luck with this approach.
    Mind you I was using Crystal Reports 10, and as far as I recall it didn't allow setting/changing of database at this level.
    Things to check
    - can you create a database connection on your page with this URL/username/password?
    - what server are you using? Tomcat? WebLogic?
    I found this in your other post:
    Connection Information: {Server Name=ee6rpt, Connection String=DSN=s(ee6rpt);User ID=s(ee62test);Password=;UseDSNProperties=b(false), Database Name=, Database DLL=crdb_odbc.dll}That would indicate it is using odbc to connect to the database (crdb_odbc.dll). ODBC is a bad idea with java.
    The way I have got it to work for me (after much trial and error) was to in Crystal Reports to connect using the Oracle Driver, and specifying a tnsname - eg define REPORT_DS in tnsnames.ora.
    When running through the JRC, it looked for a JNDI datasource under that same name "REPORT_DS".
    Don't know if that will help you or not.
    Good luck,
    evnafets

  • Crystal report in JSP using activeX viewer

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come with CR9,but no JSP.also I don't want use Crystal Enterprise9 even I know the URL reporting may be the eaier way.

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal
    report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come
    with CR9,but no JSP.also I don't want use Crystal
    Enterprise9 even I know the URL reporting may be the
    eaier way.Hi, did u manage to get the ActiveX Viewer up with JSP? I'm also trying to do the same thing. If you could, pls kindly email me the basic source codes to [email protected]? Thanks

  • Crystal Report Preview Problem

    Dear All,
    I have done a crystal report for Sales Quote and imported using Administration-->Setup-->General-->Reports and Layouts.
    It shows that the report is imported successfully but when i go and give print preview, it shows an error as "LogOn Failed Please Try Again".
    I dont know why this error occurs.
    But the other reports are working well.
    Help me solving this issue.
    Regards,
    Janani

    hi
    Janani..
    Actually i never Seen This Type of problem..
    I have one Doubt May be u have Developed in ur system n then import it to the client server..
    before importing have u change the login credentials....
    After i search i got below link just have a look on below post If it's not use ful just ignore the mail....
    System asks for SA Password when printing with Crystal Reports

  • Crystal Report Login Problem

    I am using Visual studio 2008 and crystal report 2008 in a web application.
    I have problem in logging to the database from crystal report by applying the connection info for the runtime (Connect to ODBC DSN).
    I got this error: System.Runtime.InteropServices.COMException: Logon failed.Error
    Dim CrystalReport1 As New ReportDocument*
    CrystalReportSource1.Load(path)*
    Dim conn As ConnectionInfo = New ConnectionInfo*
    conn.UserID = "UserID"*
    conn.Password = "Password"*
    conn.ServerName = "DSN Name"*
    conn.DatabaseName = ""*
    For Each crTable As Table In CrystalReport1.Database.Tables*
    Dim tblLocation As String = crTable.Location*
    Dim tloi As TableLogOnInfo = crTable.LogOnInfo*
    tloi.ConnectionInfo = conn*
    crTable.ApplyLogOnInfo(tloi)*
    crTable.Location = tblLocation*
    Next*
    For i = 0 To fieldName.Count - 1*
    CrystalReport1.SetParameterValue(fieldName(i), Fieldval(i))*
    Next*
    CrystalReportViewer1.ReportSource = CrystalReport1*
    CrystalReportViewer1.DataBind()*
    I am using oracle providers for ASP.net
    *+<membership defaultProvider="MyOracleMembershipProvider">+*
    *+<providers>+*
    *+<add name="MyOracleMembershipProvider" type="Oracle.Web.Security.OracleMembershipProvider,Oracle.Web,Version=2.111.6.20, Culture=neutral,PublicKeyToken=89b483f429c47342" connectionStringName="conn_string" applicationName="AppName" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="4" minRequiredPasswordLength="6" passwordAttemptWindow="8"/>+*
    *+</providers>+*
    *+</membership>+*
    *+<roleManager enabled="true" defaultProvider="MyOracleRoleProvider">+*
    *+<providers>+*
    *<add name="MyOracleRoleProvider" type="Oracle.Web.Security.OracleRoleProvider,                Oracle.Web, Version=2.111.6.20, Culture=neutral,                PublicKeyToken=89b483f429c47342" connectionStringName="conn_string" applicationName="AppName"/>*
    *+</providers>+*
    *+</roleManager>+*
    I noticed that when I disable the provider from my project, the reports works fine
    Anybody knows how to solve this?

    If you are looking for a reporting solution that's easy-to-use including connecting with Oracle databases just install the ADO.NET Oracle connector), that's why we created the Windward Report Engine. Companies need a powerful, secure enterprise-level .NET reporting engine to back their critical reporting and document generation systems.
    The Windward Engine installs easily, runs on one or more servers as part of your server-based application, and can easily produce hundreds of thousands of reports per day on a single server. The server is a pure .NET product (and also is available as Java/J2EE).
    Even better news for you guys: When combined with the Windward report design tools AutoTag and AutoTag Max, users design, schedule and run reports from within Microsoft Office. That means you can turn over reporting to the business group and get back to more interesting work.
    You don't have to take my word for it. Check out our [robust .NET reporting engine|http://www.windwardreports.com/dot_net.htm?source=pday909&campaign=pday909&utm_source=everyr&utm_medium=post&utm_campaign=pday909&id=304] for yourself.

  • Crystal report installation problem in windows azure.

    Hi Everyone,
    Good day!.
    I have purchased standard version of web site in windows azure server,i'm converting existing normal asp.net application into widows azure project as web role project.In my existing project they have used crystal report tool to generate the reports.
    The issue has been arrived when i published the project into azure server.When i did some R&D people have suggested some tool to install the tool name called "CRRuntime.MSI".We tried and install this msi file both 64 bit and 32 bit,but the
    problem we couldn't even know whether the .MSI file got installed or not.
    Still we are having same issues in server.Please give your good ideas to short this issue in server.
    I'm using VS 2012
    Thanks in advance !
    Regards,
    Ranjithkumar.

    Hi,
    Please make sure that you are enabling remote connection to the web role while deploying from visual studio 2012. Then get remote connectivity RDP file for the VM and connect to it. Install your tool manually and check if the problem getting resolved. If
    this manual installation works then you can schedule installation as start up task in Azure web role.
    [Although I don't know if your tool can be installed automatically by .cmd or .bat or powershell script file]
    You can add installations as start up task in Azure Web Role service definition file. Here is the link and sample XML tags-
    http://msdn.microsoft.com/en-us/library/gg456327.aspx
    <ServiceDefinition name="MyService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition">
    <WebRole name="WebRole1">
    <Startup>
    <Task commandLine="Startup.cmd" executionContext="limited" taskType="simple">
    </Task>
    </Startup>
    </WebRole>
    </ServiceDefinition>
    Mark As Answer if it helps you |
    My Blog

  • Crystal report parameter problem while uploading in sap business one

    Hi
    All
    I designed a crystal report using
    stored procedure
    and
    Routemas user defined table
    in sql server with three parameter
    routname,from date,to date
    these parameters are from storedprocedure only but not created in report
    i set the parameter routename  as dynamic and i assigned the routename field from routemas table
    when i run the report in the parameter window it displays the list of routenames
    upto this is k but
    when i upload this report in sap business one 8.81 PL-05  and
    run this report in sap environment First it asks parameters there
    it didnt display the list of routnames
    when the parameter routname is set as static and assign some  routenames manually
    then it shows the list in sap environment
    Can any suggest the answer
    Edited by: madhu ganga raju on Oct 17, 2011 7:06 AM

    Hi Rhaul,
    i don't exactly know why this is a problem, but if your not on latest (881 p10) then upgrade and try again.
    Or as a workaround,
    try saveing from CR to SAP with the CR add-on. That usualy works better then the import.
    Regards,
    D

  • Crystal report printing problem in Malayalam

    Hi,
    I have a printing problem in Malayalam in crystal report.The viewer displays the correct font but the printed output displays the square boxes.I have installed the font.I am using Visual studio 2010 and crystal report 13.0 version.what could be the problem???
    please help me...!!!

    Hi priyashekar,
    I’m afraid that it is not the correct forum about this issue, since this forum is to discuss Visual C#. You can post your question in the
    Crystal report forum: http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]
    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 Displaying Problem

    Hi Guys,
    i had developed many more reports ie crystal reports 10 successfully in my Pc.But while going to my client place not able see my reports while clicking added reports in B1 module ie Purchase A/p -> purchase reports in that my report is added while clicking that report it displaying following Error ie myaddon.exe is Encountered or Addon Crystal report is Disconnect we are not able to fix this issue what problem but in my PC its displaying all reports this is OS problem or some other issue i am using windows 2000 proffesional in my Client PC ie windows 2003 server sp1.what is this issue can any solve with brief explantion asap.
    Regards
    ANAND

    One question!
    How are you sending the data to the reports?  Are you connecting the reports directly to the SQL Server tables?  If so, I believe you have to take into consideration the fact that connectivity parameters will vary in your client.
    Maybe you have taken this into account already! Just in case
    hope it helps

  • Crystal reports, Push method using a stored Procedure

    Could someone 'PLEASE' help!  I am trying to create and populate a Crystal Report via a stored procedure in a vb.net  asp.net web site..  I have created a dataset1.xsd and I have dragged my Stored_Proc onto the dataset.  I then use the 'DataBase Expert' and select ADO.net Datasets and select my storedProcedure from dataset1 as my selected dataset.  After that I just drag the fields onto my report.  Then via ado.net shown below I populate the dataset.  I can loop through the dataset and it does get populated correctly from the stored_proc.  yet when the report pops up in a web browser the fields are empty.  I have found that this method works fine if I drag an actual table from my database onto my dataset, but I need to populate the dataset via joins and a parameter. 
    Could someone please tell me what I'm missing!
    ***********Code Sample**************
    Dim conStr As String = System.Configuration.ConfigurationManager.AppSettings("adoConnString")
            Dim sqlConnection As New SqlConnection(conStr)
            Dim Command As SqlCommand = New SqlCommand()
            Command.Connection = sqlConnection
            Command.CommandText = "usp_GetInquiryByID"
            Command.CommandType = CommandType.StoredProcedure
            Dim Parameter As SqlParameter = New SqlParameter("@intInqID", 108)
            Parameter.Direction = ParameterDirection.Input
            Parameter.DbType = DbType.Int16
            Command.Parameters.Add(Parameter)
            Dim Adapter As SqlDataAdapter = New SqlDataAdapter(Command)
            Dim ds As New DataSet1
            Adapter.Fill(ds, "Inquirys")
            CrystalReportSource1.ReportDocument.SetDataSource(ds)
            CrystalReportSource1.DataBind()
    Duckkiller53

    Hello Scott,
    It'll be difficult to migrate CR 10 reports to SQL Server 2005, since it's not a supported combination:
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr10_supported_platforms.pdf|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr10_supported_platforms.pdf]
    Also, CR 10 will be going out of support at the end of the year, so the supported platform list will not be expanded. 
    It's not a recommended combination for production use.
    Sincerely,
    Ted Ueda

  • Crystal Reports setup problem (?)

    Hello,
    I have recently taken over the role of creating/updating our Crystal Reports and have of course installed the software on my PC just as is explained in the installation guide and have set up the ODBC datalink.
    I decided to leave it installed on the old user's PC until I got it working properly just in case I had any problems. Good job I did.
    The reports we create are used by a bespoke software called Access Supply Chain.
    When I create/modify a report on this newly installed instance, save it to our reports folder and reference it in Supply Chain, the report only blinks on-screen for a fraction of a second and then vanishes.
    If I then go to the old machine and open the report there and re-save, it works fine.
    I've checked settings between both machines and can't find anything that differs.; I'm possibly missing something very simple.
    Could anyone give me any clues as to what the problem is?
    Many thanks
    - Chris

    Chris,
    The forum that you have posted your question in is for questions related to the SAP Business One SDK.  Your question is related to the Crystal Report Writer.  You should post these types of questions in the Business Objects Forum here on SDN at
    https://www.sdn.sap.com/irj/boc
    or possibly here ...
    All about Printing & Reporting using ALD, PLD, XLR and Crystal Reports
    These two areas may get you better and faster results.
    Eddy

Maybe you are looking for

  • I am trying to edit my creative cloud account but the link is broken

    I am trying to edit my creative cloud account but the link is broken I am trying to close my creative cloud subscription.

  • SDO_RELATE does not return expected points

    Hi, I have a problem with a query which does not return the results I am expecting. I think it may be to do with geodetic data v projected data but fail to see how. the table points2 contains point data stored in Lat Long (SRID 8307) Here is my query

  • Prompts in Pre-built reports

    Does anybody know how the pre-built reports are made in regards to prompting? e.g. the top-10-oppty report: At top you have a dashboard prompt and underneath the report, which gets filtered by the values of the prompt. This analysis looks like a dash

  • Help needed with doubles and integers

    I just want to start telling all you that you have been a big help to me the last couple of months. Now, for my issue. I'm having a problem doing some work with doubles and integers. Below is the code I've tried. But, I keep getting mismatch types. I

  • Canon 500D raw corrupt after rendering in LR, preview oke and zoombrowser raw oke

    My wife has a Canon 500D which is supported by Lightroom starting from versie 2.4.  With a couple of photo's (raw) she has the problem that the rendering goes wrong. LR will import the photo (raw) and shows a preview perfectly (small version in the g