Crystal Report Error when Viewing in VB6

Post Author: aquiintac
CA Forum: General
I'm using crystal report and vb6. My first problem was how to change the data source location of the crystal report. I found away by using this: crxReport.Databases.SetDataSource rsReport
but I'm having an exception report : "The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x77e55e02"The report shows for some time but after opening several reports the error message occurs.This is my scenario:"I'm using a udl for my connection. I have two databases namely TK and TK_MCC. TK is for other company and TK_MCC is for the subsidiary company. I used TK database when I created the crystal report. I used the setdatasource to pass the recordset to change the datasource location of the crystal report. So even if they change the database TK to TK_MCC they can still access the report. But when I did the setdatasource there was an exception report. (The exception unknown software exception (0xe0434f4d) occurred in the application at location 0x77e55e02)"Before it was working fine when I don't have to change the database. But when I used crxReport.Database.SetDataSource rsReport this error happened.By the way, i tried it also in another computer (just installed the program) but the error message was different. The other error was error28 out of stack space and sometimes the program closes by itself.Can someone help me on this...Thank you very much.

Seems to be working now.
I upgraded CR and adobe.
Edited by: RolandWorms79 on Sep 7, 2009 10:52 AM

Similar Messages

  • Crystal report error when exporting to pdf

    We have developed a crystal report that gives an error (doesnt say which one) when i try to export the report to pdf.
    It says "exporting the report failed".
    Version : 11.0.0.1282.
    The viewer im talking about is the integrated preview of crystal reports.
    Edited by: RolandWorms79 on Sep 2, 2009 10:42 PM

    Seems to be working now.
    I upgraded CR and adobe.
    Edited by: RolandWorms79 on Sep 7, 2009 10:52 AM

  • Crystal Reports error when saving report in BW

    Hello,
    I have "Error code 120 is sent by server" message when I try to save my report in BW via Crystal Reports v10 !!!
    Thanks for your help
    Burak

    You need to update the "Object Changeability" in BW for Crystal report objects.
    to do this:
    1.  run transaction /nRSA1
    2.  Select the transport connection tab
    3.  click the "Object Changeability" button
    4.  Select the "Crystal Report" line item
    5.  right click and select "Everything changeable"
    6.  Exit transaction

  • Crystal Report errors when installing visual studio 2010 app

    I'm trying to install a Visual Studio 2010 application on two client's machines and I get a different error on each one.  Both errors point to Crystal Reports.
    I have a feeling that I'm supposed to install something on the client's machines but I'm not sure what.
    The first client's error says that CrystalDecisions.Windows.Form Version 13.0.2000.0 cannot be loaded.
    The second client's error says that FlashControlV71. Version 1.0.3187.32366 needs to be installed in the GAC.
    What am I supposed to install on the client's machines?  Or if that's not the problem, what is causing the errors?
    This is my first visual studio app so I'm a complete newbie.
    Thanks for any help or advice.

    Thanks for your reply.  I installed the runtime (x64) and am now getting a new error on the first client's machine.  I think it's telling me that I installed the wrong version of the runtime.  The client is running x64t Win 7 so I chose the x64 runtime to install. 
    System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: 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. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
       --- End of inner exception stack trace ---
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at IM_CMETracking.ReportViewer.CrystalReportViewer1_Load(Object sender, EventArgs e)
       at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The second client is running XP.  The error I'm getting on their machine is this:
         CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException:    Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
    Thank you for your help.

  • Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL

    Hi all,
    We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
    Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
    Before the upgrade this error did not happen.
    No permissions or authorizations were changed  in the workstation.
    The Crystal Reports layouts remain working fine in server and in the other workstations.
    In the workstation following are installed:
    - Operating System Windows 7;
    - Microsoft .NET Framework 4.5;
    - SAP Crystal Reports runtime engine for. NET Framework;
    - Crystal Report 2008 Runtime SP6;
    - Microsoft SQL Server 2008 R2 Native Client.
    All, but the operating system, are equal to the other workstations.
    User has edit access to SAP folders, temp and access to the attach path.
    We already uninstalled SAP client and client agent and re-installed it but with no avail.
    Can anyone help me?
    Thanks in advance.
    Best regards,
    Pedro Mariano

    Hi San Xu,
    Thank you for your input.
    However I'm facing problem with each software is suitable.
    I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
    Thanks in advance.
    Best regards,
    Pedro Mariano

  • Crystal Reports Error - BOBJ is undefined

    Post Author: cstent
    CA Forum: Crystal Reports
    Hi
    I recently upgraded from crystal reports 10 to 12 and am now coming accross an error when i try and deploy a crystal report viewer onto a webpage.
    Im getting a javascript page error "'bobj' is undefined".
    Searching on the web i can only find one other person who has come accross this error, and not posted the solution.
    Any ideas?

    Crystal Reports Error - BOBJ is indefinido
    hola para los que no Leen inglés.
    este error se dió cuando quise ejecutar el reporte en formato HTML.
    las causas son estas, cuano se instala el runtime solo se instala en C:Inetpubwwwrootaspnet_clientsystem_web2_0_50727
    alli dentro tiene los formularios, y el javascript para que se ejecute el reporte en html (todo el viewer).
    cuando quise ejecutar el reporte tengo otra ruta que se llama c:Inetpubwwwpruebasaspnet_clientsystem_web y me marcaba el error, eso es porque los scripts no se encontraban en esa ruta.
    PARA RESOLVERLO solo copiar el system web de wwwroot y pegarlo en la otra ruta. con eso solucionan el problema.
    saludos desde MTY Mex.

  • Crystal Report Windows Forms Viewer problems - table could not be found

    Hi,
    I installed Crystal Report Viewer in SAP Business One 2007. All the while, I can run the reports without any problem. but when I loaded some of the new report, it gives me the following error message:
    the caption says: "Crystal Reports Windows Forms Viewer"
    the message says: "The table 'paymentVoucher' could not be found.
    Error in file C:\...paymentVoucher.rpt. The table could not be found."
    By the way, I can run the report in another workstation.
    Any help or ideas of why this is happening or how to solve this will be greatly appreciated.
    Thanks in advance.

    The report is not created by me. I just help others to transfer the report from one workstation to another workstation. PaymentVoucher is a view in the database and it is being put at a workstation that can be shared by everyone.
    I've go through other forums and found out that it might be permission issues and now managed to solve the problem already.
    Thanks everyone for the advice.

  • Crystal report error on Target Machine

    We have to provide application exe to our clients. The application is developed in Visual Studio.Net 2010 and by using SAP crystal report CRforVS_13_0. Client must be able to fire reports on their target machine on which the Dot Net framework and u201CCRforVS_redist_install_64bit_13_0_1u201C run time utility is installed. But it gives a crystal report error on the target machine.
    Our development and target machines have Win 7 Professional, 64-bit OS installed.
    Kindly provide us with an appropriate run time version for target machine in order to fire reports or any other solution in order to make our project work on target machine.
    Thanks!

    Thanks a lot Don for your valuable suggestions.
    We have already taken care of the points which you mentioned in your reply on development side. Also, we have downloaded crystal report from the link which you posted but on DEPLOYMENT side we are unable to run reports from our application.
    It gives the notification when we try to install crystal report on a target machine as "You must have visual studio 2010 installed in order to install the crystal report".
    The DEPLOYMENT problem we are facing is in RUNTIME environment on TARGET machine.  Our TRAGET machine has properly installed Win 7 Professional 64 bit,  .NET Framework Ver 4 and CRforVS_redist_install_64bit_13_0_1 . We also have properly installed application on this machine. We got no errors while installing any of the above. The problem starts when we fire a report on target machine from the application.
    We get the error as "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception"
    So, we are looking for an appropriate RUN TIME version of Crystal Report which can be installed on the target machine to fire reports (where visual studio 2010 is not installed).
    Please help suggest an exact version to download for target machine and the steps if it has a specific procedure.
    Thank you!
    Ruchir

  • Crystal Report error exporting to Word

    My company recently deployed a Microsoft Security Patch to our workstations that's causing a problem with Crystal Reports. When exporting a Crystal report to a Word file (from a VB 6 application) the following error is generated when opening the file: "You are attempting to open a file that was created in an earlier version of Microsoft Office. This file type is blocked from opening in this version by your registry policy setting."
    My company uses Crystal Reports v 8.0.1.0. Is there a more recent release that provides a fix for this error?
    Thanks.
    David
    Edited by: David Verbinski on Nov 5, 2008 10:35 PM

    I know 100mb works because I have created word document reports with that size before using the crystal export.  Just really big reports.  I'm not sure on the exact size because it doesnu2019t work but I know there is more data in the report than the 100MB report which works so it doesnu2019t work on some reports larger than that (don't know the specific size because it doesnu2019t work) sorry for being redundant.
    Not sure about a size limitation on an RTF formatted document that is saved as a *.doc (word document).
    It's my understanding that exporting to a .doc is the same as exporting to .rtf because the .doc is in .rtf format.  I may be wrong but if you change a .rtf extension to a .doc extension, you get the same thing when opening the file in word.
    When exporting to RTF format I get the same error, so I believe they are using the same or similar process.
    Yes I tried on other machines and different servers and the error only occurs when exporting large documents to word.  Small documents work fine.
    If there are file constraints in exporting to word, I believe a more distinct error message could be displayed related to the specific error.
    No I did not upgrade my pc or software, I developed the report and am running specificly for 11.5 release 2 with service pace 3 installed. 
    Thanks,
    K

  • Crystal Reports Active X Viewer 64-Bit

    Hi All,
    I am searching for some information regarding support of the Crystal Reports Active X viewer with 64-Bit Internet Explorer (version 8)
    We use Cyrstal Report 9, 10, 11 and 11.5 on our clients servers and have no issues with the 32 bit version of Internet Explorer (including on 64-bit operating systems). We have one client attempting to use 64 bit Internet Explorer 8 but this is not showing any reports.
    Even when having manually installed the Active X dll's it still does not work.
    Can someone advise if this set up is possible/supported?
    As I understand it, it is not possible.
    Regards
    Matthew Haines

    Hello,
    All of those versions are 32 bit only and I doubt 64 bit IE will support 32 bit ActiveX controls. No solution for you.
    Possibly moving to CR For VS 2010 and the Cr .NET assemblies may work.
    64 bit IE is not very stable and not many people use it. I suggest you recommend staying away from it at this time. Or at lease CR doesn't like it either.
    Good luck
    Don

  • Crystal Report Error while doing Email Billing

    After emailing approx. 497 invoices utilizing MS Dynamics, we are getting the following errors; In addition, we have to respond to numerous printing prompts presented by Crystal Report, v11.
    Error in ASI_SEND_MAIL_WITH_Outlook.
    Error: Object require error number: 424
    Error in ASI_OpenReport.
    Error: Invalid TLV record.
    Error Number: -2147206429
    What is causing the program to abort with the above Crystal Report errors?

    Hello,
    This may be caused by load. Where one report is not complete before the next one is called.
    It would be difficult to determine without having access to the source code.
    The trouble-shooting should be done by MS Dynamics since it is coming from inside their application and they can involve Business Objects if they have questions.
    Elaine

  • Crystal Reports 2008 Server Error when viewing report

    Hello All,
       I have loaded a CR 2008 report onto the CR 2008 Server. When I view the report from InfoView or CMC, I get the following error message:
    Error in File <report name>: Unknown Database Connector Error .
    I setup the ODBC datasources on the server as they are on my client PC where the Report originally worked. Are the ODBC datasource connections supposed to copy over with the report? Or do I have to manually enter them into the "Database Configuration" section?
    Thank you in advance.

    1212487 - Error: "CRAXDRT Error Occured on Server. Error Number:-2147221005"
    Symptom
    A report is called through the Active Server Pages (ASP) Report Server to be displayed in the Report Viewer for ActiveX. However, the report is displayed with blank pages and when the viewer is switched to the Report Viewer for HTML the following error is displayed:
    "CRAXDRT Error Occurred on Server. Error Number:-2147221005 Error Description: 006ASP 0177 Server.CreateObject Failed~Invalid Class String"
    The same ASP application returns the report correctly when it is called from a client computer with the full version of Crystal Report 8 Developer Edition installed.
    Resolution
    It was found that the file, Emfgen.dll, was not installed and registered on the web server computer during the installation of the Crystal Reports ASP Reports Server. The report could be displayed correctly on the client computer, without Crystal Reports Developer Edition installed, after this file had been installed on the web server computer.
    For more information on installing the Crystal Reports web components please search for and download Scr8_WebManualInstall.zip from our website at:

  • Errors when viewing data with Crystal Report Viewer.

    we receive the following errors when we try to merge a crystal report with data, we are using a crystal  report viewer to display the report.
    Can someone help us with where we might be going wrong?
    Thanks
    Rajesh
    General Information
    Additional Info:
    ExceptionManager.MachineName: CCS104
    ExceptionManager.TimeStamp: 02/10/2008 12:40:31
    ExceptionManager.FullName: Congestion.Framework.ExceptionManagement, Version=33.36.0.0, Culture=neutral, PublicKeyToken=null
    ExceptionManager.AppDomainName: /LM/W3SVC/1/ROOT/BackOfficeTR4-1-128674174088125000
    ExceptionManager.WindowsIdentity: NT AUTHORITY\SYSTEM
    Renewal charges Statement Id : 37171
    Unknown Database Connector Error
    Error in File C:\WINNT\TEMP\{AE9A7C1D-F11A-41CC-B2F7-BC1062DC3A5B}.rpt:
    Unknown Database Connector Error
    Stack Trace :    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.  (Object 
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet)
       at Congestion.Core.PresentationTier.BackOffice.WF_NewReport_P.DownloadPDFStatement(Int64 lngCanId, Int64 lngFasId, String strChargeType)
       at Congestion.Core.PresentationTier.BackOffice.WF_NewReport_P.Page_Load(Object sender, EventArgs e)
    Source : CrystalDecisions.ReportAppServer.DataSetConversion

    Hi,
    Its a best practice to use the code given below in the unload event of the page or the code can also be written in a button press event so that the disposing is ensured manually(If sessions are in use).
    boReportDocument.Close();
    boReportDocument.Dispose();
    GC.Collect();
    Note: boReportDocument is the object of ReportDocument.
    This code disposes the report object after using it.
    Check the issue with [filemon|http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx] utility.
    Amit

  • Crystal Reports XI R2 Javascript error when viewing web report

    Post Author: msilka
    CA Forum: General
    I have an ASP web application that was working fine with XI but when I upgraded to XI R2 I received the following error when displaying a report in the report viewer.
    Line: 461
    Char: 1
    Error: Object expected
    Code: 0
    URL: my report URL
    When I debug with a javascript debugger the line in question reads as
    addOnloadFunction(reportViewerNamebobjInit);
    I need to get the reports to run without this error.
    Thank you

    The only personal folders visible from under Admin panel are for users Administrator and Guest. I've tried to query CMS tables but these store entries not in plain text so I cannot identify entries connected to personal folders. I have also tried to do this via Query Repository tool but all returned entries were ok.
    I have also noticed that when trying to load group from LDAP after it returns error "LDAP: Failed to commit objects to server : Duplicate object name in the same folder." entry for this group is created in CMS table. Also this group is then visible in admin Groups panel. No users are created with the group and when I'm trying to list users belonging to added group it returns "internal secLDAP security plug-in error" but without any other suggestion what went wrong.

  • Crystal Report Windows Forms Viewer - No Error Popup

    Similar to this post:  Error message that says "No Error" from CR Viewer, I have just upgraded by Application to .net 4.0 and Crystal Reports 2010. The report viewer works fine the first time a report is loaded, but when I change the parameters on the report, and put the updated report back into the report viewer, I get the message shown above.  The report does not change its parameters and the updated report is not displayed.  The code in question is setting the date parameters for the report.  The user can select new date parameters from the form that encloses the report viewer.  The code subclasses the Report Object code to add additional functions through interfaces.  The IDateRange interface provides a starting and ending date range for the report using a property on the report class as follows:
        Public Property EndingDate() As Date Implements IDateRange.EndingDate
            Get
                Return _endingDate
            End Get
            Set(ByVal value As Date)
                _endingDate = value
                Me.SetParameterValue("EndingDate", value)
            End Set
        End Property
    In addition, the immediate Window shows the following message:
    A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll
    The code in the Report Viewer looks like this, see line marked in blue for when pop-up appears:
    ''' <summary>
    ''' Sets the report period and displays it.
    ''' </summary>
    ''' <param name="Report">The Report.</param>
    ''' <param name="Refresh">if set to <c>true</c> force a refresh.</param>
    Private Function PFSetReportPeriod(ByVal Report As Object, Optional ByVal Refresh As Boolean = True) As Boolean
        Dim fld As FormulaFieldDefinition
        Dim bRefresh As Boolean = False
        Dim rpt As ReportClass = CType(Report, ReportClass)
        Try
            If CRV.ReportSource IsNot Nothing Then
                rpt = CType(CRV.ReportSource, ReportClass)
            End If
    If TypeOf rpt Is IDateRange Then
        With DirectCast(rpt, IDateRange)
    .        StartingDate = dtpFromDate.Value
    .        EndingDate = dtpToDate.Value
        End With
        SetTitleLine2(DirectCast(Report, ReportClass), bRefresh)
        bRefresh = True
    Else
        If TypeOf rpt Is ReportClass Then
           fld = rpt.DataDefinition.FormulaFields("FromDate")
           If Not fld Is Nothing Then
                fld.Text = "Date(" & dtpFromDate.Value.Year & "," & dtpFromDate.Value.Month & "," & dtpFromDate.Value.Day & ")"
                bRefresh = True
            End If
            fld = rpt.DataDefinition.FormulaFields("ToDate")
            If Not fld Is Nothing Then
                fld.Text = "Date(" & dtpToDate.Value.Year & "," & dtpToDate.Value.Month & "," & dtpToDate.Value.Day & ")"
                bRefresh = True
            End If
            SetTitleLine2(rpt, bRefresh)
        End If
    End If
        If Refresh And bRefresh Then
            If dtpToDate.Value <> CDate(dtpToDate.Tag) OrElse _
               dtpFromDate.Value <> CDate(dtpFromDate.Tag) Then
                    System.Windows.Forms.Application.DoEvents()
                If CRV.Visible Then CRV.ReportSource = rpt ' The popup appears when this statement is executed.
                If CRV.Visible = True Then CRV.Refresh()
                dtpToDate.Tag = dtpToDate.Value
                dtpFromDate.Tag = dtpFromDate.Value
               Return True
            End If
        End If
    Catch ex As Exception
        DisplayException(ex)
    End Try
    Return False
    End Function

    Problem has been resolved.  I downloaded Support Pack 8 (v.13.0.8.1216) from this location.  I then applied the fix from the entry above:
    With CRV ' Report Viewer Control
        If .Visible Then
            If .ParameterFieldInfo IsNot Nothing Then .ParameterFieldInfo.Clear()
            .ReportSource = rpt
            .Refresh()
        End If
    End With
    And no more annoying "No Error" messages.

Maybe you are looking for

  • XML Publisher Report - Invalid character was  found in text content

    Hi Techies, Version Background Oracle apps : 11.5.10 Oracle 9i Database Oracle Reports 6i I created a XML output type concurrent program and attached a data definition & template to it. My program completed with status "Warning". The Error is : An in

  • How do I open an encrypted flash drive from windows

    How do I open an encrypted flash drive from windows?

  • Forms clause query data source data block in oracle forms

    Hello experts,               I am new in oracle forms.I am using oracle forms 11g with weblogic 10.3.5 at windows 7.Through googaling I know how to create a database block,forms clause data block and stored procedure based datablock in oracle forms.I

  • Account 790000 already used in transaction BSX  in OBYC

    Hi Experts, I want to change the GL Accounts of  Transaction Key " AUM - Expense/revenue from stock transfer " in Tcode OBYC with same as GL Account of Transaction Key "BSX - Inventory Posting". When trying to change GL accounts for "AUM" Transaction

  • Imports PO Reference

    We purchase material from other country. When the material crosses the border we receive it in our company, after that sell it to a third party company and then purchase it from them back to our company. What would be the best way to relate both purc