Crystal ActiveX 11.5

Post Author: Camille
CA Forum: General
Can you please tell me the difference in Crystal ActiveX Report Viewer Control 11.5 COM component and Crystal Report Viewer 11.5 .Net component? My application is a Windows application using VS2005.
Thanks!

Hmm. I don't know how these things appear in LANSA. But maybe relating it to VB may help. In VB, the craxdrt.dll is seen as:
Crystal Reports ActiveX Designer Runtime Library 11.5
The registry key (not sure if htis will be of any help...) craxdrt.dll of version 11.5 is under:
HKLM\software\classes\CLSID\{0BC59388-6740-4D7E-B7D9-B5F20EEABDCD}inprocserver32
Another thing to try is code along the lines of:
Create the CR Object loCr = CREATEOBJECT("CrystalRuntime.Application";)
The above is for Foxpro, but it may give you an idea.
In C++ the code is something like this:
#import "c:\program files\business objects\common\3.5\bin\craxdrt.dll"; no_namespace
One other thing. In a "water  cooler" type of discussion, someone mentioned that LANSA is an OEM partner. Perhaps contacting them directly may also help.
Oh, and all of the above assumes that craxdrt.dll is actually insalled... Check in c:\program files\business objects\common\3.5\bin\ to make sure it is there. If it is, re-registering it may be a good idea too.
Ludek

Similar Messages

  • Crystal ActiveX Report Viewer Control 12.0 Installer

    Crystal ActiveX Report Viewer Control 12.0 Installer
    Hi, i need to install the activex control into every single client pc. I know ie browser is supposed to download it at the very first time when it hits crystal report page, but due to certain restriction applied to client pcs, this feature is blocked.
    Does anyone have Crystal ActiveX Report Viewer Control 12.0 installer ? How can I install it on the clients pc ?
    Thanks a lot!

    Copy the PrintControl.cab from the server location u201C<installation drive>\Program Files\Common Files\Business Objects\4.0\crystalreportviewers12\ActiveXControlsu201D to the client machine. Then Extract the PrintControl.cab. Then register (regsvr32) the printcontrol.dll.
    - Ludek

  • Crystal ActiveX Report Viewer Controlのインストールについて

    皆さん、こんにちは。
    クリスタルレポートXIR2をASP(ASP.NETではない方です)で
    表示しているのですが、クライアント側のブラウザにおいて
    ActiveXのCrystal ActiveX Report Viewer Control 11.5のインストールに失敗したり、
    インストールできてもうまく動作しなかったりする事があるのですが、
    うまくインストール出来なかった場合の対処法・再インストール方法などは、
    ありますでしょうか?
    ご教示下さい。宜しくお願いいたします。
    利用形態:ASPを使ったブラウザ上への帳票表示
    [サーバの環境]
    windows 2003 server R2
    Crystal ReportsXI R2 SP6
    DB:oracle10g
    開発言語:ASP
    [クライアントの環境・ブラウザ]
    WindowsXP SP3 +IE6
    Windows7 32bit +IE8


    Edited by: tamayyy on Nov 22, 2011 4:15 PM

  • Error 20544 Access Denied with Crystal ActiveX control in VB6

    Post Author: beckybear
    CA Forum: General
    We have a piece of legacy software written a while ago that is in VB6 using the Crystal ActiveX control crystl32.ocx.  We use 8.5 of Crystal Reports.About 50 or so users have this program loaded and it runs a single crystal report from a server location.  Most days, everything runs just fine, but lately more and more we've been having a problem where our some of our users get the message "Runtime Error 20544.  Access to report file denied.  Another program may be using it."  The same user will continue to get this error, even after rebooting, while others continue with no issues.  It's never the same people affected day to day.  And it always works for everyone the next day.I've read about a 20 limit on reports, but new users can log in and use the program with no problem, so if it's a connection limit, it doesn't seem right that new users would work.  Also, the workaround for that I found for that particular limit problem, setting it as a temporary report, doesn't seem to be available with the ActiveX control.  We cannot reliably reproduce the problem.So I guess my questions are, do you have any idea why it would work the next day without a reboot of the server or the user's machine?  If this is a limit problem, where is that limit stored, or how can I test to see that it is the limit problem?  What else could it be and is there anything I can add in the VB program to try and prevent this (cleanup, checks, etc.)?  Is this ActiveX control still supported and recommended with version 8.5?  Is there a different component we should be using?Thanks in advance for any help you can offer for this frustrating problem.  I searched the old archives and found others reporting this problem, but no solutions.

    Post Author: RayK
    CA Forum: General
    Did you find a solution for this problem?  I'm having the same sporadic problem with Crystal 8.5.  It usually goes away for a user by logging out and back in, but I'm getting a lot of complaints.  The report is being sent directly to the printer - no Preview mode as has been reported as the cause for some people.
    Thanks

  • Crystal activex control

    I am trying to write a ASP.NET application that allows the user to run any crystal report. my requirement is, when the user selects the report, it should open the crystal activex control or java applet and run the report. If the control has not been installed, it should prompt for the installation.
    I am not sure how to use this. I have already installed vs2005 with crystal 10. And the virtual directory is C:\Program Files\Common Files\Crystal Decisions\2.5\crystalreportviewers10
    Could any one help me with this. Any help is greatly appreciated.

    Going from 30 seconds to 3 minutes is a pretty big jump. The CrystalReportViewer control for .NET is supposed to offer page on demand report processing. That means it will get you page 1 of your report as soon as it can. There are some things that can interfere with getting the first page like the page N of M or running totals.
    When you run your report in your .NET web app does the whole thing take 3 minutes or does each page take 3 minutes?
    One thing to keep in mind with the code you have is that you will be re-processing the report everytime you move to the next page in the report. If you want to cut down on processing you'll need to store the report in Session or Cache.
    Dim rpt As New ReportDocument
    // We always open reports as temporary files. This means each time you hit this code in a postback
    // the report engine will see this as a new report and re-query the database.
    rpt.Load("C:\Reports\Report1.rpt")         
    CrystalReportViewer1.ReportSource = rpt

  • Crystal ActiveX Runtime Lib: Change text data source path at run time.

    We have some PCs running Crystal Reports 10 and some running CR 9 and 8.5. For each PC, we set up a System DSN ODBC data source (in Control Panel - Administrative Tools) for pulling data from text files to
    generate reports.
    Recently we wrote some routines (see the Visual Basic example at the
    end of this message) to change the path of the data files at runtime.
    According to the Crystal Reports Technical Reference Guide, we may use
    the method LogOnServer() of an Application object or an DatabaseTable
    object. However, we find that this does not work: the PrintOut()
    method only pulls data from the default path as configured for the
    System DSN, not from the path passed as the third parameter of
    LogOnServer(). It does not return any error message.
    We have also tried to use SetTableLocation() method, and it still does
    not work.
    Would any experts examine our code below and advise what we are missing? Thanks.
    For the following VB example, we have:
    System DSN Name: AP_WORKSHEET
    Driver: Microsoft Text Driver
    Database Directory: D:\0ood2 (i.e. the default path)
    Crystal Report Document: D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt
    (Which specifies that the data source text file name is BlockWS.txt)
    Purpose : We would like to read the data source text file from
    D:\0ood1 instead of the default path.
    Following is the code of the VB macro:
    Sub test()
    Rem In this version of the subroutine, we call
    Rem DatabaseTable.LogOnServer() and "Rem"ed out
    Rem Application.LogOnServer() and SetTableLocation().
    Rem We have un"Rem"ed each of them and "Rem"ed others and try to run.
    Rem In all runs, data are pulled from the default file
    Rem D:\0ood2\BlockWS.txt instead of D:\0ood1\BlockWE.txt.
    Dim crxapp As CRAXDRT.Application
    Dim crxRep As CRAXDRT.Report
    Dim crxDB As CRAXDRT.Database
    Dim crxTab As CRAXDRT.DatabaseTable
    Dim crxConnPs As CRAXDRT.ConnectionProperties
    Dim crxConnP As CRAXDRT.ConnectionProperty
    Dim apropSubLoc As String
    Dim apropConnBufStr As String
    Set crxapp = CreateObject("CrystalRuntime.Application")
    Rem
    crxapp.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
    Set crxRep = crxapp.OpenReport
    ("D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt")
    Set crxDB = crxRep.Database
    Set crxTab = crxRep.Database.Tables(1)
    apropConnBufStr = crxTab.ConnectBufferString
    apropSubLoc = crxTab.SubLocation
    crxDB.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
    Rem crxTab.SetTableLocation "D:\0ood1\BlockWS.txt", apropSubLoc, "DSN="
    Rem Set crxConnPs = crxTab.ConnectionProperties
    Rem Set crxConnP = crxConnPs.Item("DSN")
    Rem crxConnP.Value = "AP_WORKSHEET"
    Rem Set crxConnP = crxConnPs.Item("Database")
    Rem crxConnP.Value = "D:\0ood1\BlockWS.txt"
    Rem crxTab.Location = "BlockWS.txt"
    crxRep.DiscardSavedData
    crxRep.PrinterSetup (0)
    crxRep.PrintOut
    End Sub
    For VB macros, the problem exists in all of CR 8.5, 9 and 10. However,
    for another platform we are using, Unify Vision 4GL, it works for CR
    8.5 while not working for CR 9 and 10.
    Following is the source code in Unify Vision 4GL. This language may
    not be popular, but I thin you are about to see how it calls the
    Runtime Library methods LogOnServer(), OpenReport(), PrinterSetup() and
    PrintOut().
    %gfPrintCrystalReport
    BOOL FUNCTION gfPrintCrystalReport($reportName)
    BEGIN
    if NOTMKNOWN(GF:$oSeagateId) then
    create service of activex
    class 'CrystalRuntime.Application'
    object_ref into GF:$oSeagateId;
    if MKNOWN(GF:$oSeagateId) then
    begin
    /* TD23013: Database directories are dynamic to
    accommodate multiple user requirement of Citrix */
    send message LogOnServer to GF:$oSeagateId
    using
    ( 'PDSODBC.DLL', 'AP_WORKSHEET', '<CRWDC>DBQ='+GF:$WinTempDir,'','')
    identified by $msgHandle;
    if $msgHandle:MSG_STATE 'RESPONSE_PROCESSED'
    then
    begin
    display 'Crystal Reports cannot connect
    to the datasource ' for fyi_message wait;
    return (FALSE)
    end
    send message OpenReport to GF:$oSeagateId using
    ($reportName, 1)
    identified by $msgHandle returning
    $oCrystalReport
    if MKNOWN($oCrystalReport) then
    begin
    if (NOTMKNOWN(GF:$printerName)) then
    set GF:$printerName to
    $oCrystalReport->PrinterName;
    if GF:$printerName $oCrystalReport-
    PrinterName then
    send message SelectPrinter to
    $oCrystalReport
    using
    (GF:$driverName,GF:$printerName,GF:$portName)
    identified by $msgHandle;
    set $oCrystalReport-
    DisplayProgressDialog to FALSE;
    while TRUE
    begin
    DISPLAY NOTICE 'Print to : ' +
    GF:$printerName
    LABELS 'Ok'
    DEFAULT, 'Cancel', 'Printer Setup'
    RESULT INTO $userOption
    switch ($userOption)
    begin
    case 0 :
    send
    message PrintOut to $oCrystalReport
    using
    (PROMPT_USER, NUMBER_OF_COPIES, COLLATED, START_PAGE, STOP_PAGE)
    identified by $msgHandle;
    set
    $oCrystalReport to UNDEFINED
    return
    (TRUE);
    case 1:
    set
    $oCrystalReport to UNDEFINED
    return
    (FALSE);
    case 2:
    send
    message PrinterSetup to $oCrystalReport
    using
    (0)
    identified by $msgHandle;
    if
    GF:$printerName $oCrystalReport->PrinterName then
    begin
    set GF:$printerName to $oCrystalReport->PrinterName;
    set GF:$driverName to $oCrystalReport->DriverName;
    set GF:$portName to $oCrystalReport->PortName;
    end
    break;
    end
    end
    end
    end
    return
    (FALSE);
    END

    Hi Sydney,
    If you search the Developers help file you'll find info on using the method:
    How to change the data source
    This example demonstrates how to change the data source from native Access to an OLEDB (ADO) data source by using the ConnectionProperty Object, as well as how to change the table name by using the Location property of the DatabaseTable Object. CrystalReport1 is connected to the xtreme.mdb database found in the \Program Files\Crystal Decisions\Crystal Reports 10\Samples\En\Databases folder. The report is using the Customer table. A copy of the Customer table is added to the pubs database on Microsoft SQL Server.
    ' Create a new instance of the report.
    Dim Report As New CrystalReport1
    Private Sub Form_Load()
    ' Declare a ConnectionProperties collection.
    Dim CPProperties As CRAXDRT.ConnectionProperties
    ' Declare a DatabaseTable object.
    Dim DBTable As CRAXDRT.DatabaseTable
    ' Get the first table in the report.
    Set DBTable = Report.Database.Tables(1)
    ' Get the collection of connection properties.
    Set CPProperties = DBTable.ConnectionProperties
    ' Change the database DLL used by the report from
    ' native Access (crdb_dao.dll) to ADO/OLEDB (crdb_ado.dll).
    DBTable.DllName = "crdb_ado.dll"
    '  The connection property bags contain the name and value
    ' pairs for the native Access DLL (crdb_dao.dll). So we need
    ' to clear them, and then add the name and value pairs that
    ' are required to connect to the OLEDB data source.
    ' Clear all the ConnectioProperty objects from the collection.
    CPProperties.DeleteAll
    ' Add the name value pair for the provider.
    CPProperties.Add "Provider", "SQLOLEDB"
    ' Add the name value pair for the data source (server).
    CPProperties.Add "Data Source", "ServerA"
    ' Add the name value pair for the database.
    CPProperties.Add "Initial Catalog", "pubs"
    ' Add the name value pair for the user name.
    CPProperties.Add "User ID", "UserName"
    ' Add the name value pair for the password.
    CPProperties.Add "Password", "password"
    ' Set the table name. ' for SQL types it would be "database.dbo.table"
    DBTable.Location = "Customer"
    Screen.MousePointer = vbHourglass
    ' Set the report source of the viewer and view the report.
    CRViewer1.ReportSource = Report
    CRViewer1.ViewReport
    Screen.MousePointer = vbDefault
    End Sub

  • Crystal ActiveX Report Viewer Control 11.0 not exporting to excel

    I have a wierd problem, I have crystal report XI R2 installed on the server. Client when login on the my application gets prompt to install the activx control; installing of which the report is opening fine.
    Whenever the user clicks on the "Export to" button on the activeX and selects excel; the export dialog box just hangs. All other export option pdf, word, rtf are working fine except Excel.
    Can someone help me in this....

    Hello,
    This was a known issue which was solved with the Service Pack 2
    https://bosap-support.wdf.sap.corp/sap/support/notes/1205451
    So I recommend you to upgrade your version of CR XIR2 to at least SP2.
    Regards,
    Philippe

  • CrystalReportViewer 10.0 vs Crystal ActiveX Report Viewer 10.0

    <p>Can someone give me a brief pros and cons of using 1 versus the other.  Is the CrystalReportViewer just a wrapper for the Active X Component (with limitations).</p><p>&#160;</p><p>This pertains directly to trying to capture (using the CrystalReportViewer) when a report is finished loading (in a VB.NET 2003 Application) that has a long running Stored Procedure.  Viewer loads and events are finished but Report isn&#39;t shown for a minute as the stored procedure runs - trying to capture the event that finishes?</p><p>&#160;</p><p>Thanks!</p>

    Hello,
    the crystalviewer object model has the following 3 events which might help you here :
    AfterRender, AfterRenderContent and AfterRenderObject.
    Please use the link below to get more documentation from our search engine:
    https://boc.sdn.sap.com/search/node/AfterRender
    Falk

  • Need alternative for activex print control using Crystal reports 2008

    I have created a .Net web application (2.0/3.5 .Net framework) with crystal reports 2008.
    Reports are viewed using Crystal reports 2008 activex viewer.
    On click of PRINT icon in activex viewer, activex print control download prompt will be displayed on client machine.
    I need to avoid downloading of activex print control on client machine. Is there any other alternative or option to use print functionality in viewer without downloading activex print control on client machine?
    Or Is there any other workaround for print functionality in Crystal reports 2008 Viewer without downloading activex print control?
    Note: Activex print control download prompt will not be displayed when using Crystal reprots XI Release 2 version.
    Thanks,
    Jagannath

    Does anyone know which files need to be registered for the ActiveX print control?  We occasionally have users who somehow break their Crystal ActiveX controls, and they can no longer see the print options.  In Crystal 10, I was able to fix these issues by pushing a package which registered several files on the user's computer.

  • Crystal Reports 10 Enterprise Server Issue - Exporting Large Reports to PDF

    Weu2019re implementing a Crystal Reports 10 Server for a customer but weu2019re having an issue with exporting large reports to PDF.  The report size that starts to show this issue is roughly 300 pages with 20 records per page.  We use the default Crystal ActiveX viewer. 
    Basically what happens is that the user will launch the report in the ActiveX viewer and the large report will take a while to load, as much as 3 to 4 minutes.  The user may then wish to export to PDF.  Once they attempt it with these large reports the viewer will basically hang and possibly be processing but will then time-out after roughly 5 minutes with this error:
    u201CProxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request POST /thinqreports/THINQCrystalInterface.asp.
    Reason: Error reading from remote server
    IBM_HTTP_Server/6.1.0.9 Apache/2.0.47 (Unix) Server at lmsproxy.aurora.org Port 443u201D
    We believe this error is coming from a server on our network.  We have a proxy server between users and the Crystal Server that has a 5 minute time-out for connections.  What we want to know is:
    - Is there a way to speed up this export to PDF process?
    - Should the Crystal Viewer be keeping an http connection alive to the Crystal Report Server while its doing this export process?
    - If not, what port does Crystal Viewer use to communicate with the Crystal Report Server? 
    - Is there something we can set in Crystal to keep an http connection open? 
    - What is actually occurring during this export process? 
    Occasionally, we may get the above error when simply launching a report, not just attempting to export to PDF.  We presume that is because loading the report into the Crystal Viewer from the Crystal Report Server is taking longer than 5 min.
    Anyone have any thoughts?  Thanks.
    Scott

    Scott,
    As this is happening within Enteprise (and I am assuming the report does not time out in the Crystal Reports Designer) I would suggest posting this to the BusinessObjects Enterprise Administration
    forum.
    My limited Enterprise knowledge would be to suggest scheduling the report as PDF but I don't know if that is a viable option for you.

  • Problem connection to database when opening Crystal Report in VB6 app

    Hi all, first post, so be gentle!
    I've developed a simple app and database using VB6 and SQL Server 2005 and is seems to be working well when i test it.
    Problem i have is after i installed the app on another PC. When the user tries to open the report they get an error when the report tries to connect to the database. It appears the report is trying to connect to the SQL Server using the user's AD account details, yet i set the report up with a trusted connection. I created a replica ODBC connection (as used by me when designing the report) on the users PC to see if that was what was missing. THis was set up to use the generic SQL Server logon details. Unfortubately the report is still trying to connect with the user's AD details.
    I had a bash at creating the VB commands to set the connection settings, but i couldn't get this to work.
    If anyone can help point me in the right direction or show me the correct code/steps to get th connection details correct, i'd be very grateful.
    Here is the code i have in my app:
    (Form1)
    Dim crxApplication As New CRAXDRT.Application
    Public Report As CRAXDRT.Report
    Private Sub cmdRunReport_Click()
    ReportPath = App.Path & "\" & File1.FileName
    If (File1.FileName = "SKU MTM Report - ADR.rpt" Or File1.FileName = "SKU MTM Report - BS100.rpt") Then
        Set Report = crxApplication.OpenReport(ReportPath, 1)
        Report.ParameterFields.Item(1).AddCurrentValue (Trim(DataCombo1.Text))
        Report.ParameterFields.Item(2).AddCurrentValue (Trim(DataCombo2.Text))
        Report.ParameterFields.Item(3).AddCurrentValue (Trim(DataCombo3.Text))
    End If
    frmreports2.Show
    End Sub
    (Form2 with Crystal ActiveX Viewer component)
    Private Sub Form_Load()
    CrystalActiveXReportViewer1.ReportSource = frmReports.Report
    CrystalActiveXReportViewer1.ViewReport
    End Sub
    Thanks in advance for any advice!
    Edited by: James McCaig on Feb 5, 2009 12:39 PM

    Here is an article on how to distribute the runtime using msm files. I think the articles was written in CR 9, but all applies, save the names of the msm files:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/901c0761-cf1d-2b10-dea4-8e83937a9337
    Note that you have to use a utility such as Wise, InstallShield, MS Visual Installer, etc., to create your deployment.
    I have also created a short wiki that describes the msm downloads for each version of CR:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsReportDesignerComponentRuntimeDistribution-Versionspre8.0.xto12.0
    Ludek

  • Problem on using Crystal Report Viewer on windows application ("specified type is not valid ")

    Hi
    I am having problem on using Crystal Report Viewer on one of my windows application.
    I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
    I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
    I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
    Please see the Code sample below.
    private sub loadReport()
         Dim r as New ReportDocument
         'v is the name of the Crystal ActiveX Report Viewer Control
         r.Load("C:\Report1.rtp")
         v.ReportSource(r) <---It throw error on this line.
    End Sub
    Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
    Thanks in advances.
    Many thanks
    Chi

    VS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
    -MJ

  • BO XI 3.1 sp2 - Crystal PrintControl.cab download issue

    I installed SP2 in our development environment this week and we've found an issue in our testing. 
    When trying to print a Crystal Report, the system wants to download a new version of the Crystal ActiveX control.  The user then gets an error that "Windows has blocked this software because it cannot verify the publisher".  We did not have this problem prior to installing SP2.  This error appears when the ActiveX print control is selected in preferences.  The PDF control works fine, but our users prefer the ActiveX control because it prints the report directly and they don't have to download a file and then print it.
    Has anyone else experienced this? Is there a work-around available?
    Thanks!
    -Dell

    Does anyone have any thoughts on this?  Our security folks won't let us open IE up to load unsigned ActiveX controls.
    Thanks!
    -Dell

  • Crystal reports 11: Values displayed in crystal report not showing in VB6

    Hi!
    I updated an existing lower version of crystal report 7 to crystal report 11. Changes are the following:
    1. sql query in VB6 to add fields
    2. sql query in crystal report to manipulate values and not use formula. crx11 doesn't allow summary/total in formula fields.
    3. report orientation
    4. additional fields to view
    5. font sizes, length, can grow properties, etc.
    When I tested it directly in crx 11, all fields/values are displaying correctly. When I integrated it in VB 6 using Crystal ActiveX Report Viewer Library 11.0 and CR Viewer object, the field is blank.
    I've tried several checking like field suppressions, conditional suppressions, etc.
    By the way, I also have a report using a subrepot with conditional suppressions. Same thing is happening. The subreport data only displays the alloted space but does not show values in VB6.
    Thank you in advance for your help.
    Edited by: Naga01 on Jun 28, 2011 8:46 AM

    Thanks for your response.
    Before I read your response, I tried tweaking my reports and was able to resolve the issue.
    Steps taken to solve the issue are the following:
    a. Value not showing one field of four (4) reports.
    Solution: I created new ones and integrate it in VB 6. The values are now showing. Tweaked on the line object properties, got a problem with the extended line but solved it by adjusting the height of the detail section.
    b. Value not showing in sub-report.
    Solution: My report used a shared variable so I can pass the condition to my sub-report. I used the new reports and just pass a query during runtime. The values in the subreport is still not showing. I added a formula and called the value in it. Values in the subreport is now showing.
    I'll try to update the crystal reports version as suggested at a later time.

  • Logon Failed using Crystal Report XI

    I wrote a VB 6 app that has the CRViewer and calls (.rpt's). The ".rpt's" use a MS Access 2003 database. This database DOES NOT have any security in the way of passwords. This application runs on a "stand-alone" system NO SERVER IS INVOLVED.
    The program and Crystal Reports work fine on my system. About a week ago, I tried to install Crystal Reports Release 2. I had a lot of problems. I deleted it and re-installed CR from my install cd's. Ever since then, I have had the following problem:
    I use MS Package and Deployment system to create the "Setup and Install" package. Ever since the above problem with Release 2, when I install and run the package on a different system, when I try to access the reports, I am getting a "Logon Failed" error message. PRIOR to trying to install Release 2, I never had this error message. I have no idea what is causing the problem.
    I even deleted and recreated the database--same problem exist.
    I have a very small scale-down version of this app. Is there any way I can send a "zip" file to you?
    Please, I have a deadline on this project. I need some serious help ASAP.
    In an effort to help resolve this problem, here is code from the scaled-down version: Prior to running this code, ReportPath = App.Path and ReportName = "Report1.rpt"
    This code is from my CRVIEWER form:
    Private Sub Form_Activate()
    Set craxreport = craxapp.OpenReport(ReportPath & "\" & ReportName)
        If ReportName = "Report1.rpt" Then
        End If
    DoReport:
        DoEvents
    ' ==============================================================================
        Screen.MousePointer = vbHourglass
        crviewer1.Refresh
        crviewer1.Zoom "100"
        While crviewer1.IsBusy
            DoEvents
        Wend
        crviewer1.ReportSource = craxreport
        crviewer1.Refresh
        crviewer1.ViewReport
        crviewer1.Refresh
        Set craxreport = Nothing
        Screen.MousePointer = vbDefault
    End Sub
    Private Sub Form_Load()
    Set craxapp = CreateObject("Crystalruntime.application.11")
    End Sub
    Private Sub Form_Resize()
    Me.Height = Screen.Height
    Me.Width = Screen.Width
    Me.Top = 0
    Me.Left = 0
    crviewer1.Top = 0
    crviewer1.Height = Me.ScaleHeight
    crviewer1.Width = Me.ScaleWidth
    frmCRPrint.Refresh
    End Sub
    This code is the "Connection" string:
    Public ReportPath As String
    Public craxapp As New CRAXDRT.Application
    Public craxreport As CRAXDRT.Report
    Public CRXDatabaseField As CRAXDRT.DatabaseFieldDefinition
    Public ReportName As String
    Public pconSports As ADODB.Connection
    Public Sub OpenConnections()
    Set pconSports = New ADODB.Connection
            pconSports.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Sports.mdb" & ";Persist Security Info=False"
            ReportPath = App.Path
        pconSports.Mode = adModeReadWrite
        pconSports.Open

    OK, a few details to go over.
    You do not need all of the below references:
    Crystal ActiveX Report Viewer Library 11.0
    Crystal Reports ActiveX Designer Design and Runtime Library 11.0
    Crystal Reports ActiveX Designer Library 11.0
    Crystal Reports ActiveX Designer Run Time Library 11.0
    As long as you are not using report creation APIs, you only need
    Crystal ActiveX Report Viewer Library 11.0
    Crystal Reports ActiveX Designer Run Time Library 11.0
    Which means you'd be using the craxdrt.dll (Dim myApp as New Craxdrt.Application), and the MSM files you need would be; crystalreports11_RDC_Runtime.msm, crystalreports11_RDC_license.msm (you need to add the keycode to this) and crystalreports11_RDC_reportEngine.msm.
    If you are using report creation APIs, you do not need Crystal Reports ActiveX Designer Run Time Library 11.0.
    Re. creation of deployment package:
    I reloaded CR XI on my Development System Build 11.0.0.895
    I installed CR XI on my other PC(Test) Build 11.0.0.895
    During the creation of the Install Package using MS Package and Deployment System
    I do not believe the MS Package and Deployment Wizard that came with VB 6 can handle MSM files(?). To use MS files, you have to use something like MS Visual Installer, InstallShield, Wise, etc.
    Ludek
    Edited by: Ludek Uher on Oct 23, 2008 6:30 AM

Maybe you are looking for

  • Bridge - screen layout

    I am using Adobe CS5 on a Mac with the latest OSX. I am trying to sort through large numbers of shots - and to delete many. At the moment I am using the Filmstrip view. This has a major problem - currently I can only see one shot at a time in the lar

  • Adapter - Iphone to HDMI

    I am looking for an accessory that has the Ipod port on one end and an HDMI port on the other end, so I can watch the HD videos I record on the 4S directly on my HD TV.

  • Deploying SSRS Reports to SharePoint 2013 Result in Error

    We are trying to deploy SSRS reports developed in VS 2012 to SharePoint 2013.  Whenever any user deploys the report, they receive the following error.  Error 1 Report Server has encountered a SharePoint error. --->  Microsoft.ReportingServices.Diagno

  • EJB lookup from Tomcat deployed on J2ee Engine

    Hello  All,                         I have a jsf application which runs on tomcat, Now I developed a EJB (stateless) in NWDS and deployed on SAP j2ee engine, when I run a plain java calss I am able to access it but not  through my web-app. Can anybod

  • Help with Blocking/Unblocking GL account for posting

    We have a current program to block/unblock GL accounnts for posting and it does direct table update. But this way the user does not know the HISTORY about who did the update. I came to know that by using BDC, history gets created about who made the c