Crystal Reports 10 with Visual Studio 2010

We have Crystal Reports 10, which I have installed. The viewer provided with the install runs fine. We have an application that has an embedded viewer.
Then I'm just trying to get the simple C# sample code to run in VS2010, which is just a form with the viewer component reading an existing .rpt file. But I get a "Load report failed" error with no other details. Seems like it really should be simple. Any idea what I might be doing wrong?
I'm running Win7 64, but compiling in x86 mode.

Well, you have two options;
1) Go with the version of CR that bundles with .NET2005 (CR 10.2)
2) Go with CRVS2010 and VS2010
CR10.0 is not supported in either .NET2005 or .NET2010. See [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/WhichCrystalReportsassemblyversionsaresupportedinwhichversionsofVisualStudio+.NET] wiki for more info.
There are no work-arounds, no nothing that I can help with or recommend.
- Ludek

Similar Messages

  • 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

  • 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.

  • Side by side installation Crystal Reports for Visual Studio 2010 - CRXIR2 ?

    we are integrating Crystal Reports for Visual Studio 2010 into our C++ application.
    We used to work with CRXIR2.
    A customer of ours has upgraded to the VS2010 runtime version for 64-bit,
    and seems to be having random crashes.
    We haven't been able to pinpoint the problem...
    They are running several of our applications simultaniously on terminal servers.
    What we noticed is that they did not uninstall CRXIR2 from there system.
    Is this side-by-side installation supported?
    So XIR2 next to Crystal Reports for Visual Studio 2010  ?
    And even: can you have a Crystal Reports for Visual Studio 2010  64bit next to a 32bit? Probably yes?
    Next to that: is there any limit of concurrent users (applications) that use the .NET component?
    I would think not...
    Bart

    Hi Bart,
    Side by side installation shouldn't be a problem, unless you had Beta version of CRVS2010 installed on the same machine.
    For better results try upgrading to use SP1 of CRVS2010. For CRVS2010 resources, you can go through this
    Crystal Reports for Visual Studio 2010 - Deployment
    I haven't seen any problem with 64bit next to a 32bit til date.
    You can go through this for CR support on x64
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e
    To answer your last question, go through following:
    Crystal Reports Maximum Report Processing Jobs Limit
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023
    Thanks,
    Saurabh

  • Error in upgrade Crystal Reports for Visual Studio 2010 to SP1

    During the installation of SP1 of Crystal Reports for Visual Studio 2010 (RTM was already installed) I got an error message saying:
    Error 2753. The file "agent.exe.6ED28686_7B19_420C_B255_5B6C1BD2C705" is not marked for installation.
    After a rerun of the setup program (choosing reinstall) the message did not re-appear.
    It happens on Windows 7 x64 with Visual Studio 2010 SP1
    Is this a bug in the installation or an "undocumented feature"?
    Regards,
    Adri

    Hi Adri,
    I had that error once and one other poster also had it. Like you I just re-installed and no error on the second round.
    I believe it was some Windows Process had the file locked for some reason. It's not a bug or "undocumented feature" it's a Windows OS thingy....
    Before uninstalling anything it may be a recommendation to reboot first and not load anything that may be locking dependencies.
    How many times have you seen this?
    Thank you
    Don

  • SP 2 for Crystal Reports for Visual Studio 2010 released!

    Service Pack 2 for CRVS2010 is now available. See the [Crystal Reports for Visual Studio 2010 Reference|http://www.sdn.sap.com/irj/boc/support?rid=/webcontent/uuid/d01fdad8-44e5-2d10-61ad-9d2d4158f3a8] page for links to the SP, Merge Modules and MSI.
    Direct links;
    [SP2|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe]
    [MSM|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0_2.zip] (32 bit only)
    [32 bit MSI|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip]
    [64 bit MSI|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_2.zip]
    [ClickOnce|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_clickonce_13_0_2.zip]
    [SP2 resolved issues|http://wiki.sdn.sap.com/wiki/x/tgK3Dw]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

    Hello,
    You can find all of the info for CR for VS 2010 here: http://www.sdn.sap.com/irj/boc/crystalreports-dotnet
    Including the deployment packages etc., distributing the runtime manually is not supported nor has anyone that I know of ever done it successfully.
    Make sure you use the Full Framework when building your project and set your project for X86 or x64 only and not the default AnyCPU.
    You can use CR with 2.0 framework, actually it still has a dependency on 2.0 framework.
    Microsoft doesn't support it as they did in previous versions of VS .NET because it's not installed with VS now. It's fully support by SAP now.
    Thank you
    Don

  • License - crystal report for visual studio 2010

    Hi Engineers
    i have a licensed version of visual studio 2010. but vs 2010 not included crystal report. i had download crystal report from SAP website,
    My question is
    if i deployed my .net windows application to my customer ,  take any license for crystal report for visual studio 2010 version?????????.
    crystal report for visual studio 2010 is a free version for developement and deployement???????????? tell me please
    If its not a free version tell me the price for crystal report for visual studio 2010 version.
    tks Engineers
    A.Lemudhas

    I'm still having problems with this registration issue.
    I'm using InstallShield 2011 for the installation setup.
    I've included the CRRuntime_13_0.msm file.  (That is the only MSM file I included, are the others needed also?)
    I've included the Microsoft Visual C++ 2005 SP1 Redistributable Package (x64 and the x86 versions)
    I have tried to do a test install on both a 64bit and a 32bit Windows 7 computer and it keeps giving me the crtslv.dll failed to register error on both computers.  I thought it might just be due to the 32 bit MSM causing the problem on the 64bit computer, but I can't even get it to install on a 32bit computer.  (On the 32bit computer, I even removed the x64 bit version of the MS C++ 2005 Redistributable just to make sure it wasn't causing a problem).
    Can anyone give me any more suggestions?
    I need our application to be installed on both 32bit and 64bit computers.  Is only having the 32bit MSM going to cause me problems?  I'm not real familiar with trying to include the runtime exe's instead of the MSM and knowing which one would need to be installed on a particular type computer.

  • Need help in creating table in crystal report for visual studio 2010

    Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010?
    I have a datatable and I need to show that in crystal report in table structure.
    I have tried using lines and boxes to generate the table but it is not working perfectly.
    How can I export the report in excel format in read/write mode saving all the formatting in the report

    Hi,
    Check sample codes from following:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    You can download the [Developer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] & [API Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    Thanks,
    Saurabh

  • Disabling copy feature in Crystal Reports for Visual Studio 2010 SP2

    Hi ,
    When I tried Crystal Reports for Visual Studio 2010 SP2 , I saw a new feature which allows user to copy content of the report after selecting it. I am using .net 4.0 winform application. I want to suppress this feature. I want the selection of objects in report to work as earlier version.  I could hide the copy icon in toolbar . But that doesn't change the way selections happens in the report . Please tell me how to suppress the copy feature completely when we use SP2 ?

    Hi Jijo Paul,
    We found a hidden method to disable the copy as it used to be. It is hidden meaning it's not supported so if you run into any problems using it or if it gets removed there is nothing we can do for you but give this a try:
    // this hides the button and disables the CTRL C command
    crystalReportViewer1.ShowCopyButton = false;
    crystalReportViewer1.SelectionMode = CrystalDecisions.Windows.Forms.SelectionMode.None;
    Thanks again
    Don

  • Issue with New Release Deploying Crystal Reports for Visual Studio 2010

    Previously I created a deployment project with Visual Studio 2010 using the Beta 2 release of the distributable. This worked fine and installed on a 32-bit XP machine.
    I've since updated the project to use the new Release version of the distributable CRRuntime_32bit_13_0.msi. Now when I run the installed program it gives me the following message -
    "An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. 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."
    I've had a look at verious posts and added code to the app.config file so it looks like -
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>
    and also tried targetting various .NET frameworks, but without success.
      Am I missing something?

    Hello,
    More info, are you installing on the same PC as the Beta was installed on or a clean PC?
    Your app must be set to the full framework, not the client version.
    Are you installing by right clicking on your setup.exe and selecting run as administrator?
    Setting that option in the app.config is only required if you are using that driver you found the info on.
    Run ProcessMonitor and set it to filter your installer and see what it reports.
    Thank you
    Don

  • Stand Alone Crystal Reports for Visual Studio 2010

    I wish to use the stand alone product to edit Crystal Report .rpt files created with Visual Studio 2010
    Is CR 2011 stand alone.product the right tool?
    Using CR 2008, I receive a warning message if I open a .rpt created al VS 2010.
    Likewise, if I import the edited .rpt file to VS, another message pop ups saying that it will be updated to a newer version.
    Thank you in advance
    Edited by: Roberto Mirelman on Oct 21, 2011 2:59 PM

    You are correct.
    CR 2011 reports can be run in CR for VS 2010.
    Technically you can still use CR 2008 to edit your reports and shouldnt see any problems other than getting the prompt all the time.  I am not sure if using CR 2011 will cause prompting as well so you may want to try it our using the trial version first.
    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

  • Crystal Report 13 Visual Studio 2010 SQL Server 2008 R2 ODBC Problem

    Hi Everybody,
    I am new in Crystal Report.
    I developed a web application in Visual Studio 2010, and my Database is SQL Server 2008 R2.
    I created reports using Crystal Report 13 in Visual Studio and my Operating System is Windows 7 32-Bit.
    I used ODBC Connection System DNS for my application.
    It is running fine even after Hosting on my local PC.
    But it creates problem when hosted on my Team Leader PC and Test Server.
    Their Configurations are same but only difference is "SQL Server 2008" Not R2
    The Error I am getting is "Failed to open the connection".
    When I Host the same on my another team member PC, I am getting the error like
    "Failed to open the connection. Details: [Database Vendor Code: 4060 ] Database Connector Error: ' [Database Vendor Code: 4060 ]' Failed to open the connection. Failed to open the connection. TestVr {CE268132-D2BD-43EC-BE45-0BCD847FBCDA}.rpt Details: [Database Vendor Code: 4060 ]"
    I tried various solution to fix this bug.
    But i am unable to do this and not getting any idea to fix this issue.
    If anyone can guide I will be thankful to him.
    All suggestions are appreciable.
    Thank you

    Hi,
    Please use the top right search box. for ex below search which will return many useful kb's, articlea and forum threads where simillar issues are discussed.
    [http://www.sdn.sap.com/irj/scn/advancedsearch?query=failedtoopentheconnection|http://www.sdn.sap.com/irj/scn/advancedsearch?query=failedtoopentheconnection]
    Most probably the issue is missing database client driver / provider.
    Install the driver used to connect the rpt to the db on the server and then create a 32 bit DSN with the same name as the dev machine..
    Hope this helps,
    Bhushan.

  • 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 reports for visual studio 2010

    Since Visual studio 2010 came out, Crystal Reports is no longer included. I know that Crystal Reports is a free download for Visual Studio 2010, but it is not clear to me which download to use.  There are Downloads as follows:
    Complete
    Click once
    merge modules
    Redist Installation (32 bit)
    Redist Installation (64 bit)
    I have a 64 bit computer for development but would deploy visual basic programs with crystal reports on networks with both 64 bit and 32 bit workstations.  I am unclear on which options to download and which upgrades to install.
    Can you suggest a source of information which would cover such information?
    Thanks, Bill

    Hi Bill,
    To integrate CR for VS 2010 into Visual Studio download and run the Complete file.
    Then depending on the app platform, x86 or x64 you are going to use depends on which redist package you deploy.
    Set your project for either x86 or x64, do not set it for AnyCPU. MSI Exec will install x64 if the OS detected is 64 bits. If your project is 32 bit then x64 won't work of course. Better to build 2 deployment projects if you are going to support both.
    Although be aware that if you do use x64 all of the dependencies must also be 64 bit versions including the DB Client as well as the Printers.
    Also required is the Framework must be set to the Full version in your project, not the Client.
    And there are a few variations on the above info if you are creating a WEB app.
    Don

  • Crystal Reports for Visual Studio 2010 - JavaScript error on IE

    Hi,
    A few months ago we migrated our projects to Visual Studio 2010 and started using CR for VS2010 beta. We've installed our ASP.Net application several times using the beta version and now that you released the final version of CR for VS2010, we updated the Crystal Reports runtime of the production server (after removing the beta version).
    We installed the 32Bit version and our application is configured to use ASP.Net 2.0/.Net Framework 3.5 and the Application Pool in IIS 7.5 is in Classic Mode.
    The error happens only in IE 8 and 9 beta (not tested on prior versions of IE).
    This is the error message:
      SCRIPT438: Object doesn't support this property or method  allInOne.js, line 10 character 216668

    Couple of things that bother me here:
    1) Installing a Beta product on a production server(?)
    2) Uninstall of Beta
    Re. (1), water under a bridge I suppose...
    Re. (2). My testing of the Beta uninstall indicates that it is not clean with a number of folders, reg entries, etc., left behind. I would thus suggest the following;
    1) Uninstall the CRVS2010 RTM runtime
    2) In file explorer, look for SAP BusinessObjects folder under c:\program files(x86) and delete it (and it's subfolders).
    3) In the registry, look under HKLM\Software and remove SAP BusinessObjects.
    4) Do the same under HKCU
    5) Install the CRVS2010 runtime.
    MSI:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0.zip
    MSM:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0.zip
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Maybe you are looking for

  • Linkage of Down Payment Request with Down Payment

    Dear All I want to know is there any way we can find our the Down Payment Number from the Down Payment Transaction. Suppose we have created a Down Payment Request (Tran No. 10001) and made a Down Payment against it (20002). When we open the Down Paym

  • PI does not keep sequence of XSD for external definition

    Hi, currently I face following problem. I have an XSD which decribes a MSCONS market message that contains following sequence:      <xs:complexType name="MSCONS">           <xs:sequence>                <xs:element name="UNH" type="UNH"/>             

  • Register for Efax on Photosmart 7510 - error message: registration unsuccessful

    I am trying to register on my Photosmart printer for efax.  Error message: "Registration was unsuccessful.  Check that you are connected to the internet, then try again."  I have verified that Web Services are enabled and ePrint services are enabled.

  • Only audio exporting on movie

    i am trying to export a video file (extension .3gp) into a windows compatible file (eg wmv or avi, etc.). when i do this it only exports the audio and the video is a white screen. thanks for the help...

  • Redo log question..

    my databse is in archivelog mode. i have 2 redolog files. one of my redolog file got corrupted .so wat ll happen.. & how to recover the redologfile