Re: Crystal Reports 5.0 (32-Bit) and Forte 2.0H16 on NT3.51

Dear Silke,
Crystal's default for identifying a table in the report design is
<schema>.<table>. You can change that by going to the Database Location menu
item and cutting the schema prefix off. You should do that for every table in
the report. The PESetNthTableLogOnInfo function will, I believe, not change
the schema prefix of a table, since it assumes you really want that schema,
i.e., as an override. Also, if you are using the propagateAcrossAllTables
feature of the function make sure that every table has the schema prefix cut
off, otherwise those tables will be skipped, since the propagate feature applies
to all other similar tables only. For example, some of the tables could be
Sybase, etc.
I believe you can change the default behaviour of the CR Report Designer in the
File->Preferences menu, so that when reports are designed the schema prefix is
not automatically attached.
I have compiled some guidelines on designing reports to make them work properly
with Forte. I will try to send them to you next week. Crystal Reports and its
C API are a good product, and you will get good performance once the report
design is set up properly.
Yours very sincerely, John Hodgson.
Schulte, Silke (DVD) wrote:
The problem seems to be, that Crystal stores the database name in the
report. If you want to change the database you have to develop your
report new, although you give the connection-information via the API.
The hotline from Crystal told us, when using subreports you have to use
the PESetNthTableLogOnInfo and to go through all the subreports and
change the connect-string.
Our experience is, you have to do both: change the report and call the
other function for the subreports.
Thank you very much for all the tips.
Regards
Silke Schulte
Union-Investment, Frankfurt / Main, Germany
e-mail: [email protected]
From: Ajith Kallambella M[SMTP:[email protected]]
Sent: Mittwoch, 23. September 1998 15:17
To: [email protected]; ForteUsers; [email protected]
Subject: RE: Crystal Reports 5.0 (32-Bit) and Forte 2.0H16 on NT
3.51
Hi There,
Crystal reports stores Database name as a hard-coded
value in the
report template. So if you have to use an other
database, you will
have to open the report template and modify the
database name. I
think this is why you are getting Crystal API error.
Hope this helps!
Ajith Kallambella M
Forte systems Engineer,
International Business Corporation.
Hello,
I wonder if we have a similar problem.
We are using Crystal Reports 5 and Forte 3.0.F.2. For
the interface
between Forte and Crystal we have in Forte a Lib using
C-wrappering to
the C-API of Crystal.
We have developed a report on a database in our
development-environment. This report comes up with data
and works
correct. It's no different if we have saved the report
in Crystal with
data or without.
If we want to use the same report on another database
in our
test-environment the window from crystal reports comes
up and when
starting there is an error from the Crystal API
function.
Both environments use the same version of an Oracle
Database and are on
Open VMS. The client for the test is in this case
always the same.
From the C-API we use the method PEStartPrintJob after
we have specified
the rest for the report.
Is there a possibility that this is the same error you
mentioned? Or do
you have any other ideas?
Any help is appreciated.
Regards
Silke Schulte
Union-Investment Frankfurt (Germany)
email: [email protected]
From: Katie Carty[SMTP:[email protected]]
Reply To: Katie Carty
Sent: Montag, 21. September 1998 19:14
To: 'Tim Hagemann'; [email protected]
Subject: RE: Crystal Reports 5.0 (32-Bit) and Forte2.0H16 on NT
3.51
Tim,
You need to upgrade to CrystalReports 6.0. There isa bug in the
interaction between Forte and CrystalReports 5.0 (Idon't know on
which side the bug resides, but I think that it is onthe Crystal end,
since the problem occurs both through C-wrapperingand OLE
interaction), which does not allow you to invoke thePrintReport
method unless you have saved data with the report.
As far as I know, there is no workaround, and theonly solution is to
upgrade to CrystalReports 6.0.
FYI, there is no ActiveX control supplied withCrystalReports 5.0 -
you are actually using standard OLE integration.
Hope this helps...
Regards,
-Katie
-----Original Message-----
From: Tim Hagemann [SMTP:[email protected]]
Sent: Monday, September 21, 1998 11:27 AM
To: [email protected]
Subject: Crystal Reports 5.0 (32-Bit) and Forte2.0H16 on NT 3.51
Hi Forte-User !
We got a big problem here using the crystal active-xcontrol. On my
windows-nt 4.0 machine (with
crystal reports installed completely) all works well.On our test
machine (with only the crystal ActiveX
installed), the Forte runtime shuts down afterinvoking a special
method of the ocx (PrintReport).
The cause for shutting down (no stacktrace orsomething like that) is
a generated c++ exception in crystal -
but we don't know the cause of this exception.
Has anyone made the control work under nt 3.51 ? Doesanybody know
(exactly) what dll's we'll have
to use ?
TIA,
Tim Hagemann
Tim Hagemann
Ascom GmbH Email:
[email protected]
Charlottenburger Allee 61 Phone: +49241 96806 273
D-52068 Aachen Fax: +49241 96806 225
>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Dear Silke,
Crystal's default for identifying a table in the report design is
<schema>.<table>. You can change that by going to the Database Location menu
item and cutting the schema prefix off. You should do that for every table in
the report. The PESetNthTableLogOnInfo function will, I believe, not change
the schema prefix of a table, since it assumes you really want that schema,
i.e., as an override. Also, if you are using the propagateAcrossAllTables
feature of the function make sure that every table has the schema prefix cut
off, otherwise those tables will be skipped, since the propagate feature applies
to all other similar tables only. For example, some of the tables could be
Sybase, etc.
I believe you can change the default behaviour of the CR Report Designer in the
File->Preferences menu, so that when reports are designed the schema prefix is
not automatically attached.
I have compiled some guidelines on designing reports to make them work properly
with Forte. I will try to send them to you next week. Crystal Reports and its
C API are a good product, and you will get good performance once the report
design is set up properly.
Yours very sincerely, John Hodgson.
Schulte, Silke (DVD) wrote:
The problem seems to be, that Crystal stores the database name in the
report. If you want to change the database you have to develop your
report new, although you give the connection-information via the API.
The hotline from Crystal told us, when using subreports you have to use
the PESetNthTableLogOnInfo and to go through all the subreports and
change the connect-string.
Our experience is, you have to do both: change the report and call the
other function for the subreports.
Thank you very much for all the tips.
Regards
Silke Schulte
Union-Investment, Frankfurt / Main, Germany
e-mail: [email protected]
From: Ajith Kallambella M[SMTP:[email protected]]
Sent: Mittwoch, 23. September 1998 15:17
To: [email protected]; ForteUsers; [email protected]
Subject: RE: Crystal Reports 5.0 (32-Bit) and Forte 2.0H16 on NT
3.51
Hi There,
Crystal reports stores Database name as a hard-coded
value in the
report template. So if you have to use an other
database, you will
have to open the report template and modify the
database name. I
think this is why you are getting Crystal API error.
Hope this helps!
Ajith Kallambella M
Forte systems Engineer,
International Business Corporation.
Hello,
I wonder if we have a similar problem.
We are using Crystal Reports 5 and Forte 3.0.F.2. For
the interface
between Forte and Crystal we have in Forte a Lib using
C-wrappering to
the C-API of Crystal.
We have developed a report on a database in our
development-environment. This report comes up with data
and works
correct. It's no different if we have saved the report
in Crystal with
data or without.
If we want to use the same report on another database
in our
test-environment the window from crystal reports comes
up and when
starting there is an error from the Crystal API
function.
Both environments use the same version of an Oracle
Database and are on
Open VMS. The client for the test is in this case
always the same.
From the C-API we use the method PEStartPrintJob after
we have specified
the rest for the report.
Is there a possibility that this is the same error you
mentioned? Or do
you have any other ideas?
Any help is appreciated.
Regards
Silke Schulte
Union-Investment Frankfurt (Germany)
email: [email protected]
From: Katie Carty[SMTP:[email protected]]
Reply To: Katie Carty
Sent: Montag, 21. September 1998 19:14
To: 'Tim Hagemann'; [email protected]
Subject: RE: Crystal Reports 5.0 (32-Bit) and Forte2.0H16 on NT
3.51
Tim,
You need to upgrade to CrystalReports 6.0. There isa bug in the
interaction between Forte and CrystalReports 5.0 (Idon't know on
which side the bug resides, but I think that it is onthe Crystal end,
since the problem occurs both through C-wrapperingand OLE
interaction), which does not allow you to invoke thePrintReport
method unless you have saved data with the report.
As far as I know, there is no workaround, and theonly solution is to
upgrade to CrystalReports 6.0.
FYI, there is no ActiveX control supplied withCrystalReports 5.0 -
you are actually using standard OLE integration.
Hope this helps...
Regards,
-Katie
-----Original Message-----
From: Tim Hagemann [SMTP:[email protected]]
Sent: Monday, September 21, 1998 11:27 AM
To: [email protected]
Subject: Crystal Reports 5.0 (32-Bit) and Forte2.0H16 on NT 3.51
Hi Forte-User !
We got a big problem here using the crystal active-xcontrol. On my
windows-nt 4.0 machine (with
crystal reports installed completely) all works well.On our test
machine (with only the crystal ActiveX
installed), the Forte runtime shuts down afterinvoking a special
method of the ocx (PrintReport).
The cause for shutting down (no stacktrace orsomething like that) is
a generated c++ exception in crystal -
but we don't know the cause of this exception.
Has anyone made the control work under nt 3.51 ? Doesanybody know
(exactly) what dll's we'll have
to use ?
TIA,
Tim Hagemann
Tim Hagemann
Ascom GmbH Email:
[email protected]
Charlottenburger Allee 61 Phone: +49241 96806 273
D-52068 Aachen Fax: +49241 96806 225
>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • Need list of Crystal Reports Version Numbers by Product and Service Pack

    Hi All,
    Where can I get a list of Crystal Reports Version Numbers by Product and Service Pack? I'm trying to figure out which version we have is the most current version, because we have so many version installed threw out our company.
    Thanks.

    Hi Matt,
    Please check the crystal Report 2008 product versions
    Cr 2008+SP0 - 12.0.0.683
    Cr 2008+SP0 + FP1 - 12.0.0.796
    Cr 2008+SP0 + FP2 - 12.0.0.840
    Cr 2008+SP0 + FP3 - 12.0.3.900
    Cr 2008 + SP1 - 12.1.0.882
    Cr 2008 + SP1 + FP1.1 - 12.1.1.957
    Cr 2008 + SP1 + FP1.2 - 12.1.2.996
    Cr 2008 + SP1 + FP1.3 - 12.1.3.1028
    Cr 2008 + SP1 + FP1.4 - 12.1.4.1068
    Cr 2008 + SP1 + FP1.5 - 12.1.5.1096
    Cr 2008 + SP1 + FP1.6 - 12.1.6.1116
    Cr 2008 + SP1 + FP1.7 - 12.1.7.1144
    Cr 2008 + SP1 + FP1.8 - 12.1.8.1176
    Cr 2008 + SP1 + FP1.9 - 12.1.9.1290
    Cr 2008 + SP1 + FP1.10 - 12.1.10.1390
    Cr 2008 + SP1 + FP1.11 - 12.1.11.1454
    Cr 2008 + SP2 - 12.2.0.290
    Cr 2008 + SP2 + FP2.1 - 12.2.1.412
    Cr 2008 + SP2 + FP2.2 - 12.2.2.453
    Cr 2008 + SP2 + FP2.3 - 12.2.3.467
    Cr 2008 + SP2 + FP2.4 - 12.2.4.507
    Cr 2008 + SP2 + FP2.5 - 12.2.5.537
    Cr 2008 + SP2 + FP2.6 - 12.2.6.567
    Cr 2008 + SP2 + FP2.7 - 12.2.7.598
    Cr 2008 + SP2 + FP2.8 - 12.2.8.638
    Cr 2008 + SP2 + FP2.9 - 12.2.9.698
    Cr 2008 + SP2 + FP2.10 - 12.2.10.810
    Cr 2008 + SP3 - 12.3.0.601
    Cr 2008 + SP3 + FP3.1 - 12.3.1.684
    Cr 2008 + SP3 + FP3.2 - 12.3.2.753
    Cr 2008 + SP3 + FP3.3 - 12.3.3.812
    Thanks,
    Naga.

  • Installing windows application with crystal reports runtime on 64 bit

    I have a windows application created on 32 bit windows xp platform using visual studio 2005 with oracle 10g as database and crystal reports XI as reporting tool. The platform on which the application was created has Oracle 10g 32 bit Client, Crystal Reports Developer XI R2 and Crystal Reports XI Server Client. The application has to be installed on 64 bit Windows 7 machine. The application fails with following error
    An error has occured while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist.msi) containing correct version of Crystal Reports runtime (x86, x64, or Itanium) is required. Please go to http://www.businessobjects.com/support for more information.*

    We have an Windows Forms apps developed in VB.NET 2005 using Reports Documents from Crystal Reports XI R2 Server. The application is running fine on 32 bit Windows XP machine. We are trying to install the application on 64 bit Win 7 machine. We are getting following error while doing so
    An error has occured while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist.msi) containing correct version of Crystal Reports runtime (x86, x64, or Itanium) is required. Please go to http://www.businessobjects.com/support for more information.*
    We have installed "Crystal reports XI R2 SP4 full build" and "SP6 incremental". We have also installed "CrystalReports11_5_NET.MSI from CR XI R2 FP 6.4 .NET Server Install" as well as "CRRedist2005_X64.msi".
    We are still getting the same error.

  • Cannot Install SAP Crystal Reports 2011 on 64-bit Win 7

    I am trying to install the 30-Day Trial of SAP Crystal reports 2011 on a Windows 7 64-bit pc and at the end of the installation, I receive the two errors below.
    I made sure I clicked 'Ran as Administrator' and under properties under the Compatibility Tab, I selected Windows 7.
    I also made sure my antivirus software was disabled.
    1st Error - It was a pop up after the installation said successful.
    Missing installdir reg key for installiverse, required for uninstall.  Key: SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Installer\aurora Value: Path
    2nd Error - It was another pop up right after I selected OK on the 1st error pop up.
    Runtime Error!
    Program: C:\Users\Ken Muhr\Desktop\River Valley Recycling\Crystal Reports -...
    This application has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information.
    And the box name is called, "Microsoft Visual C++ Runtime Library
    After I click OK to clear this 2nd error pop up box, I go to my programs and it is not there to use.  I don't understand why.  Has anyone experienced this?
    Thanks in advance!

    Hello,
    Have a look in the install log file, it is under this tree:
    C:\Program Files (x86)\SAP BusinessObjects
    Anything in the install log? You can open it with notepad.
    Also have a look at this post: SAP Crystal Reports 2011: Error INS00140 and other install errors
    And you also need 2.0 Framework as well as MS VS 2005 C++ Security installed.
    Interesting name for a PC...
    Thanks
    Don
    Edited by: Don Williams on Aug 19, 2011 12:57 PM

  • Deploying 'Crystal Reports' on a 64 bit machine

    Hi,
    I am trying to deploy my application on a 64 bit machine.
    I am using Crystal Reports XI release 2.
    When I tried to deploy it ona 32 bit machine i simply added the
    CrystalReports11_5_NET_2005.msm file to my detup project and it worked.
    However, when I tried to do the same thing on the 64 bit (with a 64 bit setup project)
    I recieved a runtime error message:
    "An error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime
    is not installed correctly."
    after that it was said:
    "Please install the appropriate Crystal Reports redistributable (CRRedist*.msi)
    containing the correct version of the Crystal Reports runtime (x86, x64 or Itanium) required..."
    I installed 'CRRedist2005_X64.msi' on the 64 bit machine and tried to run my setup with and without
    the CrystalReports11_5_NET_2005.msm file, and it didn't work.
    What should I do next?
    Thanks,
    Arik

    Hi Arik,
    You need to use the CrystalReports11_5_NET_2005.msm file for the application deployment.The 'CRRedist2005_X64.msi' is meant for the bundled version of Crystal for Visual Studio 2005.
    You could refer to this [Business Objects Note.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    In addition, you would need to enable the 32 bit mode of the ASP.NET 2.0 on the deployment server. This is because it is necessary to run the application under 32 bit mode. Please refer this MS Kbase article for more info - http://support.microsoft.com/kb/894435
    Regards,
    Ranjeet.

  • Crystal Report For True 64 bit Mode

    Hi,
    We Have a ASP.Net Web Application with .Net Framework 4.0, Build in VS2010.
    We are using Crystal Report for VS2010, Version :  CRforVS_13_0_5 .
    In our web Application, we have a Separate Project for Crystal Report.
    Currently, I install Crystal Report in 32 bit machine and deploy the 64 bit machine using "CRRuntime_64bit_13_0_5.msi".
    where the Crystal Report Project/dll/Process is running in 64 bit machine in 32 bit Mode.
    But,
    I want to compile Crystal Report Project project in native 64 bit mode and deploy it on a 64 bit machine,
    So that it will run in true 64 bit mode as 64 bit Process in 64 Bit platform.
    I don't want to run it as 32 bit process in 64 bit platform .
    How it is possible, Please Suggest.
    Thanks & Regards,
    Abhisek Das
    +91-9831412154

    As simple as it gets..
    Compile the application by setting the target platform of the app to X64 on dev machine.
    Deploy the app on a 64 bit machine. Configure the IIS app pool to run the app in 64 bit mode.
    Download and install CR for VS 2010 64 bit MSI on the server.. (for erspective SP).
    http://scn.sap.com/docs/DOC-7824
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • SAP Crystal Report using SQL Server Authentication and Windows Authenticati

    I'm a SAP Crystal Report, version for Visual Studio 2010 Beginner
    my ingredients are
    1.windows 7 ultimate service pack1
    2.sql server 2008 standard edition
    3.visual studio 2010 pro
    4.SAP Crystal Report, version for visual studio.net
    I was created a report named customersByCity.rpt using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> I'm supply Server, User ID, Password and Database. I assume me using SQL Server Authentication for my report
    Then, my ASP.NET files as following
    //ASP.NET
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="viewCustomersByCity.aspx.cs" Inherits="viewCustomersByCity" %>
    <%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div><asp:Label ID="lblMsg" runat="server" BackColor="Yellow" ForeColor="Black"></asp:Label>
     <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true"></CR:CrystalReportViewer>
        </div>
        </form>
    </body>
    </html>
    //code-behind
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Collections;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    public partial class viewCustomersByCity : System.Web.UI.Page
        private const string PARAMETER_FIELD_NAME = "city";   
        private ReportDocument customersByCityReport;
        private void ConfigureCrystalReports()
            ConnectionInfo connectionInfo = new ConnectionInfo();
            connectionInfo.ServerName = @"WKM1925-PCWKM1925";
            connectionInfo.DatabaseName = "Northwind";
            connectionInfo.UserID = "sa";
            connectionInfo.Password = "sysadmin25";
            SetDBLogonForReport(connectionInfo);
        private void SetDBLogonForReport(ConnectionInfo connectionInfo)
            TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
            foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
                tableLogOnInfo.ConnectionInfo = connectionInfo;
        private void SetCurrentValuesForParameterField(ReportDocument reportDocument, ArrayList arrayList)
            ParameterValues currentParameterValues = new ParameterValues();
            foreach (object submittedValue in arrayList)
                ParameterDiscreteValue parameterDiscreteValue = new ParameterDiscreteValue();
                parameterDiscreteValue.Value = submittedValue.ToString();
                currentParameterValues.Add(parameterDiscreteValue);
            ParameterFieldDefinitions parameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields;
            ParameterFieldDefinition parameterFieldDefinition = parameterFieldDefinitions[PARAMETER_FIELD_NAME];
            parameterFieldDefinition.ApplyCurrentValues(currentParameterValues);
        protected void Page_Load(object sender, EventArgs e)
            customersByCityReport = new ReportDocument();
            string reportPath = Server.MapPath("customersByCity.rpt");
            customersByCityReport.Load(reportPath);
            ConfigureCrystalReports();
            ArrayList arrayList = new ArrayList();
            arrayList.Add("paris");
            arrayList.Add("Madrid");
            arrayList.Add("Marseille");
            arrayList.Add("Buenos Aires");
            arrayList.Add("Sao Paulo");
            ParameterFields parameterFields = CrystalReportViewer1.ParameterFieldInfo;
            SetCurrentValuesForParameterField(customersByCityReport, arrayList);
            CrystalReportViewer1.ReportSource = customersByCityReport;
    1st scenario
    When in a runtime, it's keep appear a dialog box. This dialog box ask me to suppy Server, User ID, Password and Database. Once all information is supplied, my report display the data as expected
    2nd scenario
    I change my report using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> checked on Integrated Security. I just choose Server, and Database. I assume me using Windows Authentication
    When in a runtime, there's no dialog box as above. My report display the data as expected. really cool
    Look's like, when report using SQL Server Authentication there's some problem. but, when report using Windows Authentication, it's fine.
    I'm looking for comment. Please help me

    Hello,
    MS SQL Server 2008 requires you to install the MS Client Tools for 2008.
    Once install then update all of your reports to use the SQL Native 10 as the OLE DB driver.
    The try again, if it still fails search, lots of sample log on code in this forum.
    Don

  • How do I create a crystal report layout with a table and borders

    My crystal report is a signin sheet. The sign in sheet has an ID column, Name column, Institution column, Place to signin column, and Weekday columns with checkboxes in each column for the visitor to checkoff.
    How do I display the data that is being used int he crystal report in a table layout with borders around each cell? And is it possible to center vertical alignment of the data within eacvh cell like Excel?

    Blahahaha! Great answer Deb!
    Seriously though... There is no vertical alignment in CR. There have been several past threads related to this issue and all of them have various workarounds. None of them are very elegant.
    The best workaround I've found (especially if you are grid or borders) is to turn off the boarders for the field itself and drawl a rectangle around the field(s). Now you can place the field in the lower portion of the rectangle and adjust the rectangles height to place the field text in the center of the rectangle.
    This will give you more control over the height of your elements than using a carriage return before the text.
    Jason

  • Crystal Report always requires sa logon and password

    I have created a simple crystal report, with two parameters (date range) and added it to the main menu using the Report and Layout Manager, in 8.8 PL19 HF. The first time I run the report, after each logon, I am prompted for the sa password. How can I avoid this? Not only do I not want to give all of my users the sa password, but I don't want them to have to deal with the hassle of entering it. The report works fine otherwise.
    I saw some notes similar to this, but never really saw an actual fix provided.
    Thanks for any help

    Hi,
    1. Are you using the SAP connection? If you have, but problem persist, try the following steps.
    2. If you are using ODBC connection, then try OLEDB connection.
    3. If you have created the report on your laptop (eg: ABC)  with connection to  (eg:ABC) and then you import the report to SAP server (eg: named SAP), then open the report in Crystal and reset location to SAP.

  • ASP Crystal Report 2008 (12) Oracle 9 and Visual Basic!

    Hi All,
    I'm mainting an old application and I need to simulate the same client environment in my machine.
    I have a VB application (with COM+ server components) that's creates a report object with parameters. But the only thing that this application does it's call an ASP page that contains all the logic to call a .rpt file, connect to Oracle 9i and then show the crystal report inside a MS webbrowser component (activeX) in the VB form.
    I already setup the IIS, and the site there, I put all the .rpt files in the site and if you try to access without calling from VB you can run the asp pages, but the reports still doesn't appears.
    These ASP pages should connect to Oracle and then show the rpt file, but I'm facing the following error:
    The url that's the application creates is for example this: http://localhost/application1/createreport.asp?sSessionId=2&ReportName=TransactionsProcessed.rpt&parameter1&parameter2... etc etc...
    Script Error Number: -21471922153
    File could not be opened because the library "P2sora7.dll" cannot be found.
    User Error Text: An error has ocurred in CreateReport.asp while logging onto the Oracle database server. Please try again.
    I already check the database connection and it is working fine using ODBC, and the application works fine with the database.
    The file p2sora.dll is in C:\WINDOWS\SYSTEM32, I already copied from another machine, and I have installed Crystal Report 2008 (12) in my server machine with Windows 2003 server, that's the application and web server where report should be run. I know that the old application was executed with Crystal 7, but I cannot found this version to buy.
    Edited by: Don Williams on Mar 21, 2010 9:05 AM

    This is the code of the createPage.asp that it's called from VB:
    <%
    On Error Resume Next
    Dim sDLLName
    Dim sDatabaseType
    Dim sServerName
    Dim sUserId
    Dim sPassword
    Dim arrayInteger
    Dim sReportDbName
    Dim oTransStore
    Dim oReportObject
    Dim oCRSections
    Dim oCRSection
    Dim oCRSubReportObject
    Dim oCRReportObjects
    Dim oCRReportObject
    Dim oCRSubReport
    Dim oCRPageEngine
    Dim sSessionId, sReportPath, sReportName, sTablename
    ' Errorhandling Parameters
    Dim lUserErrorNumber, sUserErrorText
    ' -- Get parameters --
    sSessionId = Request.QueryString("SessionId")
    sReportName = Request.QueryString("ReportName")
    sStartDay = Request.QueryString("StartDay")
    sStartMonth = Request.QueryString("StartMonth")
    sStartYear = Request.QueryString("StartYear")
    sEndDay = Request.QueryString("EndDay")
    sEndMonth = Request.QueryString("EndMonth")
    sEndYear = Request.QueryString("EndYear")
    sAccName = Request.QueryString("AccId")
    sUserName = Request.QueryString("UserName")
    ' -- Initialisation --
    Session("ImageFolder") = ".\images"
    sDatabaseType = Request.QueryString("DbType")
    sServerName = Request.QueryString("ServerName")
    sUserId = Request.QueryString("DbUserId")
    sPassword = Request.QueryString("DbPassword")
    sReportPath = Request.QueryString("ReportsFolder")
    ' -- Select DLL for DB Type
    - Hide quoted text -
    sDLLName = "P2sora7.dll"
    Response.Write "DATABASE SELECCIONADA: " & sDatabaseType
    Select Case sDatabaseType
    Case "Oracle":
      sDLLName = "P2sora7.dll"
      sReportDbName = ""
            Case "SQLServer":
                 sDLLName = "P2ssql.dll"
      sReportDbName = Request.QueryString("ReportsDbName")
            Case "Informix":
                 sDLLName = "P2sifmx.dll"
    End Select
    ' -- Set the ErrorNumber to 400 and sErrorText.
    sUserErrorText = "An error has occurred in CreateReport.asp while loading the report details. CreateObject(CrystalRuntime.Application) . Please try again."
    lUserErrorNumber = 400

  • Crystal reports has encountered a problem and needs to close

    Hi all.
    We have a dev machine XP sp3 with all critical updates applied.  It has Crystal reports 11 and visual studio 2008 on it (both have all updates applied).  We seem to have this problem consistently in crystal reports.  If we open a new blank report, and try to drag & drop a field to anywhere on the report, we get this message.  This happens whether we connect to an access database or an sql database.  In the event log, it has this additional information:
    Event Type:     Error
    Event Source:     .NET Runtime 2.0 Error Reporting
    Event Category:     None
    Event ID:     1000
    Date:          6/15/2009
    Time:          2:46:09 PM
    User:          N/A
    Computer:     SNORDLUNDXP
    Description:
    Faulting application crw32.exe, version 11.0.0.2495, stamp 465ef18a, faulting module crw32.exe, version 11.0.0.2495, stamp 465ef18a, debug? 0, fault address 0x0049af99.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 41 00 70 00 70 00 6c 00   A.p.p.l.
    0008: 69 00 63 00 61 00 74 00   i.c.a.t.
    0010: 69 00 6f 00 6e 00 20 00   i.o.n. .
    0018: 46 00 61 00 69 00 6c 00   F.a.i.l.
    0020: 75 00 72 00 65 00 20 00   u.r.e. .
    0028: 20 00 63 00 72 00 77 00    .c.r.w.
    0030: 33 00 32 00 2e 00 65 00   3.2...e.
    0038: 78 00 65 00 20 00 31 00   x.e. .1.
    0040: 31 00 2e 00 30 00 2e 00   1...0...
    0048: 30 00 2e 00 32 00 34 00   0...2.4.
    0050: 39 00 35 00 20 00 34 00   9.5. .4.
    0058: 36 00 35 00 65 00 66 00   6.5.e.f.
    0060: 31 00 38 00 61 00 20 00   1.8.a. .
    0068: 69 00 6e 00 20 00 63 00   i.n. .c.
    0070: 72 00 77 00 33 00 32 00   r.w.3.2.
    0078: 2e 00 65 00 78 00 65 00   ..e.x.e.
    0080: 20 00 31 00 31 00 2e 00    .1.1...
    0088: 30 00 2e 00 30 00 2e 00   0...0...
    0090: 32 00 34 00 39 00 35 00   2.4.9.5.
    0098: 20 00 34 00 36 00 35 00    .4.6.5.
    00a0: 65 00 66 00 31 00 38 00   e.f.1.8.
    00a8: 61 00 20 00 66 00 44 00   a. .f.D.
    00b0: 65 00 62 00 75 00 67 00   e.b.u.g.
    00b8: 20 00 30 00 20 00 61 00    .0. .a.
    00c0: 74 00 20 00 6f 00 66 00   t. .o.f.
    00c8: 66 00 73 00 65 00 74 00   f.s.e.t.
    00d0: 20 00 30 00 30 00 34 00    .0.0.4.
    00d8: 39 00 61 00 66 00 39 00   9.a.f.9.
    00e0: 39 00 0d 00 0a 00         9..... 
    Does anyone have a suggestion as to how to try and fix this?  Right now we can't build reports.  Thanks!!

    This latest service pack fixed my issue!!  Thanks a million Stratos!  Here is the direct link to the service pack for others that may experience this problem:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    On this page, choose Crystal Reports, then choose Crystal Reports XI R2, then choose service pack and it shows up at the top of the list.
    If you are going from CR XI R1 to R2 (like I had to), you can download R2 full install from the trials, uninstall R1, reboot, install R2, use the same license number for R1.  Then apply the latest service pack (R2 SP5).
    With great appreciation,
    Tinyang

  • Crystal Reports 2008 Missing Page Headers and Footers when Exporting Excel

    After upgrading from Crystal Reports 9 to Crystal Reports 2008 we have noticed that when we export to Excel the document no longer retains the page headers and footers.  After doing some reading I see that there is a property called ExportPageHeadersAndFooters that we can tap into.  However, I am unable to get this to work for me.  Below is my code, do you have any suggestions?
                    ReportDocument rdReport =  new ReportDocument();
                    rdReport.Load(sReportFilePath);
                    ExportFormatType exType = ExportFormatType.Excel;
                    // create an instance of excel formatting options
                    ExcelFormatOptions foFormat = new ExcelFormatOptions();
                    foFormat.UsePageRange = false;
                    foFormat.ExcelUseConstantColumnWidth = true;
                    foFormat.ExcelTabHasColumnHeadings = true;
                    foFormat.ExportPageBreaksForEachPage = true;
                    foFormat.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage;
                    // set up more exporting options
                    rdReport.ExportOptions.ExportFormatType = ExportFormatType.Excel;
                    rdReport.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                    rdReport.ExportOptions.FormatOptions = foFormat;
                    rdReport.ExportToStream(exType);

    I was able to get it to work but I had to do this.
    ExportRequestContext expReqCntxt = new ExportRequestContext();
    expReqCntxt.ExportInfo = rdReport.ExportOptions;
    sExported = ((CrystalDecisions.CrystalReports.Engine.ReportDocument)rdReport).FormatEngine.ExportToStream(expReqCntxt);

  • Problem with subrpt links in crystal reports 8.5 (cr 9 and 2008 installed)

    I am trying to add a subreport to an existing CR 8.5 report.  I currently have Cr 8.5, cr 9 and cr 2008 on my pc (xp).  The subrpt is pointing to a sql 2005 stored procedure that has a parameter (@vvcrCono).  When I try to set up the link, the parameter  is not listed in the of available parameters to link to.  I select a field from the available fields on the main report, hit the > to move it over as a field to link to, and the dropdown that contains the list of parms to link to on the subreport will change to ?pm-(fieldname).  I do not see the parm list from the subreport.  I am unable to get the link defined.  This occurs even when trying to edit an existing subreport.
    Is there a problem with running these crystal report versions on the same machine?  Or am I just missing something? It has been a while since I've used cr 8.5.

    Joanne, thank you for your posted solution and specifically your mention of miniscule scroll bar of the 'subreport parameter field to use' drop down, I had been on several forums but none of them mentioned this, my subreport now accepts the passed parameter and main report works well. Hope your post helps others as it did me, only wish we could include a graphic to illustrate this as I have seen same question posed several times and several different msg boards.

  • Crystal Reports asking for Dbase username and id

    When I try to select a dBase file as my data source location in Crystal Reports, CR wants a user name and log in id for the dBase file...I do not have a user name or log in id for my dBase file...
    How can I get past this?
    Mitch

    I don't believe this is a DB2 z/OS question, perhaps it would be better to ask in another SDN forum?

  • Run Crystal Report from URL includes username and password

    Hello,
    I've downloaded CR 2008, and CR Server 2008 demo's.
    I'm trying to use a feature I've used with CR10 enterprise, and XI report server, where I can run a report direct from the URL.
    Something like:
    HTTP://scada-ho/crystal/enterprise/admin/en/viewrpt.cwr?id=381&init=actx&apsuser=administrator&apspassword=&apsauthtype=secenterprise
    or
    http://192.168.72.98/businessobjects/enterprise115/infoview/main.aspx?id=1024&init=actx&apssystem=hobprim&apsuser=visy&apspassword=Fillers3&apsauthtype=secenterprise
    I've noticed that there were subtle syntax differences between CR10 Enterprise and XI report server in the past, and expect that similar differences exist with CR server 2008.
    Could someone show me the syntax for CR Server 2008 to run a report from a URL, and pass the required username and password, without having to go through the infoview logon screen

    Tim,
    Thanks for the reply.  I admit I did see that thread when I was looking for a solution.
    My hesitance is that for a non programmer it looks very difficult, and a lot of settings.
    I liked the URL reporting because of its simplicity - one line.
    I know that it advertises the username and password, but for our requirement (intranet reporting, LAN separated from IT), its not a big risk.
    My further investigations indicate that for CRS 2008 something like the following should work:
    http://192.168.207.156/CrystalReports/view.aspx?id=1102&apsuser=administrator&apspassword=admin1&apsauthtype=secEnterprise&init=java
    However I get
    404 - File or Directory not found.
    I'm running on Windows7 with IIS7, so I think it must be an IIS configuration issue
    Any Ideas?

Maybe you are looking for