Crystal Reports 13 and Visual Basic 6

I have a application written in Visual Basic 6, with an access back end, with major reporting functions provided by Crystal Reports 6.
This program is used by a number of clients that all until some weeks had XP as their operating system.    Needless to say cr6 does
not play well in win 8.1 environment and hence my desire to update to CR13.   VB6 I am told is a dying if not already defunct but the truth is I like it and would like to continue to use it.   My problem is that I cannot find any info on how to use CR13 in VB6.   If it was just a matter of running a pre-defined report I guess that can be done, but it somewhat defeats me how to pass parameters and variables to the report.   It seems a long  way removed from CR6 but willing to give CR13 a good go in the hope of making it work, as I have nothing but praise for my comfortable (for 10 years) CR6
Any help very gratefully accepted with hat in hand.

And to add to all that, VB 6 is dead along time ago. We no longer have any SDK that will work in VB 6 now. No COM components and VB 6 does not support .NET framework.
Only option is to upgrade to Visual Studio 2010, 2012 or 2013 and use CR for VS.
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
Sample apps are here:
NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
Don

Similar Messages

  • Using Crystal Reports in Visual Basic 2010

    I am trying to add several Crystal Reports to a new project and having a major problem.  Here's the situation. I created a new Visual Basic 2010 project with only one form, In visual Basic I added Crystal Reports.   I then imported a form that was created in Crystal Reports 8.5.
    There were no errors and the report with valid data was visible. I then tried to run...it wouldn't run and 31 errors appeared.
    Obviously I missed something. I have searched for a very simple basic tutorial and  either can't find one or didn't recognize one.
    Can anyone point me in the right direction.
    Milt

    Ok. So, you added the report to the project. Now we have to add the CR assemblies to the project, add the viewer (if need be) and fire it off. Simplest code would be:
    Public Sub New()
            ' This call is required by the designer.
            InitializeComponent()
            ' Add any initialization after the InitializeComponent() call.
            CrystalReportViewer1.ReportSource = ("path to report")
        End Sub
    In this case you are using the viewer SDK to runt he report. The report will prompt for any logon parameters - but you can code these also. You can load the report via the engine as bellow. Again, the report will prompt. I prefer to use the engine as it is way more "extensible"...
    Public Sub New()
            ' This call is required by the designer.
            InitializeComponent()
            ' Add any initialization after the InitializeComponent() call.
            Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            crReportDocument.Load("path to report")
            'Bind the report to the viewer
            CrystalReportViewer1.ReportSource = crReportDocument
        End Sub
    If you have a report added to the project (strongly typed) the code would be:
    CrystalReportViewer1.ReportSource = New myReport()
    For more details, I'd recommend looking at the sample app vbnet_win_simplepreviewreport.zip available from the following location:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    The developer help files are here:
    [SAP Crystal Reports .NET SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
    [SAP Crystal Reports .NET API Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip]
    - Ludek

  • Crystal Reports and Visual Studio when deploying

    Hello,
    I´ve been searching for these problem for a while with no luck. I've already try many things.
    The thing is that I'm not able to make work any report when deploying (Windows Server 2012). Everything works fine when I try on my local machine.
    I have Visual Studio 2012 and I've installed CRforVS_13_0_5.
    This is my code:
                ReportDocument myCrystalReport;
                myCrystalReport = new ReportDocument();
                myCrystalReport.Load(Server.MapPath("~/Reports/report2.rpt"));
                CrystalReportViewer1.ReportSource = myCrystalReport;
                CrystalReportViewer1.RefreshReport();
    I've pasted the error below:
    Server Error in '/' Application.
    Unknown error 0x80040200
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: Unknown error 0x80040200
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [COMException (0x80004005): Unknown error 0x80040200] CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +90 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +259  [CrystalReportsException: No se ha podido cargar el informe.] CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +322 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +851 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +78 MMN.Reports.prueba1.Page_Load(Object sender, EventArgs e) +97 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
    I'd really appreciate any help.
    Many thanks.

    Thanks for your time.
    I'm feeling frustrated. I've read several discussions but I haven't found a solution for me.
    I've set full control privileges for C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files and C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files.
    I've installed Crystal Report Viewer 13.
    CRforVS_13_0_8
    CRforVS_redist_install_64bit_13_0_8
    I see this error:
    Server Error in '/' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 14:         <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> Line 15:         <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/> Line 16: <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/> Line 17:         <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> Line 18:         <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    Source File: C:\Inetpub\vhosts\mmn.com\httpdocs\web.config    Line: 16
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' could not be loaded.
    WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
    Thanks for helping.

  • Crystal Report 10 and Visual Basic 6 - logon failed in crystal report viewe

    Guyz,.
    Report viewer is showing logon failed, pelase help me, i can able to view the data from rs1(recorset).
    please hellp me to fix this issue, i need to pass the sql query to my pre designed Crystal report which has all the field as same as SQL query.
    Please suggest me if any other alternate way to do this , my code is below.
    Environment : Crystal Report 10, Visual Basic 6
    cr_preview -> CrystalActiveXReportViewer
    RepName  -> Fiename and path of the Crystal report is designed from Crystal Report Designer.
    Function show_rep(Sql As String, RepName As String)
    Dim crystal As CRAXDRT.Application
    Dim report As New CRAXDRT.report
    Dim rs1 As New ADODB.Recordset
        If rs1.State Then rs1.Close
        rs1.Open Sql, cn, adOpenStatic, adLockReadOnly
        Set crystal = New CRAXDRT.Application
        Set report = crystal.OpenReport(RepName)
        report.DiscardSavedData
        report.Database.SetDataSource rs1
        'cr_preview.Refresh
        cr_preview.ReportSource = report
        cr_preview.Visible = True
        cr_preview.ViewReport
        Do While cr_preview.IsBusy
            DoEvents
        Loop
        cr_preview.Zoom 100
        If rs1.State Then rs1.Close
        Set rs1 = Nothing
    Set crystal = Nothing
    Set report = Nothing
    End Function

    Hi,
    Please refer to the link for the list of example, [click here|http://pscode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?optSort=Alphabetical&lngWId=1&B1=QuickSearch&txtCriteria=crystalreport+10&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE]
    Regards,
    Clint

  • Crystal Reports for Visual Studio and (Wcf) Web Services

    I´m evaluating Crystal reports for Visual Studio 2010. I want to read data from a (Wcf) Webservice into the predefined Reports and deliver them to the Users in an ASP.NET Application. As far as I see reading Webservices via the XML/Webservice datasource works good in the Crystal Reports 2011 Applications - But I have Problems with the Integration of the XML/Webservice datasource in the CRVS2010 Environment.
    I read your Article on sdn: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13732
    which helped us to enable the XML Datasource in the CRVS2010 environment on a Machine where Crystal Reports 2011 and VS2010 is installed, but this required copying DLL´s and installing the JRE.
    But I´m not able to  run the XML/Webservices datasource on a webserver in a ASP.NET Application where Crystal Reports 2011 is not installed (only the runtime) - the above post doesn´t help because  the path structure is completely different on my machine. Is there a manual, which helps me to enable the XML datasoucre and the CRVS2010 runtime ?
    I´m not sure if reading XML is the best practice for a new Project, especially after reading your article at http://forums.sdn.sap.com/thread.jspa?threadID=1952093
    I´m now evaluating ADO.NET XML as mentioned in your article, but I´m not sure if this is the right decision.
    Is there a a new version  for Visual Studio 2010 of the u2022csharp_web_adonet.zip example ?
    BTW: All examples in the Sample Code for Crystal reports for Visual Studio 2010 reference Assemblies in Version 14, which are not present on my machine. I had to find/replave 14 through 13, before they are compilable. Did I made a mistake during installation ?

    Hi Henrik,
    First of all you didn't make any mistake installing CRVS2010. It has assemblies with version 13.x
    Now as far as patches are concerned ensure that you are on SP2. You can get runtime and patch from following:
    http://www.sdn.sap.com/irj/sdn/crystal-xcelsius-support?rid=/webcontent/uuid/d01fdad8-44e5-2d10-61ad-9d2d4158f3a8
    You can opt for AD.NET as one of the datasource but what is the error/ warning you get when you use Web Serive as datasource?
    You can find the latest samples created for CR2008 here
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0bf8496-2a81-2b10-95ac-b1f48d5b63f5
    - Saurabh

  • Crash call stack caused by crdb_adoplus.dll and crqe.dll on Crystal Report for Visual Studio 2008

    Hi There,
    i have an application running on C# .NET which use .NET Framework 3.5 SP1 and Crystal Report for Visual Studio 2008 x64. Now i'm facing the issue in application. suddenly my IIS crash , and the application is logout.
    i have opened advisory case to Microsoft and they help me to analyze the dump from the application when the issue is happened.
    here it is the stack trace :
    STACK_TEXT: 
    00000000`9b1dd160 000007fe`eb93946d : 00000000`9b1dd308 000007fe`eb931948 00000000`00000000 000007fe`eb931610 : verifier!VerifierStopMessage+0x1f0
    00000000`9b1dd210 000007fe`eb939736 : 00000000`9b1ddb50 00000000`00000002 00000000`00000040 00000000`00000004 : verifier!AVrfpDphReportCorruptedBlock+0x2a5
    00000000`9b1dd2d0 000007fe`eb9399cd : 00000000`b32f1000 00000000`9b1ddb50 00000000`00000004 00000000`00001000 : verifier!AVrfpDphCheckNormalHeapBlock+0xce
    00000000`9b1dd340 000007fe`eb93873a : 00000000`9b1ddb50 00000000`01001002 00000000`cca0c3b0 00000000`00000000 : verifier!AVrfpDphNormalHeapFree+0x29
    00000000`9b1dd370 00000000`770b99a5 : 00000000`00000000 00000000`00000000 000007fe`f25514f7 000007ff`05f0a1d1 : verifier!AVrfDebugPageHeapFree+0xb6
    00000000`9b1dd3d0 00000000`7705dbc0 : 00000000`b32f0000 00000000`cc16afb0 00000000`b32f0000 00000000`cc16afb0 : ntdll!RtlDebugFreeHeap+0x35
    00000000`9b1dd430 00000000`7704413d : 00000000`b32f0000 00000000`9968aa01 00000000`00000000 00000000`9b1ddb50 : ntdll!RtlpFreeHeap+0x19a70
    00000000`9b1dd770 00000000`76ef307a : 00000000`00000001 00000000`9968aa40 00000000`9b1dd958 00000000`cc16afb0 : ntdll!RtlFreeHeap+0x1a6
    00000000`9b1dd7f0 00000000`9739cabc : 00000000`00000000 00000000`9968aa40 00000000`000002a3 00000000`cc13ef28 : kernel32!HeapFree+0xa
    00000000`9b1dd820 000007fe`f2550e37 : 00000000`00000000 00000000`24b20fc0 00000000`0000001b 000007ff`0604a340 : msvcr90!free+0x1c
    00000000`9b1dd850 000007ff`05f05802 : 00000000`00000000 000007ff`0604f7c0 00000000`9b1dd958 00000000`9968aa40 : mscorwks!DoNDirectCall__PatchGetThreadCall+0x7b
    00000000`9b1dd8f0 000007ff`05f0a231 : 000007ff`0604f730 000007ff`05f05802 00000000`cc16afb0 00000000`0000001b : DomainBoundILStubClass.IL_STUB(Void*)+0x42
    00000000`9b1dd9b0 000007ff`05f0a1d1 : 00000000`cc16afb0 00000000`000007d4 00000000`9b1dd2e8 00000000`00000000 : crdb_adoplus!<Module>.DbFieldInfo.{dtor}(DbFieldInfo*)+0x11
    00000000`9b1dd9e0 000007ff`05f0a177 : 00000000`0000001c 00000000`cc13ef20 00000000`00000000 00000000`00000000 : crdb_adoplus!<Module>.DbFreeFieldList(UInt32, DbFieldInfo**)+0x31
    00000000`9b1dda30 000007fe`f254f18a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : DomainBoundILStubClass.IL_STUB(Int32, Int64)+0x7
    00000000`9b1dda60 00000000`9a506b36 : 00000000`0000001c 00000000`cc13ef20 00000000`00000000 00000000`00000000 : mscorwks!UMThunkStubAMD64+0x7a
    00000000`9b1ddaf0 00000000`9a583538 : 00000000`bf35af90 00000000`bf9bcfa0 00000000`9b1ddd30 00000000`00000000 : crqe+0x16b36
    00000000`9b1ddca0 00000000`9a6c1c64 : 00000000`bec28dc0 00000000`cd926e60 00000000`00000000 00000000`cbafcf20 : crqe+0x93538
    00000000`9b1ddf90 00000000`9a6bc697 : 00000000`cd926e60 00000000`00000000 00000000`00000000 00000000`00000000 : crqe+0x1d1c64
    00000000`9b1de000 00000000`b64fcab9 : 00000000`cd926ec0 00000000`9b1de0c0 00000000`00000000 00000000`b6dee2cb : crqe+0x1cc697
    The crdb_adoplus tried free a corrupted Heap Block:
    0:188> dt DPH_BLOCK_INFORMATION 000000009b1ddb50-40
    verifier!DPH_BLOCK_INFORMATION
       +0x000 StartStamp : 0
       +0x004 PaddingStart     : 0
       +0x008 Heap             : 0x00000000`9b1ddb58 Void
       +0x010 RequestedSize    : 0x9b1ddb50
       +0x018 ActualSize       : 0x9b1ddb30
       +0x020 Internal         : _DPH_BLOCK_INTERNAL_INFORMATION
       +0x030 StackTrace       : 0x00000000`00000001 Void
       +0x038 PaddingEnd       : 0
       +0x03c EndStamp         : 0
    is this problem solved by upgrading Crystal Report version to CR12 ?
    Thank you,
    Best Regards,
    Leonardus Tono Amboro
    IT Enterprise System Architect
    PT Astra International Tbk.
    AMDI A Building, 7th Fl.
    Jln. Gaya Motor Raya 8. Sunter II, Jakarta 14330, Indonesia
    Message was edited by: Ludek Uher
    Phone number removed - Please see the SCN Rules of Engagement

    Hi Leonardus
    Please define "crash". What actually happens?
    Did this ever work? E.g.; this started to happen recently?
    Is this happening on your development system or QA or production?
    See if enabling the option "Verify on 1st Refresh" will help.
    Make sure you are using SP 1: Crystal Reports for VS 2005 and  VS 2008 Updates & Runtime Downloads
    Ensure that the dataset is less that a couple thousand rows. Anything more than that will cause issues...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Looping login screen in Crystal Reports for Visual Studio 2008

    Hello,
    I am using Visual Studio 2008 with the Crystal Reports Basic for Visual Studio 2008. Visual Studio and the Crystal Reports Basic Runtime for Visual Studio 2008 (x64) are installed on both the development and production boxes.  I am using Crystal Reports via Visual Studio and do not have the full blown version of Crystal Reports installed on my machine.
    We have used Visual Studio to create an aspx webpage and would like to use Crystal Reports to display a graph. The report displays fine in debug mode, but displays a looping login screen when moved into production on the web server. The web server is using Windows Server 2008 (x64) with IIS 7. We have tried passing the logon parameters to the crystal report during the page init event with the auto-bind feature enabled on the crystal report viewer. A MySQL database provides the data for the report. All ODBC data sources have been configured the same on both machines. 
    Any help would be greatly appreciated!  Thanks!

    Hello,
    Use a tool called ProcessMonitor from Microsoft and watch what happens when you try to log on.
    Also can you verify you created your DSN using the 64 bit ODBC Admin and that you are using a System DSN so IIS can find it.
    And that the MySQL ODBC drive is also 64 bit?
    If you can read ODBC trace logs you could enable it also and see what error you are getting.
    Thank you
    Don

  • Crystal Report and Log4net error 1.2.10

    Hi at all,
    I have problem on Crystal Report and log4net.
    It happens when I deploy the Web applications on the server.
    I'm using Visual studio 2013 update 2, and I'm using log4net 2.0.3 (1.2.13) and I'm using CRforVS2013_13_0_10, the last.
    When I deploy my application on the target machine, where I have also installed the runtime 64 bit for Crystal Report, I found this error:
    ERROR 2014-07-31 16:26:42,721 1528053ms 8Euro                  - IP:192.168.0.38    - HOST:192.168.0.38 DumpWebRequest                           -  ERROR: Exception of type 'System.Web.HttpUnhandledException' was thrown.
    Exception StackTrace:   at System.Web.UI.Page.HandleError(Exception e)
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      at System.Web.UI.Page.ProcessRequest()
      at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
      at System.Web.UI.Page.ProcessRequest(HttpContext context)
      at ASP.pages_reportviewer_aspx.ProcessRequest(HttpContext context)
      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    ERROR: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    ERROR: Could not load file or assembly 'log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Exception StackTrace:   at CrystalDecisions.Shared.SharedUtils..cctor()
    ERROR: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Not able to extract code, error:Value cannot be null.
    Parameter name: source
    Exception StackTrace:
    On my local Visual studio it works, works fine.
    But when I'm deploying on Server, 2008 win 64 bit, I found this error.
    I've tried everything, I've installed also the runtime 64 bit on the target/server machine.
    The problem is that the log4net is not registered in the windows\assembly directory on the target server ? Do I have to use the Gac util to register the log4net dll assembly ?
    Please help me, It one day that I'm facing this error, but I'm not able to solve.
    Regards
    Vittorio

    Hi Vittorio
    Please enter the search string 'log4net crystal net' into the search box in the top right corner. When the results come up, click on the Support Notes link. That will filter for the KBAs that you want to have a look at.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • 156" width Crystal Report with Visual Studio 2005

    Post Author: kunchesm
    CA Forum: .NET
    Hi,
    I have a requirement to design a 156" width report (for exporting to Excel). And naturally i dont have printers to support this huge width reports (as these reports are not used for printing but just for exporting to Excel).
    One of the option which i have tried to design these reports is -
    - Installed MIcrosoft XPS Document writer and
    - Created a new server form (in Printers&Faxes>File>Server Properties) and assigned my custom width & Height for the paper size as per my requirement
    - Used this printer and form in my crystal report
    Now, my question... is there any better alternative or option to design huge width Crystal reports in Visual studio 2005? Any help in this regard is highly appreciated!
    Thanks & Regards
    ksm

    Hi Ganesh,
    So it all depends on how you created your WEB Project. If it was a CR Web App then no issues, if it was a WEB Form app then no issues except you need to copy the whole folder: C:\inetpub\wwwroot\VS2013WebsiteCR\aspnet_client
    to your app folder, maybe...
    If it was an empty WEB app then it may be an issue with permissions ( more on this soon once we do some testing, R&D may have provided a work around to get IIS Express to work, not sure about using IIS directly.
    Also search on Sessions and PostBacks, to get the second page you need to keep the session open/active. If not you may get nothing ot the same page everytime.
    Don

  • Crystal Reports for Visual Studio 2008 - dbf

    Hello,
    I use both Visual Studio 2005 and 2008 on same PC. I can not work with dbf files (format foxpro2x, dbase IV) in VS 2005 and VS 2008.
    Q1. Work Crystal Reports for Visual Studio 2008 with database files - dbf (version foxpro2x, dbaseIV)? I get error -
    Crystal Reports ActiveX Designer
    Failed to load database information
    or with dbf files work only Full version of Crystal Reports?
    Q2. How re-install Crystal Reports for Visual Studio 2008. In setup Add/Remove features not exist Crystal Reports check box. I only Repair/reinstall all Visual Studio but after reinstall same error
    Crystal Reports ActiveX Designer
    Failed to load database information
    3. When I can open sample project with Crystal Reports which use Crystal Reports (dbf file) this error is displayed:
    Crystal Report Viever
    Failed to load database information
    Details: The database DLL "crdb_p2bxbse.dlll" could not be loaded.
    4. I reinstal Crystal Report in Visual Studio 2005 - same error
    5. I apply hotfix Crystal Reports for .NET 2005 - SP 1 - same error
    Thank You
    Ludek

    Hi Ludek,
    1-For dbase file to work you need have permission on database files for IIS as well as user accessing the database.
    2-For re-install you need to insert the CD of visual studio setup then do custom install and then try to choose crystal reports for re-installing
    3-The old viewer might cause the problem. In this case can you try connecting to a blank dbase file.
    and for such issues we have a special forum [here|SAP Crystal Reports, version for Visual Studio;
    Thanks,
    Hitesh Mangtani

  • Crystal report for visual studio 2005 dblogin problem

    Dear Sir,
    I am using Visual Studio 2005 and crystal reports for visual studio 2005 and sql server 2000.
    When I am running the project from my pc where it was developed and a local server with server authentication, report is opening but from client machine there is a new screen come before opening the report asking for login issue. my reports has subreports
    also.
    I am using dsn file to connect with server from crystal reports where dsn file contains as follows:
    [ODBC]
    DRIVER=SQL Server
    UID=sa
    PWD=sa
    DATABASE=HRISDB
    WSID=S-AGD-PAY01\HRSERVER
    APP=Microsoft Data Access Components
    SERVER=S-AGD-PAY01\HRSERVER
    so it is dynamic bcoz i need change server name sometimes.  my question is when same report want show user from their pc then below screen appears:
    database login
    server Name: C:\program files\HRIS\HRISDB.dsn
    Databse: HRISDB
    user id:
    PassworD:
    Integrated Security: it is checked and a finish button.
    (i am sorry bcoz screenshort is not attaching so I write above what in the diagloag box for you)
    then i need to uncheck the use integrated security and click finish then the reports come. THis is very annoying for my clients.
    Please help me how can I overcome it.
    It is mentionable that I didn't use any dblogin method in my code to like setdbloginforReport(). I think there is no problem bcoz the report show correctly. Just want to know how to overcome this screen.

    You know, this forum is for controls, apis, components for the user interface Windows Forms.
    Unlucky enough, Microsoft does not support Crystal reports anymore for many years.
    Try the Crystal reports forum for .Net
    http://scn.sap.com/community/crystal-reports-for-visual-studio 
    Success
    Cor

  • Migrating from 32 bit to 64 bit verison of Crystal Report on Visual Studio C++ App

    Hi ,
    I am working on a C++ Migration project in which I need to migrate all our code from VS2005 to VS2010.
    And also I need to change the architecture of it, previously it was on x86 arch. now I need to port it to x64 Arch.
    The problem is that we are using Crystal reports and Crystal report viewer in out project which is of 32 bit.
    And to make it workable I havee to use Crystal report of x64 bit.
    TO compile the application correctly Ineed some of .dll and .h files of Crystal reports(It's how we build the C++ solution).
    I downloaded bunch of trial versions from the site including following
    SAP Crystal Reports 2013 30-Day Evaluation
    SAP Crystal Server 2013
    Installation package which installs the software into the Visual Studio IDE
    SAP Crystal Reports runtime redistribution packages (no IDE integration)
    but in any of installation I didn't find the lib or inc folder.
    Am I missing any thing here?
    Regards,
    Sagar K.

    Good questions:
    1. What is the equivalent of Report Designer COM (CRAXDRT) in Java that I can leverage to create reports?
    I am not sure what you are specifically referring to when you say "Report Designer COM". The RDC had what was called the "Embeddable Designer" that you could run in a VB app and the users could design reports on the fly. There is nothing equivalent to that in any CR SDK anymore. There are "Report Creation APIs" available in RAS, but no runtime designer as such.
    2. Can I use RAS in Java to trigger ActiveX controls to open/print RPT's using Crystal Reports Viewer?
    Well, ActiveX viewer is gone - only activeX component is for client side printing using the .NET amd Java SDKs.
    3. Does the Eclipse kit have everything I need here? Will this work with CR2013?
    Yes, it has everything you need and even though the CR for Eclipse is CR 2008 equivalent, reports created in CR 2013 will work fine.
    Just an FYI, there should be an update for CR for E sometime later this year, but an ETA is not even on the horizon yet.
    - Ludek
    Oh - I think this forum post will be of interest:
    CRJ SDK
    Message was edited by: Ludek Uher

  • Limited features for crystal reports in visual studio 2005

    Post Author: jag
    CA Forum: .NET
    Hello All,
    I have problems in finding solution for the following problems in line graph in crystal reports in visual studio 2005.
    1)Cant customize the colour of line in the line graph. (line by series only i wanted not by group)
    2)Cant customize the width of line.
    3)Cant customize the line style display.
    4)Cant customize the trend line or target line.
    Can you please help in resolving these problems....
    Do i get any extended crystal report software for visual studio 2005 to get all features in crystal reports 10 r 11 versions?
    Do you recommend 3dgraphics macros is better and economical to get extended features of crystal reports in visual studio 2005?
    Can anyone please help me..iam in need of these solutions urgently....
    Thanks in advance for your time......cheers

    Post Author: Argan
    CA Forum: .NET
    I am not really familiar with all of the options for charting and what is or isnt in the bundled version.
    You can download the CR XI R2 developer edition eval from the website and see if it gives you the graph options that you want.  If it does then I think you can buy it at an upgrade price since you already have the bundled edition.

  • Crystal Reports for Visual Studio 2010 runtime LICENCE

    I want to welcome everyone. It's my first post on this forum.
    I want to provide my Windows Form application to a client. This application was written in VS 2010 and it uses SAP Crystal Reports for generating simple report.
    I've read [Crystal Reports Licensing Explained|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/10cd9e15-120d-2c10-3fb5-be299000b6b7&utm_source=crvs2010&utm_medium=lp&utm_campaign=licensing_explained] pdf and I've learnt that in my case redistribution of software that embeds the Crystal Reports runtime engine is free.
    My question is:
    Is there something else I must include in my application package for instance a licence file? Or maybe I just have to include SAP CR runtime or ask user to download it from the SAP web site and that's it?
    Marcin

    Hello Marcin,
    Welcome.
    Please note that whenever you distribute your application (which uses Crystal reports) to others who may not have Crystal designer product, you need to provide the runtimes along with the application. The runtimes provide the necessary dlls in the machine for running Crystal inside the app.
    You can use an exe to install the CR runtimes and then deploy your app. OR you can include the msm files and create a deployment package.
    You will get the runtimes for CR4VS2010 [here|/people/coy.yonce/blog/2010/11/12/crystal-reports-for-visual-studio-2010-production-release-now-availableCystlR%2528SAPWeblogs%253ACrystal+Reports%2529].
    You might want to check [this|http://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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333833323336%7D.do] link for details.
    Forgot to mention:
    we have dependency on C++ runtimes. Please look at [this|Visual studio setup project with merge modules - C++ problem; thread for details or do a quick search, in this forum.
    Hope it helps.
    Thanks.
    Edited by: A G on Dec 2, 2010 6:03 PM

  • Crystal Reports and Windows Server 2003 R2

    Having huge issues with Crystal Reports for Visual Studio .NET 2010 Beta 2. I downloaded both the runtime and software as provided and restarted the pc. No matter what I do, I can not use it
    I get these errors in my IDE:
    Error 2 Custom tool error: "Code generator 'ReportCodeGenerator' failed. Exception stack = CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The system cannot find the path specified.
    at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    --- End of inner exception stack trace ---
    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
    at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
    at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
    at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)" F:\Code\CrystalReportsApplication1\CrystalReportsApplication1\CrystalReport1.rpt 1 1 CrystalReportsApplication1
    Error #2:
    Warning 1 The designer cannot process the code at line 20:
    Me.CrystalReport11 = New CrystalReport1
    The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again. F:\Code\CrystalReportsApplication1\CrystalReportsApplication1\Form1.Designer.vb 21 0
    Error #3:
    Error 3 Type 'CrystalReport1' is not defined. F:\Code\CrystalReportsApplication1\CrystalReportsApplication1\Form1.Designer.vb 21 34 CrystalReportsApplication1
    I tried a repair and even reinstalled VS.NET with no luck. This is runnig on a Windows 2003 Server R2. What do I do?

    Hi Dan!
    First at all, I think that you created this thread in the wrong SDN forum; I'd rather search whether under the [Business Intelligence (including SAP BusinessObjects and SAP Crystal Solutions)|http://forums.sdn.sap.com/index.jspa?categoryID=1#45] or the [Business Intelligence SDK Application Development (SAP BusinessObjects and SAP Crystal Solutions)|http://forums.sdn.sap.com/index.jspa?categoryID=1#46] categories and, if nothing found, create a new thread on the category that better fits your question.
    Let me also warn you that Windows Server 2008 R2 is a completely different operating system from Windows Server 2008, and it is not generally released for SAP NetWeaver; check [SAP note 1383873|https://service.sap.com/sap/support/notes/1383873] ("Windows Server 2008 R2 Support"). I don't know if it is supported for Crystal Reports specifically; please check it.
    However, and just to provide you some Windows tricks to trace bad or lacking modules (.exe, .dll, .ocx, .sys, etc.), you can generally use the free tool "Dependency Walker". Get it at [www.dependencywalker.com|http://www.dependencywalker.com]. Read [note 1212310|https://service.sap.com/sap/support/notes/1212310] for further reference.
    Cheers!

  • Image Quality In Crystal Reports for Visual Studio 2010

    I am using the new production release of Crystal Reports for Visual Studio 2010 and I am having an issue with image quality when adding an image to a crystal report.
    The image itself is a .TIF file,  and when opened in Windows, the quality of the image, which is mostly text, is very high. The image was created from a electronic PDF form and I intend to use this as a background for the crystal report, over which I will place data fields.
    As soon as the image is added to the report you can see the degradation in quality in the design window and in the preview window within visual studio. The quality remains low when viewing the report in the WPF report viewer and when printing from this control.
    I have ensured the "Retain Original Image Color Depth" option is checked but this has made no difference (the image is black and white anyway).
    The image in the report has been left at its native size, no resizing at all. The image is 355KB in size if that's relevant.
    Is there a reason the image looses quality when added to a report? Is it being compressed? More importantly, is there a way to make the image retain its native quality when adding it to a crystal report?
    Thanks in advance.

    The following image is the image I am trying to display. Although imageshack has converted it to a png, if you right click and save the image you can open it and zoom in with little image degradation.
    http://img132.imageshack.us/i/j301.png
    The following is a screen shot of how the tif file looks in the designer when zooming in:
    http://img138.imageshack.us/i/j30lowquantity.jpg
    The second image has lost its clarity and is unusable when printing.
    I hope this helps.

Maybe you are looking for