Using Crystal Reports with Visual Studio 2008

I have bin using visual studio 2008 for a while. I have just started using Crystal Report (which came with Visual studio) . I have an Access database connected with 3 tables, the first two table has two test fields and one index field, the third table has two text fields and two index field (of which one relates too one of the other tables).
I have generated a crystal report on one of the tables using the wizard. I have then placed the crystalreportviewer in a form (as a test). When I run the resulting form, all I get is the column heading label but no fields being displayed. There is data in the table. All I need to know is how do is make sure that the reports are accessing the data in the table, through the datasets???.

Hi,
[Here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375 [original link is broken]] is the specific samples for you or [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9043bbbc-ae66-2b10-ce96-b48f9e25a450]
And [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] is the link for the dev library.
Hope this will work!!
Amit

Similar Messages

  • Using Crystal Reports for Visual Studio 2008 in C++/CLI

    How can I use Crystal Reports for Visual Studio 2008 for creating WinForm Application written in C++/CLI under VS2008 ?

    Can you repost your last response in English?
    Also, check out this post
    Read Before Posting - Where to find Crystal Reports .NET SDK resources
    It has links to our Crystal Reports resources for .NET.
    Edited by: Jason Everly on Apr 22, 2009 9:07 AM

  • 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

  • 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

  • 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

  • Crystal Reports for Visual Studio 2008

    We are currently using Visual Studio 2005 w/Crystal Report 11.5.  We have been unable to migrate to Visual Studio 2008 up until now because the only version of Crystal Reports that was supported for Visual Studio 2008 was version 10 I believe, and that version did not contain some of the features that we are using in version 11.5. 
    I see that there is now an upgrade available to integrate Crystal Reports 2008 with Visual Studio 2008.  My question is will this version of Crystal Reports give us the same or more features that we are currently getting with Crystal Reports 11.5?

    Hi Clint,
    It is a newer version so you should only gain functionality and not lose any from XI R2.
    Make sure you use Crystal Reports 2008 Service Pack 0 as it is the version that is supported with VS.NET 2008.
    Jason

  • 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

  • Issue loading Crystal XI reports with Visual Studio 2008

    Hi:
    I'm converting a Visual Studio 2003 web application to Visual Studio 2008. The application has a lot of reports designed with Crystal XI and I cannot open then from VS 2008. I have tried two ways so far:
    1_ Using Crystal 2008 Basic that bundle with VS 2008: Since the Data source for the reports is Oracle and that version of Crystal (10.5) doesnu2019t bring Oracle support then I keep getting the error related to u2018crdb_oracle.dllu2019 while exporting the report to pdf format.
    2_ Using the Crystal XI assemblies: I keep getting an error stating that Crystal XI is not compatible with VS 2008. 
    What is the solution here to warranty a smooth transition? Some people are suggesting installing Crystal XI R2 but Iu2019m really not sure what to do. I also installed the run time version of Crystal Report 2008 SP1 (msi) but I didnu2019t find the way to add the reference to my VS 2008 project to try that way.
    Thanks in advanceu2026

    Not just the runtime - where would you get it without breaking licensing? You have to have a valid copy of CR 2008 and install it. No worries about unistalling CR 10.5 - .NET 2008 will automatically use the latest files.
    Re. Oracle support. That is correct. The crdb_oracle.dll does not ship with any versions of CR that bundle with .NET. You could go ODBC or OLE DB though.
    Not sure what you mean;
    Can the CRRuntime_12.x be bundle to VS 2008 just like the Basic version does?
    But as I mentioned above, you must obtain a copy of CR 2008. A 30 day eval is available from here;
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    To obtain a non eval copy, call sales; 866-681-3435
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Crystal Reports Std | Visual Studio 2008

    Hi guys,
    When creating charts in Crystal Reports Std (bundled with VS2008) is there any way to (programmatically or in the report designer) modify chart series names?
    Thanks,
    Stu.

    Hi guys,
    I've found out that you need to upgrade to a later version of Crystal Reports.
    My company had a spare license for CR2008 which included the update for Visual Studio 2008.
    I also found that I had to create the report in CR2008 to gain access to additional features i.e. modifying series names for charts.
    Then import it into my project.
    Thanks anyway,
    Stuart.

  • Integrating Crystal Report 2008 Developer with Visual Studio 2008 Standard

    I have Crystal Reports 2008 Developer version 12.0.0.683 on my computer. I also have Visual Studio 2008 Standard. I know the standard edition of VS 2008 does not have the bundled crystal reports, but since I bought the full version of CR 2008 separately, I figure I should be able to use CR within VS 2008. The problem I am facing is integrating Crystal Reports with Visual Studio, so I can create reports from within visual studio.
    Crystal Reports was installed first and then Visual Studio. As per suggestions on this and other forums, I repaired my installation of Crystal Reports, but that did not help. I then ran Visual Studio integration manager, but when I run it, it only detects Visual Studio as the currently installed IDE, but does not detect CR 2008. I downloaded service pack 2 for CR, but have not installed it yet. I do not want to install it if it is not going to help. I would also like to avoid uninstalling my copy of CR if at all possible.
    I am a newbie at development in visual studio. Any help will be highly appreciated.
    Thanks,
    Rajib

    Don't want to go against what Jason said as it may be correct - if we go strictly by the documentation provided (sorry Jason, Dan says...). However, here is something to try;
    Uninstall CR. Look for any left overs; c:\program files\business objects\... and delete all of that.
    Look in the registry for HKLM\software\business objects and remove the business objects entry.
    Download CR 2008 from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    That is a trial version and I believe it is already at SP 1. Use your keycode to install. Once this is done, you should have the ability to use CR in .NET. I'd recommend you do apply sp 2 now also.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • No images when deploying Crystal Reports for Visual Studio 2005

    Post Author: wcl
    CA Forum: Publishing
    Developed a ASP.Net web site that uses Crystal Reports for Visual Studio 2005, everything works fine locally.
    Following instructions from  http://support.businessobjects.com/downloads/merge_modules.asp#07 a deployment package has been created using CrystalDecisionsRedist2005_x86 merge module and the website has been installed.
    When it is deployed to a remote development server the report images are not displayed.  The report navigation works, it is the images that are not found when the report is displayed.
    Should the vs2005 key be entered some where on the remote server?

    Post Author: wcl
    CA Forum: Publishing
    Thnakyou very much for your quick reply.
    The directory has not been created by the merge module,  which folder should it be created in and what contetants should it have?
    <-edit>
    an example of an image it can not find is "/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/images/toolbar/upd.gif",  so does the folder '/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3' need setting up?
    </edit>

  • Crystal Reports Bundeled With Visual Studio 2008

    We are currently using the version of Crystal Reports that comes with Visual Studio 2008.  Many reports have 5-10 sub reports.
    We are running a ASP.NET application and this application passes to the reports a XSD File as the data source. It can take up to 5 minutes sometimes for a report to process.
    A couple of questions.
    1. Is there a concurrent user limit (I have read 3 or 5)
    2. Do the reports get queued up if more than 3 users are running a report?
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    3. Would upgrading to the 2008 version help us at all?
    Any other recommendations?
    Thank in advance!

    1. Is there a concurrent user limit (I have read 3 or 5)
    concurrent user limit is 3
    2. Do the reports get queued up if more than 3 users are running a report?
    + Yes. If you go to the Event viewer, you should be bale to see messages along the lines of; license not found, waiting x seconds+
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    + There are two distinct counts. Users, and print jobs. The print engine, can process 3 concurrent users. A print job, consists not only of the report, but also it's subreports. A page through is a print job. A search through the report is a print job. Print job limit is set in the registry and by default it is set to 70. The upshot of this is; if you have one report and one subreport in the detail section and the detail section has 100 records, you will run 1001 print jobs.
    4. Would upgrading to the 2008 version help us at all?
    Probably not. The same structure exists in CR 2008. Now, you say that you pass an XSD file to the report. Are you actually passing and XSD or a Dataset?_
    Finally, remember that if you have 10 subreport in a report, you are running 11 print jobs right there. If one or more of those subreports are in the detail section, the number of print jobs increases accordingly.
    For more information see the article [Crystal Reports Maximum Report Processing Jobs Limit  v2.doc|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on Dec 16, 2009 10:06 AM

  • Crystal Report X1 compatibility with Visual Studio 2008

    We are migrating an application running on .NET 1.0 to .NET 3.5. Previously Crystal report X1 was working fine with .NET 1.0 however now when it has been migrated to .NET 3.5, we are able to generate crystal report but print and export functionality is not working.
    Please confirm if Crystal report X1 is compatible with Visual studio 2008/.NET 3.5? We even updated Release 2 SP4 patch but that didn't solve the problem.
    If crystal report X1 is not compatible with Visual studio 2008, which version is compatible so that we can buy the license for the same?

    Hello Anurag,
    CR XI R1 is not supported for VS 2008.
    but for
    u2022 Visual Studio .NET 2002
    u2022 Visual Studio .NET 2003
    CR XI R2
    u2022 Visual Studio .NET 2002
    u2022 Visual Studio .NET 2003
    u2022 Visual Studio .NET 2005
    CR XI R3
    u2022 Visual Studio 2003
    u2022 Visual Studio 2005
    CR XI R3 Service Pack 1
    Microsoft .NET Framework
    u2022 .NET 1.1
    u2022 .NET 2.0
    u2022 .NET 3.0
    u2022 .NET 3.5
    Development Platforms
    u2022  Visual Studio 2003
    u2022  Visual Studio 2005
    u2022  Visual Studio 2008
    Hope this helps
    Falk

  • Crystal Report in Visual Studio 2010

    Hello,
    Our company is using Crystal Report XIR2. We are going to migrate our applications using Crystal Report to Windows Server 2008 (64-bit), we have to upgrade the Crystal Report too as current version does not support 64-bit version. Which version of Crystal Report will be bundled in Visual Studio 2010? CR 2008 or a newer version?
    Many thanks,
    Peter

    "Unknown". Certainly, at this time the info is not available publicly. It may even be the CR is not part of future builds of .NET (?). On the other hand, going by how these bundles have gone in the past, I'd suspect if there is a CR bundle or an add on of some sort, it will be what ever will be the current version minus 1. Will it be as fully featured as the currently shipping CR 2008? Again, go by past bundles. (E.g.; if there is something like CR 2010 out there, the bundle would probably be some variation of CR 2008). Will it be 64 bit? Again, consider the history; bundles that come with .NET 2005 and .NET 2008.  
    Disclaimer:
    These are my personal speculations and conclusions and are not meant to be interpreted as the "official" word from SAP.
    Ludek

  • 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

Maybe you are looking for